Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

WindowProperties Class Reference

#include <windowProperties.h>

List of all members.

Private Types

enum  Specified {
  S_origin = 0x0001, S_size = 0x0002, S_title = 0x0004, S_undecorated = 0x0008,
  S_fullscreen = 0x0010, S_foreground = 0x0020, S_minimized = 0x0040, S_open = 0x0080,
  S_cursor_hidden = 0x0100
}
enum  Flags {
  F_undecorated = S_undecorated, F_fullscreen = S_fullscreen, F_foreground = S_foreground, F_minimized = S_minimized,
  F_open = S_open, F_cursor_hidden = S_cursor_hidden
}

Private Member Functions

INLINE WindowProperties (const WindowProperties &copy)
void operator= (const WindowProperties &copy)
INLINE ~WindowProperties ()
bool operator== (const WindowProperties &other) const
INLINE bool operator!= (const WindowProperties &other) const
void clear ()
INLINE bool is_any_specified () const
INLINE void set_origin (int x_origin, int y_origin)
INLINE int get_x_origin () const
INLINE int get_y_origin () const
INLINE bool has_origin () const
INLINE void clear_origin ()
INLINE void set_size (int x_size, int y_size)
INLINE int get_x_size () const
INLINE int get_y_size () const
INLINE bool has_size () const
INLINE void clear_size ()
INLINE void set_title (const string &title)
INLINE const string & get_title () const
INLINE bool has_title () const
INLINE void clear_title ()
INLINE void set_undecorated (bool undecorated)
INLINE bool get_undecorated () const
INLINE bool has_undecorated () const
INLINE void clear_undecorated ()
INLINE void set_fullscreen (bool fullscreen)
INLINE bool get_fullscreen () const
INLINE bool has_fullscreen () const
INLINE void clear_fullscreen ()
INLINE void set_foreground (bool foreground)
INLINE bool get_foreground () const
INLINE bool has_foreground () const
INLINE void clear_foreground ()
INLINE void set_minimized (bool minimized)
INLINE bool get_minimized () const
INLINE bool has_minimized () const
INLINE void clear_minimized ()
INLINE void set_open (bool open)
INLINE bool get_open () const
INLINE bool has_open () const
INLINE void clear_open ()
INLINE void set_cursor_hidden (bool cursor_hidden)
INLINE bool get_cursor_hidden () const
INLINE bool has_cursor_hidden () const
INLINE void clear_cursor_hidden ()
void add_properties (const WindowProperties &other)
void output (ostream &out) const

Private Attributes

PUBLISHED __pad0__: WindowProperties()
int _specified
int _x_origin
int _y_origin
int _x_size
int _y_size
string _title
int _flags


Member Enumeration Documentation

enum WindowProperties::Flags [private]
 

Enumeration values:
F_undecorated 
F_fullscreen 
F_foreground 
F_minimized 
F_open 
F_cursor_hidden 

Definition at line 114 of file windowProperties.h.

enum WindowProperties::Specified [private]
 

Enumeration values:
S_origin 
S_size 
S_title 
S_undecorated 
S_fullscreen 
S_foreground 
S_minimized 
S_open 
S_cursor_hidden 

Definition at line 99 of file windowProperties.h.


Constructor & Destructor Documentation

INLINE WindowProperties::WindowProperties const WindowProperties &  copy  )  [private]
 

INLINE WindowProperties::~WindowProperties  )  [private]
 


Member Function Documentation

void WindowProperties::add_properties const WindowProperties &  other  )  [private]
 

Definition at line 90 of file windowProperties.cxx.

References get_cursor_hidden(), get_foreground(), get_fullscreen(), get_minimized(), get_open(), get_title(), get_undecorated(), get_x_origin(), get_x_size(), get_y_origin(), get_y_size(), has_cursor_hidden(), has_foreground(), has_fullscreen(), has_minimized(), has_open(), has_origin(), has_size(), has_title(), has_undecorated(), set_cursor_hidden(), set_foreground(), set_fullscreen(), set_minimized(), set_open(), set_origin(), set_size(), set_title(), and set_undecorated().

Referenced by GraphicsWindow::process_events(), GraphicsWindow::request_properties(), wdxGraphicsWindow8::search_for_device(), GraphicsWindow::set_properties_now(), and GraphicsWindow::system_changed_properties().

void WindowProperties::clear  )  [private]
 

Definition at line 72 of file windowProperties.cxx.

References _flags, _specified, _title, _x_origin, _x_size, _y_origin, and _y_size.

Referenced by GraphicsWindow::clear_rejected_properties(), GraphicsWindow::process_events(), and GraphicsWindow::set_properties_now().

INLINE void WindowProperties::clear_cursor_hidden  )  [private]
 

INLINE void WindowProperties::clear_foreground  )  [private]
 

INLINE void WindowProperties::clear_fullscreen  )  [private]
 

Referenced by GraphicsWindow::set_properties_now().

INLINE void WindowProperties::clear_minimized  )  [private]
 

INLINE void WindowProperties::clear_open  )  [private]
 

INLINE void WindowProperties::clear_origin  )  [private]
 

