Go to the documentation of this file.
89 std::unordered_map<std::string, OTMLNodePtr> m_styles;
UIWidgetPtr getHoveredWidget()
void onWidgetAppear(const UIWidgetPtr &widget)
void onWidgetDisappear(const UIWidgetPtr &widget)
OTMLNodePtr getStyle(const std::string &styleName)
void resize(const Size &size)
void updateHoveredWidget(bool now=false)
UIWidgetPtr getPressedWidget()
std::string getStyleClass(const std::string &styleName)
void setKeyboardReceiver(const UIWidgetPtr &widget)
UIWidgetPtr getDraggingWidget()
void setDebugBoxesDrawing(bool enabled)
UIWidgetPtr createWidgetFromOTML(const OTMLNodePtr &widgetNode, const UIWidgetPtr &parent)
void importStyleFromOTML(const OTMLNodePtr &styleNode)
void resetMouseReceiver()
UIWidgetPtr getKeyboardReceiver()
void resetKeyboardReceiver()
void render(Fw::DrawPane drawPane)
UIWidgetPtr loadUI(std::string file, const UIWidgetPtr &parent)
UIWidgetPtr displayUI(const std::string &file)
void updatePressedWidget(const UIWidgetPtr &newPressedWidget, const Point &clickedPos=Point(), bool fireClicks=true)
void onWidgetDestroy(const UIWidgetPtr &widget)
void inputEvent(const InputEvent &event)
bool updateDraggingWidget(const UIWidgetPtr &draggingWidget, const Point &clickedPos=Point())
bool isDrawingDebugBoxes()
bool importStyle(std::string file)
void setMouseReceiver(const UIWidgetPtr &widget)
UIWidgetPtr getMouseReceiver()
std::deque< UIWidgetPtr > UIWidgetList
UIWidgetPtr createWidget(const std::string &styleName, const UIWidgetPtr &parent)
UIWidgetPtr getRootWidget()