X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuslabel.hh;h=042082ebae58578c4c1b0fdef9d0f918b58d5c71;hb=70eb03ad50e1a71fd64c8cb1ebabbff311850553;hp=ea21710a4c50d0ce74409a6a2d566064356f877e;hpb=bd06e8961d43dfbfac0472409e55513f1fd86bf8;p=chaz%2Fopenbox diff --git a/otk/focuslabel.hh b/otk/focuslabel.hh index ea21710a..042082eb 100644 --- a/otk/focuslabel.hh +++ b/otk/focuslabel.hh @@ -2,6 +2,7 @@ #define __label_hh #include "focuswidget.hh" +#include "font.hh" namespace otk { @@ -16,13 +17,14 @@ public: void setText(const std::string &text) { _text = text; _dirty = true; } void update(void); - int exposeHandler(const XExposeEvent &e); - int configureHandler(const XConfigureEvent &e); + virtual void setStyle(Style *style); + private: - + //! Object used by Xft to render to the drawable + XftDraw *_xftdraw; + //! Text displayed in the label std::string _text; - bool _dirty; }; }