struct PixmapMask {
Pixmap mask;
unsigned int w, h;
+ PixmapMask() { mask = None; w = h = 0; }
};
class Style {
l_focus, l_unfocus,
h_focus, h_unfocus,
b_focus, b_unfocus,
- b_pressed, b_pressed_focus, b_pressed_unfocus,
+ b_pressed_focus, b_pressed_unfocus,
g_focus, g_unfocus;
PixmapMask close_button, max_button, icon_button, stick_button;
inline BTexture *getButtonUnfocus(void) { return &b_unfocus; }
inline BTexture *getButtonPressedFocus(void)
- { return &b_pressed; }
+ { return &b_pressed_focus; }
inline BTexture *getButtonPressedUnfocus(void)
{ return &b_pressed_unfocus; }
inline unsigned int getFrameWidth(void) const { return frame_width; }
inline unsigned int getBorderWidth(void) const { return border_width; }
- inline const BFont &getFont() const { return *font; }
+ inline const BFont *getFont() const { return font; }
inline void setShadowFonts(bool fonts) { shadow_fonts = fonts; }
inline bool hasShadowFonts(void) const { return shadow_fonts; }