X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Fviewmgr.hxx;h=6461af11a90fdaad16b99e92ab235470d7610d67;hb=38226af24ec01e8f0a20d7fd73ef838a69f6ef25;hp=c296b71559b50e2018d585e3272c58d52f1ebcb3;hpb=3e0489bd910620e5d34e33d231c55135daeb2543;p=flightgear.git diff --git a/src/Main/viewmgr.hxx b/src/Main/viewmgr.hxx index c296b7155..6461af11a 100644 --- a/src/Main/viewmgr.hxx +++ b/src/Main/viewmgr.hxx @@ -29,6 +29,7 @@ #include #include +#include #include // forward decls @@ -69,14 +70,12 @@ public: // setters void clear(); - inline void set_view( const int v ) { current = v; } + void add_view( FGViewer * v ); - // copies current offset settings to current-view path... - void copyToCurrent (); - private: - + void do_bind(); + list tied_props; double axis_long; @@ -136,6 +135,10 @@ private: bool stationary () const; + // copies current offset settings to current-view path... + void copyToCurrent (); + + bool inited; SGPropertyNode_ptr view_number; vector config_list; typedef std::vector viewer_list;