diff --git a/panda/src/display/graphicsWindow.I b/panda/src/display/graphicsWindow.I index 67d2d4d704..65955cd556 100644 --- a/panda/src/display/graphicsWindow.I +++ b/panda/src/display/graphicsWindow.I @@ -108,18 +108,6 @@ set_border(bool border) { _border = border; } -//////////////////////////////////////////////////////////////////// -// Function: GraphicsWindow::Properties::set_fullscreen -// Access: Published -// Description: Specifies whether the window should be opened in -// fullscreen mode (true) or normal windowed mode -// (false, the default). -//////////////////////////////////////////////////////////////////// -INLINE void GraphicsWindow::Properties:: -set_fullscreen(bool fullscreen) { - _fullscreen = fullscreen; -} - /* //////////////////////////////////////////////////////////////////// // Function: GraphicsWindow::Properties::set_cursor_visible @@ -209,6 +197,11 @@ get_yorg() const { return (_props._yorg); } +INLINE bool GraphicsWindow:: +is_fullscreen() const { + return (_props._fullscreen); +} + //////////////////////////////////////////////////////////////////// // Function: GraphicsWindow::get_gsg // Access: Published diff --git a/panda/src/display/graphicsWindow.h b/panda/src/display/graphicsWindow.h index 901dee169a..34a8d50d84 100644 --- a/panda/src/display/graphicsWindow.h +++ b/panda/src/display/graphicsWindow.h @@ -84,7 +84,6 @@ PUBLISHED: INLINE void set_size(int xsize, int ysize); INLINE void set_title(const string &title); INLINE void set_border(bool border); - INLINE void set_fullscreen(bool fullscreen); INLINE void set_mask(uint mask); INLINE void set_bit_depth(int want_depth_bits, int want_color_bits);