diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-01-11 19:17:13 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-01-11 19:17:13 +0000 |
| commit | 8f8acc24933830d4f5784616b9b0c5896bde0b93 (patch) | |
| tree | e34d995f6ef854e3ac2b365326ffabf3dad265da /otk/focuswidget.hh | |
| parent | 684405eec8553918b62e334bffe29eb4712ec95c (diff) | |
rm prefixes for all elements in the otk namepsace
Diffstat (limited to 'otk/focuswidget.hh')
| -rw-r--r-- | otk/focuswidget.hh | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/otk/focuswidget.hh b/otk/focuswidget.hh index bc69ad6b..a73bcfb7 100644 --- a/otk/focuswidget.hh +++ b/otk/focuswidget.hh @@ -1,3 +1,4 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- #ifndef __focuswidget_hh #define __focuswidget_hh @@ -6,27 +7,27 @@ namespace otk { -class OtkFocusWidget : public OtkWidget { +class FocusWidget : public Widget { public: - OtkFocusWidget(otk::OtkWidget *parent, Direction = Horizontal); - virtual ~OtkFocusWidget(); + FocusWidget(Widget *parent, Direction = Horizontal); + virtual ~FocusWidget(); virtual void focus(void); virtual void unfocus(void); - virtual void setTexture(otk::BTexture *texture); - virtual void setBorderColor(const otk::BColor *color); + virtual void setTexture(Texture *texture); + virtual void setBorderColor(const Color *color); - inline void setUnfocusTexture(otk::BTexture *texture) + inline void setUnfocusTexture(Texture *texture) { _unfocus_texture = texture; } - inline otk::BTexture *getUnfocusTexture(void) const + inline Texture *getUnfocusTexture(void) const { return _unfocus_texture; } - inline void setUnfocusBorderColor(const otk::BColor *color) + inline void setUnfocusBorderColor(const Color *color) { _unfocus_bcolor = color; } - inline const otk::BColor *getUnfocusBorderColor(void) const + inline const Color *getUnfocusBorderColor(void) const { return _unfocus_bcolor; } inline bool isFocused(void) const { return _focused; } @@ -34,11 +35,11 @@ public: private: - BTexture *_unfocus_texture; - BTexture *_focus_texture; + Texture *_unfocus_texture; + Texture *_focus_texture; - const BColor *_unfocus_bcolor; - const BColor *_focus_bcolor; + const Color *_unfocus_bcolor; + const Color *_focus_bcolor; }; } |
