13 BOOL _imageIsResourceID;
ImageType
Definition Common.h:141
ImageAlignment
Definition Common.h:129
Component()
Constructs a new Component instance.
Definition Graphics.h:171
void setImage(int resourceID, const ImageType &imageType)
void windowCreated()
Called when the native window has been created; used for initialization.
void setAlignment(const ImageAlignment &alignment)
Sets the alignment of the image within the component.
void setImage(const wstring &imageFile)
Sets the image file to display.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Provides options required to create the native window for the image component.
void onPaint(Graphics *g)
Paints the image inside the component, respecting the alignment.