X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Froot.h;h=b79bca367d3e22c51ca3c86ad61bf6683728337e;hb=2b1a962fba03a01d641f5b6e2b8d75c6e71e2d40;hp=a74065dc9c08d8d1e44956e8695a7cef50d567a4;hpb=b3234ca0277c5e282a2a0a2558b58edb25750653;p=libs%2Fgltk.git diff --git a/source/root.h b/source/root.h index a74065d..b79bca3 100644 --- a/source/root.h +++ b/source/root.h @@ -2,6 +2,7 @@ #define MSP_GLTK_ROOT_H_ #include +#include #include #include #include @@ -32,6 +33,7 @@ private: int pointer_y; Time::TimeStamp tooltip_timeout; Widget *tooltip_target; + Msp::GL::Camera camera; public: /** Creates a Root widget for a window. The geometry is set to match the @@ -64,7 +66,9 @@ private: bool character_event(StringCodec::unichar); void get_pointer(int &, int &); + void update_camera(); + virtual void on_geometry_change(); virtual void on_child_added(Widget &); };