#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