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>
22 void text(const std::string &);
29 Label(const std::string & = std::string());
31 virtual const char *get_class() const { return "label"; }
33 void set_text(const std::string &);
36 virtual void autosize_special(const Part &, Geometry &) const;
37 virtual void rebuild_special(const Part &);
39 virtual void on_style_change();