27 BOOL _singleSelection;
28 vector<AccordionPanel> _panels;
29 long _selectedPanelId;
virtual ~Accordion()
Destructs the Accordion object and cleans up resources.
void addPanel(const wstring &title, Component *component)
Adds a new panel to the Accordion.
void onWindowResized()
Responds to the window being resized.
void onPaint(Graphics *g)
Handles the painting of the Accordion.
BOOL getCreateWindowOptions(wstring &title, UINT &widownStyles, wstring &wndClassName, BOOL &isCustomWndProc)
Prepares window creation options such as title, styles, and class name.
void windowCreated()
Called after the window has been created to perform any initialization.
void onAction(const ActionEvent &ev)
Handles action events triggered by the Accordion or its components.
Accordion()
Constructs an Accordion object.
BOOL _isVisible
Definition Accordion.h:15
Button _button
Definition Accordion.h:10
UINT _id
Definition Accordion.h:14
wstring _title
Definition Accordion.h:13
Component * _component
Definition Accordion.h:11
Definition EventListeners.h:38
Definition EventListeners.h:46
Base class for all UI components providing window creation, event handling, and listener management.
Definition Component.h:32
Component()
Constructs a new Component instance.
Definition Graphics.h:161