On Monday, 11 April 2022 at 13:14:16 UTC, Adam D Ruppe wrote:
On Monday, 11 April 2022 at 12:40:29 UTC, sai wrote:
One more request, is it possible for you to do to ImageBox
what you did to Button to show the transparent images (png)?
Because Imagebox is showing black color for transparent
One more request, is it possible for you to do to ImageBox what
you did to Button to show the transparent images (png)? Because
Imagebox is showing black color for transparent pixels.
I tried to see the git history to see if I can make that change
to Imagebox and submit a pull request, but I
Thanks Adam for all the help :)
Found this: https://bugs.llvm.org/show_bug.cgi?id=38797
Seems like a linker bug? So we have to wait for the fix to show
up in dmd package.
Interestingly I get the same error if I change the pragma test to
"BLAH"
lld-link: error: BLAH is not allowed in .drectve
I suspect something is going wrong when passing the linker
options from pragma to the linker itself.
However, if I uncomment the pragma and explicitly place the
Actually as you mentioned, I did find the changes in minigui.d
file. I will try tweaking the pragma there see if anything works.
On Monday, 28 March 2022 at 23:03:01 UTC, Adam Ruppe wrote:
In fact, using a pragma now, I think I got it so you don't even
need the manifest now (the pragma includes a default one now).
Only works when doing dmd -m32mscoff or dmd -m64 builds (which
are also what dub uses fyi), will NOT work
On Monday, 28 March 2022 at 18:03:32 UTC, Adam Ruppe wrote:
On Monday, 28 March 2022 at 17:00:42 UTC, sai wrote:
1. I assume arsd-minigui library does not support transparent
images by itself, does it? I am trying to show a png image
with transparent areas on a button, but those transparent
On Monday, 28 March 2022 at 17:00:42 UTC, sai wrote:
1. I assume arsd-minigui library does not support transparent
images by itself, does it? I am trying to show a png image with
transparent areas on a button, but those transparent areas
shows as black color.
2. I want to show both image
1. I assume arsd-minigui library does not support transparent
images by itself, does it? I am trying to show a png image with
transparent areas on a button, but those transparent areas shows
as black color.
2. I want to show both image and text on a button, but looks like
it shows image or
On Saturday, 5 June 2021 at 09:58:23 UTC, Ola Fosheim Grøstad
wrote:
You mean the wait-for-everything-to-stop-scan-everything
approach will remain?
What is the area that D is trying to cover though?
Somebody should write a memo on that.
My use case of writing GUI apps for desktop -
I am writing a small GUI application using GtkD3 Builder and
Glade. On a HD monitor the default font size is too small. The
adwaita theme is not great but I can live with it.
Is there any way to globally increase the font size in the GtkD?
I tried the settings.ini file, but that did not help
On Wednesday, 11 January 2017 at 09:17:45 UTC, aberba wrote:
On Wednesday, 11 January 2017 at 07:21:22 UTC, thedeemon wrote:
On Monday, 9 January 2017 at 21:41:37 UTC, aberba wrote:
[...]
No drag, DLangUI is quite fine and usable (and already being
used in industry).
Or are you talking
I have seen luad and Walters own JavaScript VM that can be used
in D for embedded scripting purpose in an application.
I was wondering which is more popular among D applications? Any
suggestions?
Thanks, sai
a.isLessThan(b)
I understand the concern of possible mess due to unrestricted use
of operator overloading (like C++). Java has clearly driven the
point home by banning the operator overloading altogether.
Genuine question: In the post Java languages, how many languages
allowed
I.e. you can overload '+' to do bad things. Yes, you can, and
as I replied upthread that can be done because there's no way
to prevent that while having operator overloading at all.
But that is not justification for allowing such disasters for
the comparison operators. I.e. one weakness is
The greatest offender I've found is how in phobos, arrays do
not behave as ranges without importing the module defining
their range operations.
Could you please tell me what module is it? is it std.array?
On Sunday, 18 September 2016 at 23:21:26 UTC, Gerald wrote:
I would like to suggest that the existing DWT forum be renamed
or replaced with a more generic GUIs forum. As far as I can
tell, the DWT forum doesn't get much traffic these days and I
don't believe any of the current GUI options for
If stability is more important, I recommend to only update to
x.y.2 or higher releases, just don't update to x.y.0 releases.
yes, reliability is more important, could you, please, point
out the link where i can read about versions?
Here is the changelog page:
On Thursday, 15 September 2016 at 13:02:29 UTC, eugene wrote:
On Thursday, 15 September 2016 at 06:26:40 UTC, Jacob Carlborg
wrote:
On 2016-09-14 13:42, rikki cattermole wrote:
GDC is the slowest to update currently so that can be ignored
for now.
LDC has fairly fast updates in terms of the
On Wednesday, 7 September 2016 at 16:04:05 UTC, Nick Treleaven
wrote:
On Wednesday, 7 September 2016 at 15:15:03 UTC, John Colvin
wrote:
python3 uses / for floating point division and // for integer.
I really like the distinction, although I would prefer if /
was disallowed on integer operands
I suspected the same, most of the CPUs support fast floating
point operations anyway (with FPUs), shouldn't take a lot more
time than doing integer arithmetic. Unless we are targeting 8bit
avr or something similar.
And precision argument doesn't seem strong either, since, which
is more
I have few suggestions, especially for people like me with
migraine, it could be a bit easy eyes and overall less stressful.
1. The "Jump to" section at the top lists all the items available
in that module nicely, but the layout could be improved if it
were listed as a bunch of columns
Thanks for the replies.
I tend to use a lot of float math (robotics and automation) so I
almost always want float output in case of division. And once in
a while I bump into this issue.
I am wondering what are the best ways to work around it.
float c = a / b; // a and b could be
Consider this:
import std.stdio;
void main()
{
byte a = 6, b = 7;
auto c = a + b;
auto d = a / b;
writefln("%s, %s", typeof(c).stringof, c);
writefln("%s, %s", typeof(d).stringof, d);
}
Output :
int, 13
int, 0
I really wish d gets promoted to a float.
Thanks all for your replies.
I tried to use GDC first, I couldn't find windows binary
targeting windows (for initial testing) which I thought was
weird. https://gdcproject.org/downloads
So I tried to build it in Cygwin env, using these instructions:
I see that there are ports of go compiler on ev3dev (ARM, debian
based) for controlling the EV3 lego mindstorm robot.
(http://www.ev3dev.org/docs/libraries/)
Is there a port of a D compiler for ARM? How about libraries? I
need a basic file IO and console IO for controlling the robot.
Thanks
27 matches
Mail list logo