X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fappwidget.hh;h=5595e88e3a71a25c1c9319944758d0503e59afce;hb=bfea000a7407e51b5659590415e410a47f6f046b;hp=d33f2caa331ab1bc2408711becca99293e994646;hpb=12a95bfdb31595ec53d72adef4e0fd6bf1ccf218;p=chaz%2Fopenbox diff --git a/otk/appwidget.hh b/otk/appwidget.hh index d33f2caa..5595e88e 100644 --- a/otk/appwidget.hh +++ b/otk/appwidget.hh @@ -1,3 +1,4 @@ +// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*- #ifndef __appwidget_hh #define __appwidget_hh @@ -5,25 +6,22 @@ namespace otk { -class OtkApplication; +class Application; -class OtkAppWidget : public OtkWidget { +class AppWidget : public Widget { public: - OtkAppWidget(OtkApplication *app, Direction direction = Horizontal, - Cursor cursor = 0, int bevel_width = 1); - virtual ~OtkAppWidget(); + AppWidget(Application *app, Direction direction = Horizontal, int bevel = 0); + virtual ~AppWidget(); - virtual void show(void); - virtual void hide(void); + virtual void show(); + virtual void hide(); virtual void clientMessageHandler(const XClientMessageEvent &e); private: - OtkApplication *_application; - Atom _wm_protocols; - Atom _wm_delete; + Application *_application; }; }