Re: arsd-minigui - couple of questions

2022-04-11 Thread sai via Digitalmars-d-learn
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 a

Re: arsd-minigui - couple of questions

2022-04-11 Thread sai via Digitalmars-d-learn
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 pixe

arsd-minigui - couple of questions

2022-03-28 Thread sai via Digitalmars-d-learn
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 t

Re: arsd-minigui - couple of questions

2022-03-28 Thread sai via Digitalmars-d-learn
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 and

Re: arsd-minigui - couple of questions

2022-03-28 Thread Sai via Digitalmars-d-learn
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 ar

Re: arsd-minigui - couple of questions

2022-03-29 Thread sai via Digitalmars-d-learn
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 w

Re: arsd-minigui - couple of questions

2022-03-29 Thread sai via Digitalmars-d-learn
Actually as you mentioned, I did find the changes in minigui.d file. I will try tweaking the pragma there see if anything works.

Re: arsd-minigui - couple of questions

2022-03-29 Thread sai via Digitalmars-d-learn
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 manife

Re: arsd-minigui - couple of questions

2022-03-29 Thread sai via Digitalmars-d-learn
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.

Re: arsd-minigui - couple of questions

2022-03-29 Thread sai via Digitalmars-d-learn
Thanks Adam for all the help :)

DMD on ARM/Linux (for controlling EV3 Lego Mindstorm)?

2016-08-02 Thread Sai via Digitalmars-d-learn
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

Re: DMD on ARM/Linux (for controlling EV3 Lego Mindstorm)?

2016-08-21 Thread Sai via Digitalmars-d-learn
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: http://wiki.dlang.org/GDC/Installation/Gene

Popular embedded language for scripting in D

2016-11-19 Thread Sai via Digitalmars-d-learn
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