diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-08 07:37:22 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-08 07:37:22 +0000 |
| commit | 17b0266979137ad957a701c7093a14841a8c2091 (patch) | |
| tree | f924d5efcc92a251fcc399ca5523b8792080e21a /src/labelwidget.hh | |
| parent | 1c97e9fb7bede1607b9680d29a791a72b1768019 (diff) | |
No longer using otk widgets for the frame decorations.
The titlebar no long has any buttons, in preparation for a new button system.
Using otk::Size for sizes, and unsigned ints (*PAIN*) we'll see..
Diffstat (limited to 'src/labelwidget.hh')
| -rw-r--r-- | src/labelwidget.hh | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/labelwidget.hh b/src/labelwidget.hh deleted file mode 100644 index 81d350c6..00000000 --- a/src/labelwidget.hh +++ /dev/null @@ -1,42 +0,0 @@ -// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __oblabelwidget_hh -#define __oblabelwidget_hh - -#include "widgetbase.hh" -#include "otk/widget.hh" -#include "otk/font.hh" -#include "otk/renderstyle.hh" -#include "otk/ustring.hh" - -namespace ob { - -class LabelWidget : public otk::Widget, public WidgetBase -{ -private: - void setTextures(); - const otk::Font *_font; - otk::RenderColor *_text_color; - int _sidemargin; - otk::RenderStyle::TextJustify _justify; - otk::ustring _text; - -public: - LabelWidget(otk::Widget *parent, WidgetBase::WidgetType type); - virtual ~LabelWidget(); - - virtual void setStyle(otk::RenderStyle *style); - - virtual void adjust(); - - virtual void focus(); - virtual void unfocus(); - - virtual void renderForeground(); - - inline const otk::ustring &text() const { return _text; } - void setText(const otk::ustring &text); -}; - -} - -#endif // __oblabelwidget_hh |
