From 410a8264586671256f4a2d1b3095fa6ecffc01bd Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 10 Nov 2002 10:14:20 +0000 Subject: more layout fixes for the decoration elements --- otk/style.hh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'otk') diff --git a/otk/style.hh b/otk/style.hh index 77993a8e..d80c6ab9 100644 --- a/otk/style.hh +++ b/otk/style.hh @@ -87,10 +87,13 @@ public: 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 const BColor &getBorderColor() const { return border_color; } + inline const BTexture &getFrameFocus() const { return f_focus; } + inline const BTexture &getFrameUnfocus() const { return f_unfocus; } + inline void setImageControl(BImageControl *c) { image_control = c; } inline void setScreenNumber(unsigned int scr) { screen_number = scr; } -- cgit v1.2.3