8 Button _minimizeBtn, _maximizeRestoreBtn, _closeBtn;
13 Bounds _parentOriginalRect;
14 BOOL _parentOriginalRectSet;
15 BOOL _parentIsMaximized;
HWND WinHandle
Definition Common.h:16
Definition EventListeners.h:38
Definition EventListeners.h:46
Component()
Constructs a new Component instance.
Definition Graphics.h:171
Definition Graphics.h:125
void onPaint(Graphics *g)
Called to paint the component's client area.
void setIcon(const IconSource &iconSource)
int getPreferredHeight()
Returns the preferred height of the component.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Abstract method to get window creation options.
void onWindowResized()
Called when the component's window is resized.
void setText(const wstring &text)
void onAction(const ActionEvent &ev)
void onMouseMoved(WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse is moved within the component.
void windowCreated()
Abstract method called after the window has been created.
void onMouseReleased(WinHandle hWnd, int x, int y, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse button is released within the component.
void onMousePressed(WinHandle hWnd, int x, int y, int clickCount, BOOL shiftPressed, BOOL ctrlPressed)
Called when the mouse is pressed within the component.