]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/root.h
class Window from mspgbase is now inside namespace Graphics
[libs/gltk.git] / source / root.h
index 863f1f781eaaf486ac0bb84d847f80ca34bd9033..2248ab87a82ea3c46dfb8508f1c6f6c8610eeff2 100644 (file)
@@ -23,12 +23,12 @@ rendered to fill the window in order to get coordinates mapped correctly.
 class Root: public Panel
 {
 private:
-       Window &window;
+       Graphics::Window &window;
 
 public:
-       Root(Resources &, Window &);
+       Root(Resources &, Graphics::Window &);
 private:
-       const char *get_class() const { return "root"; }
+       virtual const char *get_class() const { return "root"; }
        void button_press_event(int, int, unsigned, unsigned);
        void button_release_event(int, int, unsigned, unsigned);
        void pointer_motion_event(int, int);