all repos — openbox @ 4947902d269213edee40f3f31f97721fa0dd3877

openbox fork - make it a bit more like ryudo

src/backgroundwidget.hh (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef   __backgroundwidget_hh
#define   __backgroundwidget_hh

#include "otk/widget.hh"
#include "widgetbase.hh"

namespace ob {

class BackgroundWidget : public otk::Widget, public WidgetBase
{
private:
  void setTextures();
  
public:
  BackgroundWidget(otk::Widget *parent, WidgetBase::WidgetType type);
  virtual ~BackgroundWidget();

  virtual void setStyle(otk::Style *style);

  virtual void adjust();

  virtual void focus();
  virtual void unfocus();
};

}

#endif // __backgroundwidget_hh