The DialogSW class - operates with Dialog Bundles.
More...
#include <DialogSW.hpp>
|
|
| DialogSW (const Recti &bounds, Context context, SWHolderType inHolderType=SWHolderType::Central) |
| virtual void | EventLoopIterationStart () override |
| virtual void | HandleUserEvent (Event event, bool rawInputMode) override |
| virtual void | HandleSWEvents (std::vector< SWEvent > &swEvents) override |
| virtual void | Update () override |
| virtual void | Draw () const override |
| virtual void | HandleResizeEvent (const Recti &newRect) override |
|
| SubWindow (ESWTypes swType, const Recti &rect, Context text, SWHolderType inHolderType=SWHolderType::None) |
|
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 |
|
|
using | Ptr = std::shared_ptr<SubWindow> |
|
static const std::string & | ConvertToSWName (ESWTypes swType) |
| | Convert ESWTypes to it's std::string representation.
|
|
Context | GetContext () |
|
void | DrawBoundsRectangle (const std::string &rectName="") const |
|
HotKeyComponent | mHotKeyComponent |
The DialogSW class - operates with Dialog Bundles.
- Warning
- For now it's hardcoded to NewElementsDialogBundle, since it's the only DialogBundle for now
- 1) Operates with DialogBundle
- 2) DialogBundle in it's turn, operates with specific sequence of DialogElements
- Usually Invisible, but if the program needs some input from user, just makes it temporary visible, untill it's done
◆ Draw()
| void DialogSW::Draw |
( |
| ) |
const |
|
overridevirtual |
◆ EventLoopIterationStart()
| void DialogSW::EventLoopIterationStart |
( |
| ) |
|
|
overridevirtual |
◆ HandleResizeEvent()
| void DialogSW::HandleResizeEvent |
( |
const Recti & | newRect | ) |
|
|
overridevirtual |
◆ HandleSWEvents()
| void DialogSW::HandleSWEvents |
( |
std::vector< SWEvent > & | swEvents | ) |
|
|
overridevirtual |
◆ HandleUserEvent()
| void DialogSW::HandleUserEvent |
( |
Event | event, |
|
|
bool | rawInputMode ) |
|
overridevirtual |
◆ Update()
| void DialogSW::Update |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- /home/archer/sweet_home/MyGithub/supported/YCLIMP/include/DialogSW.hpp
- /home/archer/sweet_home/MyGithub/supported/YCLIMP/src/DialogSW.cpp