Referenced by GraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_properties_now().

INLINE void WindowProperties::clear_size  )  [private]
 

Referenced by GraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_properties_now().

INLINE void WindowProperties::clear_title  )  [private]
 

Referenced by glxGraphicsWindow::set_properties_now().

INLINE void WindowProperties::clear_undecorated  )  [private]
 

INLINE bool WindowProperties::get_cursor_hidden  )  const [private]
 

Referenced by add_properties(), output(), WinGraphicsWindow::update_cursor_window(), and WinGraphicsWindow::window_proc().

INLINE bool WindowProperties::get_foreground  )  const [private]
 

Referenced by add_properties(), and output().

INLINE bool WindowProperties::get_fullscreen  )  const [private]
 

Referenced by add_properties(), glxGraphicsWindow::open_window(), output(), and GraphicsWindow::set_properties_now().

INLINE bool WindowProperties::get_minimized  )  const [private]
 

Referenced by add_properties(), output(), and glxGraphicsWindow::set_wm_properties().

INLINE bool WindowProperties::get_open  )  const [private]
 

Referenced by add_properties(), PandaFramework::all_windows_closed(), PandaFramework::event_window_event(), output(), and GraphicsWindow::set_properties_now().

INLINE const string& WindowProperties::get_title  )  const [private]
 

Referenced by add_properties(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), output(), glxGraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_wm_properties().

INLINE bool WindowProperties::get_undecorated  )  const [private]
 

Referenced by add_properties(), WinGraphicsWindow::open_regular_window(), output(), and glxGraphicsWindow::set_wm_properties().

INLINE int WindowProperties::get_x_origin  )  const [private]
 

Referenced by add_properties(), ClearToBlack(), WinGraphicsWindow::handle_reshape(), wdxGraphicsWindow8::handle_reshape(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), output(), GraphicsWindow::set_properties_now(), glxGraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_wm_properties().

INLINE int WindowProperties::get_x_size  )  const [private]
 

Referenced by add_properties(), wdxGraphicsWindow7::choose_device(), GraphicsWindow::clear(), ClearToBlack(), DisplayRegion::compute_pixels(), MouseAndKeyboard::do_transmit_data(), GLGraphicsStateGuardian::draw_pixel_buffer(), WindowFramework::get_aspect_2d(), WinGraphicsWindow::handle_reshape(), wdxGraphicsWindow8::handle_reshape(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), output(), PT(), wdxGraphicsWindow8::search_for_device(), DisplayRegion::set_dimensions(), GraphicsWindow::set_properties_now(), glxGraphicsWindow::set_properties_now(), glxGraphicsWindow::set_wm_properties(), GraphicsWindow::system_changed_properties(), and GraphicsWindow::system_changed_size().

INLINE int WindowProperties::get_y_origin  )  const [private]
 

Referenced by add_properties(), ClearToBlack(), WinGraphicsWindow::handle_reshape(), wdxGraphicsWindow8::handle_reshape(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), output(), GraphicsWindow::set_properties_now(), glxGraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_wm_properties().

INLINE int WindowProperties::get_y_size  )  const [private]
 

Referenced by add_properties(), wdxGraphicsWindow7::choose_device(), GraphicsWindow::clear(), ClearToBlack(), DisplayRegion::compute_pixels(), MouseAndKeyboard::do_transmit_data(), GLGraphicsStateGuardian::draw_pixel_buffer(), WindowFramework::get_aspect_2d(), WinGraphicsWindow::handle_reshape(), wdxGraphicsWindow8::handle_reshape(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), output(), PT(), wdxGraphicsWindow8::search_for_device(), DisplayRegion::set_dimensions(), GraphicsWindow::set_properties_now(), glxGraphicsWindow::set_properties_now(), glxGraphicsWindow::set_wm_properties(), GraphicsWindow::system_changed_properties(), and GraphicsWindow::system_changed_size().

INLINE bool WindowProperties::has_cursor_hidden  )  const [private]
 

Referenced by add_properties(), and output().

INLINE bool WindowProperties::has_foreground  )  const [private]
 

Referenced by add_properties(), and output().

INLINE bool WindowProperties::has_fullscreen  )  const [private]
 

Referenced by add_properties(), output(), and GraphicsWindow::set_properties_now().

INLINE bool WindowProperties::has_minimized  )  const [private]
 

Referenced by add_properties(), output(), and glxGraphicsWindow::set_wm_properties().

INLINE bool WindowProperties::has_open  )  const [private]
 

Referenced by add_properties(), output(), and GraphicsWindow::set_properties_now().

INLINE bool WindowProperties::has_origin  )  const [private]
 

Referenced by add_properties(), ClearToBlack(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), output(), GraphicsWindow::set_properties_now(), glxGraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_wm_properties().

INLINE bool WindowProperties::has_size  )  const [private]
 

Referenced by add_properties(), DisplayRegion::compute_pixels(), WindowFramework::get_aspect_2d(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), output(), PT(), DisplayRegion::set_dimensions(), GraphicsWindow::set_properties_now(), glxGraphicsWindow::set_properties_now(), glxGraphicsWindow::set_wm_properties(), and GraphicsWindow::system_changed_properties().

