X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Froot.h;h=cfe2af344d31c9e2a6902f590e5781f28eccd345;hb=91997dd3189b93a67179822ec2fed5f2a7bddb74;hp=16e01aed06a1e43d3721bb7ebfca1db2ea120c59;hpb=c72566cd7f8252eb386c753ceeafa8a324d1120b;p=libs%2Fgltk.git diff --git a/source/root.h b/source/root.h index 16e01ae..cfe2af3 100644 --- a/source/root.h +++ b/source/root.h @@ -30,6 +30,7 @@ public: sigc::signal signal_tooltip; private: + const Resources &resources; Graphics::Window &window; Label *lbl_tooltip; int pointer_x; @@ -41,6 +42,7 @@ public: Root(const Resources &, Graphics::Window &); void tick(); + const Resources &get_resources() const { return resources; } virtual unsigned get_width() const { return geom.w; } virtual unsigned get_height() const { return geom.h; }