diff options
Diffstat (limited to 'src/perspective3d.h')
| -rw-r--r-- | src/perspective3d.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/perspective3d.h b/src/perspective3d.h index 4211c7b3b..43b0ca3d3 100644 --- a/src/perspective3d.h +++ b/src/perspective3d.h @@ -41,10 +41,13 @@ public: static gint counter; // for testing only gint my_counter; // for testing only - static void print_debugging_info(); - static Perspective3D * current_perspective; // should current_perspective be moved to desktop.h? + static GSList * perspectives; // All existing 3D perspectives + static void add_perspective (Box3D::Perspective3D * const persp); + static void remove_perspective (Box3D::Perspective3D * const persp); + static Box3D::Perspective3D * find_perspective (Box3D::Perspective3D * const persp); // find an existing perspective whose VPs are equal to those of persp - SPDesktop * desktop; // we need to store the perspective's desktop to be able to access it in the destructor + static void print_debugging_info(); + static Perspective3D * current_perspective; private: VanishingPoint *vp_x; |
