From 70eb03ad50e1a71fd64c8cb1ebabbff311850553 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 18 Dec 2002 02:28:44 +0000 Subject: add an OBBackgroundWidget and use it for setting colors so far. --- src/backgroundwidget.hh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/backgroundwidget.hh (limited to 'src/backgroundwidget.hh') diff --git a/src/backgroundwidget.hh b/src/backgroundwidget.hh new file mode 100644 index 00000000..0cbfb3fa --- /dev/null +++ b/src/backgroundwidget.hh @@ -0,0 +1,25 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- +#ifndef __obbackgroundwidget_hh +#define __obbackgroundwidget_hh + +#include "otk/focuswidget.hh" +#include "widget.hh" + +namespace ob { + +class OBBackgroundWidget : public otk::OtkFocusWidget, public OBWidget +{ +private: + +public: + OBBackgroundWidget(otk::OtkWidget *parent, OBWidget::WidgetType type); + virtual ~OBBackgroundWidget(); + + virtual void setStyle(otk::Style *style); + + virtual void adjust(); +}; + +} + +#endif // __obbackgroundwidget_hh -- cgit v1.2.3