Inheritance Graph
graph BT
GUI_Manager
click GUI_Manager "classGUI_1_1GUI__Manager"
Description
Clipboard access
Main
Animation handling
Cleanup
Component management
Debug
Event handling & Listener
|
|
|
|
ActionListenerHandle |
addActionListener( HandleActionFun fun) |
|
|
void |
removeActionListener( ActionListenerHandle handle) |
|
|
ComponentDestructionListenerHandle |
addComponentDestructionListener(const Component * component, HandleComponentDestructionFun fun) |
|
|
void |
removeComponentDestructionListener(const Component * component, ComponentDestructionListenerHandle handle) |
|
|
DataChangeListenerHandle |
addDataChangeListener( Component * component, HandleDataChangeFun fun) |
|
|
void |
removeDataChangeListener( Component * component, DataChangeListenerHandle handle) |
|
|
DataChangeListenerHandle |
addGlobalDataChangeListener( HandleDataChangeFun fun) |
|
|
void |
removeGlobalDataChangeListener( DataChangeListenerHandle handle) |
|
|
FrameListenerHandle |
addFrameListener( FrameListenerFun fun) |
|
|
void |
removeFrameListener( FrameListenerHandle handle) |
|
|
KeyListenerHandle |
addKeyListener( Component * component, HandleKeyFun fun) |
|
|
void |
removeKeyListener( Component * component, KeyListenerHandle handle) |
|
|
MouseButtonListenerHandle |
addMouseButtonListener( Component * component, HandleMouseButtonFun fun) |
|
|
void |
removeMouseButtonListener( Component * component, MouseButtonListenerHandle handle) |
|
|
MouseButtonListenerHandle |
addGlobalMouseButtonListener( HandleMouseButtonFun fun) |
|
|
void |
removeGlobalMouseButtonListener( MouseButtonListenerHandle handle) |
|
|
MouseClickListenerHandle |
addMouseClickListener( Component * component, HandleMouseClickFun fun) |
|
|
void |
removeMouseClickListener( Component * component, MouseClickListenerHandle handle) |
|
|
MouseMotionListenerHandle |
addGlobalMouseMotionListener( HandleMouseMotionFun fun) |
|
|
void |
removeGlobalMouseMotionListener( MouseMotionListenerHandle handle) |
|
|
void |
componentActionPerformed( Component * c, const Util::StringIdentifier & actionName) |
|
|
void |
componentDataChanged( Component * c) |
|
|
void |
componentDestruction(const Component * component) |
|
|
bool |
isCtrlPressed() const |
|
|
bool |
isShiftPressed() const |
|
|
void |
enableKeyRepetition(const Util::UI::KeyboardEvent & keyEvent) |
|
|
void |
disableKeyRepetition() |
Factories
|
|
|
|
Button * |
createButton(const std::string & text, flag_t flags) |
|
|
Container * |
createContainer(const Geometry::Rect & r, flag_t flags) |
|
|
Connector * |
createConnector( flag_t flags) |
|
|
EditorPanel * |
createEditorPanel( flag_t flags) |
|
|
Panel * |
createPanel( flag_t flags) |
|
|
Checkbox * |
createCheckbox(const std::string & text, bool checked, flag_t flags) |
|
|
Icon * |
createIcon(const Geometry::Vec2 & pos, Util::WeakPointer < ImageData > imageData, const Geometry::Rect & imageRect, flag_t flags) |
|
|
Icon * |
createIcon(const Geometry::Rect & r, flag_t flags) |
|
|
Image * |
createImage(const Geometry::Rect & r, flag_t flags) |
|
|
Image * |
createImage(const Util::FileName & fileName, flag_t flags) |
|
|
Image * |
createImage(const Util::Bitmap & bitmap, flag_t flags) |
|
|
Label * |
createLabel(const Geometry::Rect & r, const std::string & text, flag_t flags) |
|
|
Label * |
createLabel(const std::string & text, flag_t flags) |
|
|
ListView * |
createListView( flag_t flags) |
|
|
Menu * |
createMenu( flag_t flags) |
|
|
NextColumn * |
createNextColumn(float additionalSpacing) |
|
|
NextRow * |
createNextRow(float additionalSpacing) |
|
|
Slider * |
createSlider(const Geometry::Rect & r, float left, float right, int steps, flag_t flags) |
|
|
Splitter * |
createVSplitter( flag_t flags) |
|
|
Splitter * |
createHSplitter( flag_t flags) |
|
|
TabbedPanel * |
createTabbedPanel( flag_t flags) |
|
|
Textarea * |
createTextarea(const std::string & text, flag_t flags) |
|
|
Textfield * |
createTextfield(const std::string & text, flag_t flags) |
|
|
TreeView * |
createTreeView(const Geometry::Rect & r, flag_t flags) |
|
|
Container * |
createTreeViewEntry( Component * c) |
|
|
Window * |
createWindow(const Geometry::Rect & r, const std::string & title, flag_t flags) |
Invalidated regions
Properties, shapes, style and mouse cursor
|
|
|
|
StyleManager & |
getStyleManager() const |
|
|
void |
displayLineShape(const propertyId_t id, const std::vector< Geometry::Vec2 > & points, uint16_t flags) |
|
|
void |
displayShape(const propertyId_t id, const Geometry::Rect & rect, uint16_t flags) |
|
|
void |
disableProperty(const Util::Reference < DisplayProperty > & p) const |
|
|
void |
enableProperty(const Util::Reference < DisplayProperty > & p) const |
|
|
Util::Color4ub |
getActiveColor(const propertyId_t id) const |
|
|
AbstractFont * |
getActiveFont(const propertyId_t id) const |
|
|
AbstractFont * |
getDefaultFont(const propertyId_t id) const |
|
|
float |
getGlobalValue(const propertyId_t id) const |
|
|
void |
registerMouseCursor(const propertyName_t & id, const Util::Reference < Util::Bitmap > & bitmap, const uint32_t clickX, const uint32_t clickY) |
|
|
void |
removeMouseCursor(const propertyName_t & id) |
|
|
void |
setDefaultColor(const propertyId_t id, const Util::Color4ub & c) |
|
|
void |
setDefaultFont(const propertyId_t id, AbstractFont * f) |
|
|
void |
setDefaultShape(const propertyId_t id, AbstractShape * f) |
|
|
void |
setGlobalValue(const propertyId_t id, float v) |
Scissor
Internal state
|
| ——: | —————– |
Documentation
function
GUI::GUI_Manager::copyStringToClipboard
Defined in GUI/GUI_Manager.h:85
function
GUI::GUI_Manager::getStringFromClipboard
Defined in GUI/GUI_Manager.h:86
typedef
GUI::GUI_Manager::flag_t
Defined in GUI/GUI_Manager.h:94
variable
GUI::GUI_Manager::userData
Defined in GUI/GUI_Manager.h:120
function
GUI::GUI_Manager::GUI_Manager
Create a new GUI manager and associate it with the given event context to receive user interface events.
Defined in GUI/GUI_Manager.h:100
function
GUI::GUI_Manager::~GUI_Manager
Defined in GUI/GUI_Manager.h:101
function
GUI::GUI_Manager::handleEvent
Defined in GUI/GUI_Manager.h:102
function
GUI::GUI_Manager::display
Defined in GUI/GUI_Manager.h:106
function
GUI::GUI_Manager::getScreenRect
Defined in GUI/GUI_Manager.h:108
function
GUI::GUI_Manager::setWindow
Associate a window (e.g. X11 or SDL) to the GUI manager.
Defined in GUI/GUI_Manager.h:111
function
GUI::GUI_Manager::getWindow
Access to the associated window.
Defined in GUI/GUI_Manager.h:116
function
GUI::GUI_Manager::addAnimationHandler
Defined in GUI/GUI_Manager.h:132
function
GUI::GUI_Manager::finishAnimations
Defined in GUI/GUI_Manager.h:133
function
GUI::GUI_Manager::stopAnimations
Defined in GUI/GUI_Manager.h:134
function
GUI::GUI_Manager::markForRemoval
Defined in GUI/GUI_Manager.h:146
function
GUI::GUI_Manager::cleanup
Defined in GUI/GUI_Manager.h:147
function
GUI::GUI_Manager::registerWindow
Defined in GUI/GUI_Manager.h:160
function
GUI::GUI_Manager::unregisterWindow
Defined in GUI/GUI_Manager.h:161
function
GUI::GUI_Manager::unselectAll
Defined in GUI/GUI_Manager.h:163
function
GUI::GUI_Manager::setActiveComponent
Defined in GUI/GUI_Manager.h:164
function
GUI::GUI_Manager::isActiveComponent
Defined in GUI/GUI_Manager.h:165
function
GUI::GUI_Manager::getComponentAtPos
Defined in GUI/GUI_Manager.h:166
function
GUI::GUI_Manager::selectNext
Defined in GUI/GUI_Manager.h:167
function
GUI::GUI_Manager::selectPrev
Defined in GUI/GUI_Manager.h:168
function
GUI::GUI_Manager::selectFirst
Defined in GUI/GUI_Manager.h:169
function
GUI::GUI_Manager::selectLast
Defined in GUI/GUI_Manager.h:170
function
GUI::GUI_Manager::getActiveComponent
Defined in GUI/GUI_Manager.h:172
function
GUI::GUI_Manager::isCurrentlyEnabled
Check if the component and all its parents are enabled and contained int the global container.
Defined in GUI/GUI_Manager.h:175
function
GUI::GUI_Manager::closeAllMenus
Defined in GUI/GUI_Manager.h:177
function
GUI::GUI_Manager::getDebugMode
Defined in GUI/GUI_Manager.h:187
function
GUI::GUI_Manager::setDebugMode
Defined in GUI/GUI_Manager.h:188
function
GUI::GUI_Manager::addActionListener
Defined in GUI/GUI_Manager.h:198
function
GUI::GUI_Manager::removeActionListener
Defined in GUI/GUI_Manager.h:201
function
GUI::GUI_Manager::addComponentDestructionListener
Defined in GUI/GUI_Manager.h:209
function
GUI::GUI_Manager::removeComponentDestructionListener
Defined in GUI/GUI_Manager.h:213
function
GUI::GUI_Manager::addDataChangeListener
Defined in GUI/GUI_Manager.h:228
function
GUI::GUI_Manager::removeDataChangeListener
Defined in GUI/GUI_Manager.h:231
function
GUI::GUI_Manager::addGlobalDataChangeListener
Defined in GUI/GUI_Manager.h:240
function
GUI::GUI_Manager::removeGlobalDataChangeListener
Defined in GUI/GUI_Manager.h:244
function
GUI::GUI_Manager::addFrameListener
Defined in GUI/GUI_Manager.h:252
function
GUI::GUI_Manager::removeFrameListener
Defined in GUI/GUI_Manager.h:255
function
GUI::GUI_Manager::addKeyListener
Defined in GUI/GUI_Manager.h:263
function
GUI::GUI_Manager::removeKeyListener
Defined in GUI/GUI_Manager.h:266
function
GUI::GUI_Manager::addMouseButtonListener
Defined in GUI/GUI_Manager.h:280
function
GUI::GUI_Manager::removeMouseButtonListener
Defined in GUI/GUI_Manager.h:283
function
GUI::GUI_Manager::addGlobalMouseButtonListener
Defined in GUI/GUI_Manager.h:292
function
GUI::GUI_Manager::removeGlobalMouseButtonListener
Defined in GUI/GUI_Manager.h:296
function
GUI::GUI_Manager::addMouseClickListener
Defined in GUI/GUI_Manager.h:305
function
GUI::GUI_Manager::removeMouseClickListener
Defined in GUI/GUI_Manager.h:308
function
GUI::GUI_Manager::addGlobalMouseMotionListener
Defined in GUI/GUI_Manager.h:321
function
GUI::GUI_Manager::removeGlobalMouseMotionListener
Defined in GUI/GUI_Manager.h:324
function
GUI::GUI_Manager::componentActionPerformed
Defined in GUI/GUI_Manager.h:330
function
GUI::GUI_Manager::componentDataChanged
Defined in GUI/GUI_Manager.h:331
function
GUI::GUI_Manager::componentDestruction
Defined in GUI/GUI_Manager.h:332
function
GUI::GUI_Manager::isCtrlPressed
Defined in GUI/GUI_Manager.h:334
function
GUI::GUI_Manager::isShiftPressed
Defined in GUI/GUI_Manager.h:335
function
GUI::GUI_Manager::enableKeyRepetition
Defined in GUI/GUI_Manager.h:337
function
GUI::GUI_Manager::disableKeyRepetition
Defined in GUI/GUI_Manager.h:338
function
GUI::GUI_Manager::createButton
Defined in GUI/GUI_Manager.h:352
function
GUI::GUI_Manager::createContainer
Defined in GUI/GUI_Manager.h:353
function
GUI::GUI_Manager::createConnector
Defined in GUI/GUI_Manager.h:354
function
GUI::GUI_Manager::createEditorPanel
Defined in GUI/GUI_Manager.h:355
function
GUI::GUI_Manager::createPanel
Defined in GUI/GUI_Manager.h:356
function
GUI::GUI_Manager::createCheckbox
Defined in GUI/GUI_Manager.h:357
function
GUI::GUI_Manager::createIcon
Defined in GUI/GUI_Manager.h:358
function
GUI::GUI_Manager::createIcon
Defined in GUI/GUI_Manager.h:359
function
GUI::GUI_Manager::createImage
Defined in GUI/GUI_Manager.h:360
function
GUI::GUI_Manager::createImage
Defined in GUI/GUI_Manager.h:361
function
GUI::GUI_Manager::createImage
Defined in GUI/GUI_Manager.h:362
function
GUI::GUI_Manager::createLabel
Defined in GUI/GUI_Manager.h:363
function
GUI::GUI_Manager::createLabel
Defined in GUI/GUI_Manager.h:364
function
GUI::GUI_Manager::createListView
Defined in GUI/GUI_Manager.h:365
function
GUI::GUI_Manager::createMenu
Defined in GUI/GUI_Manager.h:366
function
GUI::GUI_Manager::createNextColumn
Defined in GUI/GUI_Manager.h:367
function
GUI::GUI_Manager::createNextRow
Defined in GUI/GUI_Manager.h:368
function
GUI::GUI_Manager::createSlider
Defined in GUI/GUI_Manager.h:369
function
GUI::GUI_Manager::createVSplitter
Defined in GUI/GUI_Manager.h:370
function
GUI::GUI_Manager::createHSplitter
Defined in GUI/GUI_Manager.h:371
function
GUI::GUI_Manager::createTabbedPanel
Defined in GUI/GUI_Manager.h:372
function
GUI::GUI_Manager::createTextarea
Defined in GUI/GUI_Manager.h:373
function
GUI::GUI_Manager::createTextfield
Defined in GUI/GUI_Manager.h:374
function
GUI::GUI_Manager::createTreeView
Defined in GUI/GUI_Manager.h:375
function
GUI::GUI_Manager::createTreeViewEntry
Defined in GUI/GUI_Manager.h:376
function
GUI::GUI_Manager::createWindow
Defined in GUI/GUI_Manager.h:377
function
GUI::GUI_Manager::invalidateRegion
Defined in GUI/GUI_Manager.h:385
function
GUI::GUI_Manager::enableLazyRendering
Defined in GUI/GUI_Manager.h:386
function
GUI::GUI_Manager::disableLazyRendering
Defined in GUI/GUI_Manager.h:387
function
GUI::GUI_Manager::isLazyRenderingEnabled
Defined in GUI/GUI_Manager.h:388
function
GUI::GUI_Manager::getStyleManager
Defined in GUI/GUI_Manager.h:401
function
GUI::GUI_Manager::displayLineShape
Defined in GUI/GUI_Manager.h:403
function
GUI::GUI_Manager::displayShape
Defined in GUI/GUI_Manager.h:404
function
GUI::GUI_Manager::disableProperty
Defined in GUI/GUI_Manager.h:406
function
GUI::GUI_Manager::enableProperty
Defined in GUI/GUI_Manager.h:407
function
GUI::GUI_Manager::getActiveColor
Defined in GUI/GUI_Manager.h:408
function
GUI::GUI_Manager::getActiveFont
Defined in GUI/GUI_Manager.h:409
function
GUI::GUI_Manager::getDefaultFont
Defined in GUI/GUI_Manager.h:410
function
GUI::GUI_Manager::getGlobalValue
Defined in GUI/GUI_Manager.h:412
function
GUI::GUI_Manager::registerMouseCursor
Defined in GUI/GUI_Manager.h:414
function
GUI::GUI_Manager::removeMouseCursor
Defined in GUI/GUI_Manager.h:415
function
GUI::GUI_Manager::setDefaultColor
Defined in GUI/GUI_Manager.h:416
function
GUI::GUI_Manager::setDefaultFont
Defined in GUI/GUI_Manager.h:417
function
GUI::GUI_Manager::setDefaultShape
Defined in GUI/GUI_Manager.h:418
function
GUI::GUI_Manager::setGlobalValue
Defined in GUI/GUI_Manager.h:419
variable
GUI::GUI_Manager::scissors
Defined in GUI/GUI_Manager.h:427
function
GUI::GUI_Manager::pushScissor
Defined in GUI/GUI_Manager.h:428
function
GUI::GUI_Manager::popScissor
Defined in GUI/GUI_Manager.h:429