X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Flabel.hh;h=9c32e544936ea0ebc414633814572690eec585e4;hb=027e974efd2602bf1513ebac736b61f172ac6bf3;hp=ff1755d78fe82b143c85bf941a461bed7fb8ba0a;hpb=d8d9b42777ace234f3471918e1210062578f8188;p=chaz%2Fopenbox diff --git a/otk/label.hh b/otk/label.hh index ff1755d7..9c32e544 100644 --- a/otk/label.hh +++ b/otk/label.hh @@ -18,7 +18,12 @@ public: virtual void renderForeground(void); - virtual void setStyle(Style *style); + virtual void update(); + + void fitString(const std::string &str); + void fitSize(int w, int h); + + virtual void setStyle(RenderStyle *style); private: //! Text to be displayed in the label