mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
removed set_fullscreen, added is_fullscreen impl
This commit is contained in:
parent
c61e587b69
commit
d2c2933eb7
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user