22 #include "ui/controls/control.h" 83 void SetName(std::string name,
bool tooltip =
true)
override;
85 void SetTrashEvent(
bool bTrash);
96 void SetMovable(
bool bMode);
99 void SetRedim(
bool bMode);
102 void SetClosable(
bool bMode);
105 void SetMaximized(
bool bMaxi);
107 void SetMinimized(
bool bMini);
109 void SetFixed(
bool bFix);
112 bool GetTooltip(
Math::Point pos, std::string &name)
override;
114 bool EventProcess(
const Event &event)
override;
116 void Draw()
override;
118 void SetFocus(
CControl* focusControl)
override;
122 void AdjustButtons();
126 template<
typename ControlClass>
130 std::vector<std::unique_ptr<CControl>> m_controls;
140 std::unique_ptr<CButton> m_buttonReduce;
141 std::unique_ptr<CButton> m_buttonFull;
142 std::unique_ptr<CButton> m_buttonClose;
Main graphics engine - CEngine class.
Definition: shortcut.h:29
Definition: robotmain.h:108
Definition: editvalue.h:42
2D point
Definition: point.h:50
Image loaded from file.
Definition: image.h:54
EngineMouseType
Type of mouse cursor displayed in-game.
Definition: engine.h:444
Definition: enumslider.h:30
EventType
Type of event message.
Definition: event.h:41
Event sent by system, interface or game.
Definition: event.h:735