summaryrefslogtreecommitdiff
path: root/include/glwidgets.h
blob: 18949249a8a09d0fbb10cf3f0037d5dff834ce8c (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:
          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