INLINE bool WindowProperties::has_title  )  const [private]
 

Referenced by add_properties(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), output(), glxGraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_wm_properties().

INLINE bool WindowProperties::has_undecorated  )  const [private]
 

Referenced by add_properties(), WinGraphicsWindow::open_regular_window(), and output().

INLINE bool WindowProperties::is_any_specified  )  const [private]
 

Referenced by GraphicsWindow::process_events(), WinGraphicsWindow::set_properties_now(), and glxGraphicsWindow::set_properties_now().

INLINE bool WindowProperties::operator!= const WindowProperties &  other  )  const [private]
 

void WindowProperties::operator= const WindowProperties &  copy  )  [private]
 

Definition at line 38 of file windowProperties.cxx.

References _flags, _specified, _title, _x_origin, _x_size, _y_origin, and _y_size.

bool WindowProperties::operator== const WindowProperties &  other  )  const [private]
 

Definition at line 54 of file windowProperties.cxx.

References _flags, _specified, _title, _x_origin, _x_size, _y_origin, and _y_size.

void WindowProperties::output ostream &  out  )  const [private]
 

Definition at line 128 of file windowProperties.cxx.

References get_cursor_hidden(), get_foreground(), get_fullscreen(), get_minimized(), get_open(), get_title(), get_undecorated(), get_x_origin(), get_x_size(), get_y_origin(), get_y_size(), has_cursor_hidden(), has_foreground(), has_fullscreen(), has_minimized(), has_open(), has_origin(), has_size(), has_title(), and has_undecorated().

INLINE void WindowProperties::set_cursor_hidden bool  cursor_hidden  )  [private]
 

Referenced by add_properties(), PandaFramework::get_default_window_props(), and GraphicsWindow::GraphicsWindow().

INLINE void WindowProperties::set_foreground bool  foreground  )  [private]
 

Referenced by add_properties(), glxGraphicsWindow::process_events(), and WinGraphicsWindow::window_proc().

INLINE void WindowProperties::set_fullscreen bool  fullscreen  )  [private]
 

Referenced by add_properties(), PandaFramework::get_default_window_props(), and GraphicsWindow::GraphicsWindow().

INLINE void WindowProperties::set_minimized bool  minimized  )  [private]
 

Referenced by add_properties(), wdxGraphicsWindow7::fullscreen_restored(), GraphicsWindow::GraphicsWindow(), glxGraphicsWindow::process_events(), and WinGraphicsWindow::window_proc().

INLINE void WindowProperties::set_open bool  open  )  [private]
 

Referenced by add_properties(), GraphicsEngine::WindowRenderer::do_close(), GraphicsEngine::WindowRenderer::do_pending(), PandaFramework::get_default_window_props(), GraphicsWindow::GraphicsWindow(), glxGraphicsWindow::process_events(), GraphicsEngine::WindowRenderer::remove_window(), GraphicsWindow::set_properties_now(), and WinGraphicsWindow::window_proc().

INLINE void WindowProperties::set_origin int  x_origin,
int  y_origin
[private]
 

Referenced by add_properties(), wdxGraphicsWindow7::create_screen_buffers_and_device(), WinGraphicsWindow::handle_reshape(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), and GraphicsWindow::set_properties_now().

INLINE void WindowProperties::set_size int  x_size,
int  y_size
[private]
 

Referenced by add_properties(), wdxGraphicsWindow7::create_screen_buffers_and_device(), PandaFramework::get_default_window_props(), WinGraphicsWindow::handle_reshape(), WinGraphicsWindow::open_fullscreen_window(), WinGraphicsWindow::open_regular_window(), glxGraphicsWindow::open_window(), glxGraphicsWindow::process_events(), wdxGraphicsWindow8::search_for_device(), and GraphicsWindow::set_properties_now().

INLINE void WindowProperties::set_title const string &  title  )  [private]
 

Referenced by add_properties(), PandaFramework::get_default_window_props(), and glxGraphicsWindow::set_properties_now().

INLINE void WindowProperties::set_undecorated bool  undecorated  )  [private]
 

Referenced by add_properties(), PandaFramework::get_default_window_props(), and GraphicsWindow::GraphicsWindow().


Member Data Documentation

PUBLISHED WindowProperties::__pad0__ [private]
 

Definition at line 33 of file windowProperties.h.

int WindowProperties::_flags [private]
 

Definition at line 129 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().

int WindowProperties::_specified [private]
 

Definition at line 123 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().

string WindowProperties::_title [private]
 

Definition at line 128 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().

int WindowProperties::_x_origin [private]
 

Definition at line 124 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().

int WindowProperties::_x_size [private]
 

Definition at line 126 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().

int WindowProperties::_y_origin [private]
 

Definition at line 125 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().

int WindowProperties::_y_size [private]
 

Definition at line 127 of file windowProperties.h.

Referenced by clear(), operator=(), and operator==().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:14:05 2003 for Panda by doxygen1.3