blob: 0ee9cea0794fe191616db9ae324dbe6b6cfb0a7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef __GLWIDGETS_H__
#define __GLWIDGETS_H__
#include "Exceptions.h"
namespace mogltk {
class widget : public Base {
public:
virtual ~widget();
bool PointerEvent(int x, int y);
protected:
widget(widget * father, int x, int y, int sx, int sy) throw (GeneralException);
private:
int x, y, sx, sy;
widget * father, * next, * prev, * child, * root;
static widget * cur_root, * focused;
};
};
#endif
|