X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Froot.h;h=2248ab87a82ea3c46dfb8508f1c6f6c8610eeff2;hb=6be5b834084fb3ab421b94b6c4ad8eece6bab754;hp=863f1f781eaaf486ac0bb84d847f80ca34bd9033;hpb=c2635c5a3dca6a6cea5562fd387beb0662b18cf0;p=libs%2Fgltk.git diff --git a/source/root.h b/source/root.h index 863f1f7..2248ab8 100644 --- a/source/root.h +++ b/source/root.h @@ -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);