openbox/otk/appwidget.hh
Dana Jansens 99cd843fc6 Brand spankin new widgets for otk (Label and Button).
Add a new Size class.
Rect, Point, and Size are immutable classes.
Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
2003-02-08 07:33:48 +00:00

31 lines
532 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, int bevel = 0);
virtual ~AppWidget();
virtual void render();
virtual void show();
virtual void hide();
virtual void clientMessageHandler(const XClientMessageEvent &e);
private:
Application *_application;
};
}
#endif // __appwidget_hh