The SubWindow class.
More...
#include <SubWindow.hpp>
|
|
| SubWindow (ESWTypes swType, const Recti &rect, Context text, SWHolderType inHolderType=SWHolderType::None) |
|
virtual void | EventLoopIterationStart () |
|
virtual void | HandleUserEvent (Event event, bool rawInputMode) |
|
virtual void | HandleSWEvents (std::vector< SWEvent > &swEvents)=0 |
|
virtual void | Update ()=0 |
|
virtual void | Draw () const =0 |
|
virtual void | HandleResizeEvent (const Recti &newRect) |
|
virtual void | Reload () |
|
virtual bool | HasSelection () const |
|
virtual void | Select () |
|
virtual void | Deselect () |
|
virtual bool | IsVisible () const |
|
virtual void | SetVisible (bool visibleValue) |
|
virtual void | SetHighDrawPriority (bool priority) |
| | if true, drawn last
|
|
virtual bool | GetDrawPriority () const |
| | only boolean, if true, drawn last
|
|
SWHolderType | GetHolderType () const |
|
const std::string & | GetName () const |
|
ESWTypes | GetSWType () const |
|
const Recti & | GetBounds () const |
|
|
static const std::string & | ConvertToSWName (ESWTypes swType) |
| | Convert ESWTypes to it's std::string representation.
|
|
|
Context | GetContext () |
|
void | DrawBoundsRectangle (const std::string &rectName="") const |
The SubWindow class.
SWHolder holds SubWindows and responsible for size and pos, unable to draw
SWManager manages all the SubWindows
- Has bindings/hotkeys
- Selectable, if selected, local bindings will be active
- Can be visible/invisible, simply not drawn if invisible
- Usually created right from the start of the programm
- Has boolean DrawPriority, if true, wll be drawn last
- Has Context
The documentation for this class was generated from the following files:
- /home/archer/sweet_home/MyGithub/supported/YCLIMP/include/SubWindow.hpp
- /home/archer/sweet_home/MyGithub/supported/YCLIMP/src/SubWindow.cpp