SG_ImageGadget | ||||||||||||||||||||||||
Syntax: | ||||||||||||||||||||||||
Result=SG_ImageGadget(SG_GadgetID_L.l, X_Pos_L.l, Y_Pos_L.l, Width_L.l, Height_L.l, ImageID_L.l, [Flags_L.l]) | ||||||||||||||||||||||||
Parameters: | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Return Values: | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Description: | ||||||||||||||||||||||||
Creates an Image gadget in the current screen. The ImageID represents an image and can be obtained by using UseImage() or ImageID() from the Image library. The image dimensions autofit to the gadget size. The gadget have normal input, so user interactions (mouse clicks, etc.) are reported. - SG_SetGadgetState(): Change the current Image of the gadget. | ||||||||||||||||||||||||
Example: | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Remarks: | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
|