X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuslabel.hh;h=8db444d36d47cc2cd872425b96394c02c6b9c6b8;hb=88a82090cd9d51ac8061961af40b08b662d4db61;hp=9fc5f590052e207098784d1fd7e08f8d2bfc4540;hpb=9b6e5f9cf49df78be25720f9c4b33a733b856c9b;p=chaz%2Fopenbox diff --git a/otk/focuslabel.hh b/otk/focuslabel.hh index 9fc5f590..8db444d3 100644 --- a/otk/focuslabel.hh +++ b/otk/focuslabel.hh @@ -1,6 +1,6 @@ // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __label_hh -#define __label_hh +#ifndef __focuslabel_hh +#define __focuslabel_hh #include "focuswidget.hh" @@ -16,9 +16,9 @@ public: inline const ustring &getText(void) const { return _text; } void setText(const ustring &text) { _text = text; _dirty = true; } - void update(void); + virtual void renderForeground(); - virtual void setStyle(Style *style); + virtual void setStyle(RenderStyle *style); private: //! Text displayed in the label @@ -27,4 +27,4 @@ private: } -#endif +#endif // __focuslabel_hh