openbox/otk/appwidget.hh
2003-02-05 05:48:01 +00:00

32 lines
599 B
C++

// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
#ifndef __appwidget_hh
#define __appwidget_hh
#include "widget.hh"
namespace otk {
class Application;
class AppWidget : public Widget {
public:
AppWidget(Application *app, Direction direction = Horizontal,
Cursor cursor = 0, int bevel_width = 1);
virtual ~AppWidget();
virtual void setStyle(RenderStyle *style);
virtual void show(void);
virtual void hide(void);
virtual void clientMessageHandler(const XClientMessageEvent &e);
private:
Application *_application;
};
}
#endif // __appwidget_hh