19 LabelSetItem(std::string text_, sigc::slot<void> onClick_,
float screenx_,
float screeny_) :
27 LabelSetItem(std::string text_, sigc::slot<void> onClick_,
float screenx_,
float screeny_,
const Color &c) :
49 void Add(std::string text, sigc::slot<void> onClick,
float screenx,
float screeny);
51 void Add(std::string text, sigc::slot<void> onClick,
float screenx,
float screeny,
const Color &col);
57 bool CanPutItem(
float x,
float y);
59 std::vector<LabelSetItem> m_items;
61 bool m_labelsClickable;
Definition: GuiLabelSet.h:17
float screenx
Definition: GuiLabelSet.h:40
bool hasOwnColor
Definition: GuiLabelSet.h:38
LabelSetItem(std::string text_, sigc::slot< void > onClick_, float screenx_, float screeny_)
Definition: GuiLabelSet.h:19
float screeny
Definition: GuiLabelSet.h:40
sigc::slot< void > onClick
Definition: GuiLabelSet.h:39
LabelSetItem(std::string text_, sigc::slot< void > onClick_, float screenx_, float screeny_, const Color &c)
Definition: GuiLabelSet.h:27
std::string text
Definition: GuiLabelSet.h:36
RefCountedPtr< Graphics::VertexBuffer > m_vb
Definition: GuiLabelSet.h:41
Color color
Definition: GuiLabelSet.h:37
Definition: GuiLabelSet.h:15
virtual void GetSizeRequested(float size[2])
Definition: GuiLabelSet.cpp:69
void SetLabelColor(const Color &c)
Definition: GuiLabelSet.h:54
void Add(std::string text, sigc::slot< void > onClick, float screenx, float screeny)
Definition: GuiLabelSet.cpp:41
LabelSet()
Definition: GuiLabelSet.cpp:8
void Clear()
Definition: GuiLabelSet.cpp:55
bool OnMouseDown(MouseButtonEvent *e)
Definition: GuiLabelSet.cpp:18
void SetLabelsVisible(bool v)
Definition: GuiLabelSet.h:53
void SetLabelsClickable(bool v)
Definition: GuiLabelSet.h:52
virtual void Draw()
Definition: GuiLabelSet.cpp:60