]> git.localhorst.tv Git - blobs.git/blobdiff - src/ui/Label.hpp
overhaul need system
[blobs.git] / src / ui / Label.hpp
index 1bc7e86bc4f0de8e733818c5eb3bd427b556bf1c..267cc639c6bc1b39470593f57db496a0d86aae68 100644 (file)
@@ -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 &);