arsd-minigui - couple of questions

sai sai at dummy.com
Mon Mar 28 17:24:18 UTC 2022


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 text on a button, but looks 
> like it shows image or text, but not both at the same time. Or 
> am I missing some weird windows manifest stuff?
>
> I am using latest arsd library on windows 10.
>
> Thanks

BTW, the code is very simple:

```d
import arsd.minigui;

void main() {
	auto window = new Window();
	auto headBut = new Button(ImageLabel("Button name", 
MemoryImage.fromImage("file.png")), window);
	window.loop();
}
```


More information about the Digitalmars-d-learn mailing list