X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fui%2FLabel.hpp;h=267cc639c6bc1b39470593f57db496a0d86aae68;hp=1bc7e86bc4f0de8e733818c5eb3bd427b556bf1c;hb=475f28f06c9e14912bab8119264e247ef466513d;hpb=e99964b46daba40b1fad1224a42f5ea9f18d1642 diff --git a/src/ui/Label.hpp b/src/ui/Label.hpp index 1bc7e86..267cc63 100644 --- a/src/ui/Label.hpp +++ b/src/ui/Label.hpp @@ -22,6 +22,11 @@ public: public: Label *Text(const std::string &); + Label *Decimal(double n, int prec = 2); + Label *Length(double m); + Label *Mass(double kg); + Label *Percentage(double n); + Label *Time(double s); Label *Font(const graphics::Font &); Label *Foreground(const glm::vec4 &); Label *Background(const glm::vec4 &);