X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fstyle.hh;h=ccf4e49a1bb0e6451b74d19a1037ea2a33c79303;hb=7df3b620e21777dbefa24f381c1a95fafed1c16e;hp=2eb214c577fb7e119187c25e4ba2ea624a1ef255;hpb=fb0dd6cf9a839f9990ac877bf1b3d469d883b463;p=chaz%2Fopenbox diff --git a/otk/style.hh b/otk/style.hh index 2eb214c5..ccf4e49a 100644 --- a/otk/style.hh +++ b/otk/style.hh @@ -110,7 +110,7 @@ public: inline BTexture *getButtonUnfocus(void) { return &b_unfocus; } inline BTexture *getButtonPressedFocus(void) - { return &b_pressed_focus; } + { return &b_pressed; } inline BTexture *getButtonPressedUnfocus(void) { return &b_pressed_unfocus; } @@ -123,6 +123,11 @@ public: inline unsigned int getBorderWidth(void) const { return border_width; } inline const BFont &getFont() const { return *font; } + + inline void setShadowFonts(bool fonts) { shadow_fonts = fonts; } + inline bool hasShadowFonts(void) const { return shadow_fonts; } + + inline void setAAFonts(bool fonts) { aa_fonts = fonts; } inline bool hasAAFonts(void) const { return aa_fonts; } inline TextJustify textJustify(void) { return justify; }