summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-10 10:14:20 +0000
committerDana Jansens <danakj@orodu.net>2002-11-10 10:14:20 +0000
commit410a8264586671256f4a2d1b3095fa6ecffc01bd (patch)
treeec31868ec1ff4a1799884ae8a10b78ff893759dc /otk
parent3762f3c88f4d84697df37c0a3bdc733e7bee6e45 (diff)
more layout fixes for the decoration elements
Diffstat (limited to 'otk')
-rw-r--r--otk/style.hh5
1 files changed, 4 insertions, 1 deletions
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; }