Component()
Constructs a new Component instance.
Definition Graphics.h:161
void onWindowResized() override
Called when the component's window is resized.
void onPaint(Graphics *g) override
Called to paint the component's client area.
void setText(const wstring &text)
Sets the text content of the label.
void setAlignment(long alignment)
Sets the text alignment within the label.
void windowCreated()
Called after the native window has been created to perform initialization.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Provides options needed to create the native window for the label.
virtual ~Label()
Destructor for Label component.
Label()
Constructs an empty Label component.