Hello everyone,
this time i'm trying to understand how a picture can be loaded and displayed on amigaos4.
I'm talking about 32 bit png image with alpha channel.
the following code (WINDOW_BackFillName, "Sys:Prefs/Presets/Patterns/Chalk/ChalkBlue.brush) can load directly an image at window creation time, but i'm not sure if this image can be 32 bit png with alpha channel...
if ((winobj = IIntuition->NewObject (WindowClass,NULL,
WA_PubScreen, scr,
WA_Title, title,
WA_Flags, WFLG_CLOSEGADGET | WFLG_DRAGBAR | WFLG_DEPTHGADGET | WFLG_SIZEBBOTTOM | WFLG_SIZEGADGET | WFLG_ACTIVATE,
WA_IDCMP, IDCMP_VANILLAKEY | IDCMP_INTUITICKS,
WA_Width, scr->Width * 6 / 10,
WA_Height, scr->Height * 4 / 10,
WINDOW_NewMenu,newmenu,
WINDOW_BackFillName, "Sys:Prefs/Presets/Patterns/Chalk/ChalkBlue.brush",
Sat, 2013-12-07 20:54
#1
Load an display a 32 bit (with alpha) png