23 using std::unordered_map;
40 TooltipScreenController::TooltipScreenController()
57 screenNode = GUIParser::parse(
"resources/engine/gui",
"popup_tooltip.xml");
61 Console::println(
"TooltipScreenController::initialize(): An error occurred: " +
string(exception.what()));
71 auto scaledX = Engine::getInstance()->getGUI()->getScaledX(
screenNode, mouseX);
GUI node requested constraints requested constraints type enum.
GUINode_RequestedConstraints & getRequestsConstraints()
GUI screen node that represents a screen that can be rendered via GUI system.
void setEnabled(bool enabled)
Set enabled.
void layout() override
Layout.
GUINode * getNodeById(const string &nodeId)
Get GUI node by id.
int getContentWidth() override
int getContentHeight() override
void setText(const MutableString &text)
Set text.
Mutable utf8 aware string class.
std::exception Exception
Exception base class.
GUI node requested constraints entity.
GUINode_RequestedConstraints_RequestedConstraintsType * topType
GUINode_RequestedConstraints_RequestedConstraintsType * leftType