2002-12-18 02:28:44 +00:00
|
|
|
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
|
2003-01-11 19:42:43 +00:00
|
|
|
#ifndef __backgroundwidget_hh
|
|
|
|
#define __backgroundwidget_hh
|
2002-12-18 02:28:44 +00:00
|
|
|
|
2002-12-25 22:02:34 +00:00
|
|
|
#include "otk/widget.hh"
|
2003-01-10 06:16:42 +00:00
|
|
|
#include "widgetbase.hh"
|
2002-12-18 02:28:44 +00:00
|
|
|
|
|
|
|
namespace ob {
|
|
|
|
|
2003-01-11 19:42:43 +00:00
|
|
|
class BackgroundWidget : public otk::Widget, public WidgetBase
|
2002-12-18 02:28:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2002-12-25 22:02:34 +00:00
|
|
|
void setTextures();
|
2002-12-18 02:28:44 +00:00
|
|
|
|
|
|
|
public:
|
2003-01-11 19:42:43 +00:00
|
|
|
BackgroundWidget(otk::Widget *parent, WidgetBase::WidgetType type);
|
|
|
|
virtual ~BackgroundWidget();
|
2002-12-18 02:28:44 +00:00
|
|
|
|
2003-01-23 00:14:44 +00:00
|
|
|
virtual void setStyle(otk::RenderStyle *style);
|
2002-12-18 02:28:44 +00:00
|
|
|
|
|
|
|
virtual void adjust();
|
2002-12-25 22:02:34 +00:00
|
|
|
|
|
|
|
virtual void focus();
|
|
|
|
virtual void unfocus();
|
2002-12-18 02:28:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2003-01-11 19:42:43 +00:00
|
|
|
#endif // __backgroundwidget_hh
|