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/buttonwidget.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/buttonwidget.hh')
| -rw-r--r-- | src/buttonwidget.hh | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/buttonwidget.hh b/src/buttonwidget.hh deleted file mode 100644 index 0d546f73..00000000 --- a/src/buttonwidget.hh +++ /dev/null @@ -1,43 +0,0 @@ -// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- -#ifndef __buttonwidget_hh -#define __buttonwidget_hh - -#include "widgetbase.hh" -#include "otk/widget.hh" - -namespace ob { - -class Client; - -class ButtonWidget : public otk::Widget, public WidgetBase -{ -private: - void setTextures(); - Client *_client; - bool _pressed; - unsigned int _button; - bool _state; - -public: - ButtonWidget(otk::Widget *parent, WidgetBase::WidgetType type, - Client *client); - virtual ~ButtonWidget(); - - virtual void setStyle(otk::RenderStyle *style); - - virtual void adjust(); - - virtual void update(); - - virtual void renderForeground(); - - virtual void focus(); - virtual void unfocus(); - - virtual void buttonPressHandler(const XButtonEvent &e); - virtual void buttonReleaseHandler(const XButtonEvent &e); -}; - -} - -#endif // __buttonwidget_hh |
