00001 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- 00002 #ifndef __backgroundwidget_hh 00003 #define __backgroundwidget_hh 00004 00005 #include "otk/widget.hh" 00006 #include "widgetbase.hh" 00007 00008 namespace ob { 00009 00010 class BackgroundWidget : public otk::Widget, public WidgetBase 00011 { 00012 private: 00013 void setTextures(); 00014 00015 public: 00016 BackgroundWidget(otk::Widget *parent, WidgetBase::WidgetType type); 00017 virtual ~BackgroundWidget(); 00018 00019 virtual void setStyle(otk::RenderStyle *style); 00020 00021 virtual void adjust(); 00022 00023 virtual void focus(); 00024 virtual void unfocus(); 00025 }; 00026 00027 } 00028 00029 #endif // __backgroundwidget_hh