removed set_fullscreen, added is_fullscreen impl

This commit is contained in:
cxgeorge 2002-10-05 05:56:02 +00:00
parent c61e587b69
commit d2c2933eb7
2 changed files with 5 additions and 13 deletions

View File

@ -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

View File

@ -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);