1 #ifndef MSP_GLTK_LABEL_H_
2 #define MSP_GLTK_LABEL_H_
4 #include "mspgltk_api.h"
12 Labels display static text. There is one special part: "text".
14 class MSPGLTK_API Label: public Widget
17 class Loader: public DataFile::DerivedObjectLoader<Label, Widget::Loader>
23 void text(const std::string &);
30 Label(const std::string & = std::string());
32 const char *get_class() const override { return "label"; }
34 void set_text(const std::string &);
37 void autosize_special(const Part &, Geometry &) const override;
38 void rebuild_special(const Part &) override;
40 void on_style_change() override;