24 Button _backButton, _nextButton;
26 long _buttonsRowHeight;
28 vector<Component *> _panels;
HWND WinHandle
Definition Common.h:16
Definition EventListeners.h:38
Definition EventListeners.h:46
A UI component that manages multiple "cards", displaying only one at a time.
Definition CardPanel.h:27
Component()
Constructs a new Component instance.
Definition Graphics.h:171
virtual void onCancel()=0
virtual void onFinish()=0
virtual ~Wizard()
Destructor for the Wizard component.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Retrieves window creation options.
void addPanel(Component *component)
Adds a new tab with the specified title and component.
void clear()
Clears all panels.
void windowCreated()
Called when the window is created.
void onAction(const ActionEvent &ev)
Wizard()
Constructs a new Wizard component.
void onWindowResized()
Handles window resize events.
void setListener(WizardActionListener *l)
void onPaint(Graphics *g)
Paints the Wizard including panels and active content.