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
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 pixels.
oh yeah this one is different because the imagebox
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 :)
On Tuesday, 29 March 2022 at 14:24:13 UTC, sai wrote:
Seems like a linker bug? So we have to wait for the fix to show
up in dmd package.
I just tried copying the lld-link from llvm version 14 upstream
into the dmd directory and it does fix the problem, so will try
to get the dmd release
On Tuesday, 29 March 2022 at 13:39:25 UTC, sai wrote:
I searched for "manifestdependency" and "drectve" (w/o quotes)
in arsd lib and couldn't find them so not sure how to debug
this further.
Ah sorry, you caught me in the middle of something. Yes, I
remember seeing this before, lld-link is
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
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 with a default dmd
no-switch build.
oooh it actually is even easier than I thought, just a changed
flag plus the manifest.
Just pushed to minigui master. only ended up being 4 lines for
this little thing.
Try rebuilding with that AND be sure to use the manifest file
too, same as dwt. Then you should be able to find some joy.
On Monday, 28 March 2022 at 21:10:47 UTC, Sai wrote:
FWIW, DWT which uses native controls on windows can show
transparent pngs and also both image & text at the same time.
However I had to add the following app.exe.manifest
Yeah, this tells me they used owner-drawn buttons, which is only
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.
Well, I tried forwarding the
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.
I added that to simpledisplay
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
17 matches
Mail list logo