From c3e9fd2910f6c2c7fa3878c4fad358a7a9ec1143 Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Sat, 5 Oct 2002 00:30:49 +0000 Subject: [PATCH] add is_fullscreen --- panda/src/display/graphicsWindow.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/panda/src/display/graphicsWindow.h b/panda/src/display/graphicsWindow.h index 795c1f22cf..901dee169a 100644 --- a/panda/src/display/graphicsWindow.h +++ b/panda/src/display/graphicsWindow.h @@ -75,6 +75,11 @@ PUBLISHED: INLINE void operator = (const Properties ©); INLINE ~Properties(); + // all these methods essentially do nothing since they do not get passed down to the gsg + // and maybe should be removed or commented out until they do, since + // they modify parameters that usually require re-creation of the window + // except for set_size(), which is superseded by resize(), which actually works. + INLINE void set_origin(int xorg, int yorg); INLINE void set_size(int xsize, int ysize); INLINE void set_title(const string &title); @@ -120,6 +125,7 @@ PUBLISHED: INLINE int get_height() const; INLINE int get_xorg() const; INLINE int get_yorg() const; + INLINE bool is_fullscreen() const; // # of z bits/pixel. purpose is to adjust camera near plane if have fewer z bits virtual int get_depth_bitwidth(void);