X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Ffocuslabel.hh;h=8db444d36d47cc2cd872425b96394c02c6b9c6b8;hb=88a82090cd9d51ac8061961af40b08b662d4db61;hp=5d5af64e7640c2e3a10edcdc3da94d2585e6afd5;hpb=d8d9b42777ace234f3471918e1210062578f8188;p=chaz%2Fopenbox diff --git a/otk/focuslabel.hh b/otk/focuslabel.hh index 5d5af64e..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 renderForeground(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