#ifndef __GLWIDGETS_H__ #define __GLWIDGETS_H__ #include "Exceptions.h" namespace mogltk { class widget : public Base { public: widget(); virtual ~widget(); 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_father; }; }; #endif