1 #include <Interface/Menu/MenuItemLabel.hpp>
2 #include <Config/Globals.hpp>
4 MenuItemLabel::MenuItemLabel(std::string label,
int id, std::string rightLabel):
8 this->
type = MenuItem::LABEL;
13 unsigned int rightLabelSize = this->rightLabel.size();
17 window->
print(this->rightLabel,
18 x + width - rightLabelSize,
21 Globals::Theme::hilite_text:
22 Globals::Theme::text));
28 void MenuItemLabel::set(std::string str)
30 this->rightLabel = str;