Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Class Members

Windowing


Detailed Description

Classes for defining and manipulating windows, initializing an event loop, and responding to events.


Classes

class  App
 Abstract LVT Application object. More...
class  InputHandler
 Takes some action in response to an input message. More...
class  Menu
 A pop-up menu. More...
class  Wnd
 A toplevel window. More...

Enumerations

enum  LVT::MessageBoxButtons { LVT::MBB_OK, LVT::MBB_OKCANCEL, LVT::MBB_YESNOCANCEL, LVT::MBB_YESNO }
enum  LVT::MessageBoxResult { LVT::MBR_OK, LVT::MBR_CANCEL, LVT::MBR_YES, LVT::MBR_NO }
enum  LVT::PixelFormat {
  LVT::PF_COLOR_SIZE_DEF = 1, LVT::PF_COLOR_SIZE_16 = 2, LVT::PF_COLOR_SIZE_24 = 3, LVT::PF_COLOR_SIZE_32 = 4,
  LVT::PF_DEPTH_SIZE_DEF = (1 << 3), LVT::PF_DEPTH_SIZE_8 = (2 << 3), LVT::PF_DEPTH_SIZE_16 = (3 << 3), LVT::PF_DEPTH_SIZE_24 = (4 << 3),
  LVT::PF_DEPTH_SIZE_32 = (5 << 3), LVT::PF_STENCIL_SIZE_DEF = (1 << 6), LVT::PF_STENCIL_SIZE_8 = (2 << 6), LVT::PF_STENCIL_SIZE_16 = (3 << 6),
  LVT::PF_STENCIL_SIZE_24 = (4 << 6), LVT::PF_STENCIL_SIZE_32 = (5 << 6), LVT::PF_ACCUM_SIZE_DEF = (1 << 9), LVT::PF_ACCUM_SIZE_16 = (2 << 9),
  LVT::PF_ACCUM_SIZE_24 = (3 << 9), LVT::PF_ACCUM_SIZE_32 = (4 << 9), LVT::PF_ACCUM_SIZE_64 = (5 << 9), LVT::PF_DOUBLEBUFFER = 0x1000,
  LVT::PF_DEFAULT = PF_COLOR_SIZE_DEF, LVT::PF_DEFAULT_3D
}
 Describes a window's pixel format. More...
enum  LVT::WindowState { LVT::STATE_HIDDEN, LVT::STATE_NORMAL, LVT::STATE_MAXIMIZED, LVT::STATE_MINIMIZED }
 Describes the current state of a window. More...
enum  LVT::WindowStyle { LVT::STYLE_NORMAL, LVT::STYLE_UNDECORATED }
 Describes a window style. More...


Enumeration Type Documentation

enum MessageBoxButtons
 

Types of buttons for Wnd::MessageBox.

Enumeration values:
MBB_OK  "OK" button
MBB_OKCANCEL  "OK" and "Cancel" buttons
MBB_YESNOCANCEL  "Yes", "No", and "Cancel" buttons
MBB_YESNO  "Yes" and "No" buttons

enum MessageBoxResult
 

Return values from Wnd::MessageBox.

Enumeration values:
MBR_OK  "OK" button was clicked
MBR_CANCEL  "Cancel" button was clicked, or the message box was dismissed
MBR_YES  "Yes" button was clicked
MBR_NO  "No" button was clicked

enum PixelFormat
 

Describes a window's pixel format.

The second parameter to Wnd::Create() requires a PixelFormat value. A PixelFormat specifies the properties of the OpenGL frame buffer requested by the application. If the requested PixelFormat is not supported on the current platform, the call to Create() will fail.

Combine flags with the bitwise OR operator. Combining values of the same type (e.g. PF_COLOR_SIZE_16 | PF_COLOR_SIZE_8) has undefined results. Most programs will use either PF_DEFAULT or PF_DEFAULT_3D.

Enumeration values:
PF_COLOR_SIZE_DEF  Default color buffer depth.
PF_COLOR_SIZE_16  16-bit color buffer
PF_COLOR_SIZE_24  24-bit color buffer
PF_COLOR_SIZE_32  32-bit color buffer
PF_DEPTH_SIZE_DEF  Default depth buffer depth.
PF_DEPTH_SIZE_8  8-bit depth buffer
PF_DEPTH_SIZE_16  16-bit depth buffer
PF_DEPTH_SIZE_24  24-bit depth buffer
PF_DEPTH_SIZE_32  32-bit depth buffer
PF_STENCIL_SIZE_DEF  Default stencil buffer depth.
PF_STENCIL_SIZE_8  8-bit stencil buffer
PF_STENCIL_SIZE_16  16-bit stencil buffer
PF_STENCIL_SIZE_24  24-bit stencil buffer
PF_STENCIL_SIZE_32  32-bit stencil buffer
PF_ACCUM_SIZE_DEF  Default accumulation buffer depth.
PF_ACCUM_SIZE_16  16-bit accumulation buffer
PF_ACCUM_SIZE_24  24-bit accumulation buffer
PF_ACCUM_SIZE_32  32-bit accumulation buffer
PF_ACCUM_SIZE_64  64-bit accumulation buffer
PF_DOUBLEBUFFER  Back buffer.
PF_DEFAULT  Default 2D pixel format.
PF_DEFAULT_3D  Default 3D pixel format.

enum WindowState
 

Describes the current state of a window.

Enumeration values:
STATE_HIDDEN  Not visible on screen.
STATE_NORMAL  Normal visibility.
STATE_MAXIMIZED  Maximized.
STATE_MINIMIZED  Minimized (iconified).

enum WindowStyle
 

Describes a window style.

Enumeration values:
STYLE_NORMAL  Normal, decorated window.
STYLE_UNDECORATED  Undecorated window.


Generated on Thu Feb 17 09:45:47 2005 for liblvt by  doxygen 1.4.1