I wanted to create a MUI gui with a picture inside a button. The following code does not work as expected:
Code: Select all
Child,GroupObject,
MUIA_Group_Horiz,TRUE,
MUIA_Background,MUII_ButtonBack, MUIA_Frame,MUIV_Frame_Button, MUIA_InputMode,MUIV_InputMode_RelVerify,
Child, ImageObject, MUIA_Image_Spec,"5:tbimages:quit", End,
Child, FreeLabel("this is a button!"),
Child, RectangleObject, MUIA_InnerLeft,0, MUIA_InnerRight,0, MUIA_InnerTop,0, MUIA_InnerBottom,0, End,
End
On the other hand, the following code basically works:
Code: Select all
Child, SimpleButton("\33I[5:tbimages:quit] this is a button!\n"),
In the end I solved my problem with Dtpic/BitmapObject instead of an ImageObject, but that doesn't stop ImageObject from being buggy:
http://www.amigans.net/modules/xforum/v ... t_id=64544