AgateLib.Resources.DisplayWindowResource Class Reference

The DisplayWindowResource represents a display window. XML Attributes:
string name, Size size, Size minimum_size, Size maximum_size, bool allow_resize, bool full_screen, int bpp. Title text is stored in the body of the XML element.

A zero or missing value for any width/height means it doesn't apply.

. More...

Inheritance diagram for AgateLib.Resources.DisplayWindowResource:

AgateLib.Resources.AgateResource

List of all members.

Public Member Functions

 DisplayWindowResource (string name)
 Constructs a new DisplayWindowResource.

Protected Member Functions

override AgateResource Clone ()
 Clones the DisplayWindowResource.

Properties

Size Size [get, set]
 Gets or sets the preferred size of the DisplayWindow when it is created. For windowed systems, this will specify the size, but for full-screen systems this will specify the starting point for searching for a full-screen resolution.
Size MinimumSize [get, set]
Size MaximumSize [get, set]
string Title [get, set]
bool AllowResize [get, set]
bool FullScreen [get, set]
int Bpp [get, set]


Detailed Description

The DisplayWindowResource represents a display window. XML Attributes:
string name, Size size, Size minimum_size, Size maximum_size, bool allow_resize, bool full_screen, int bpp. Title text is stored in the body of the XML element.

A zero or missing value for any width/height means it doesn't apply.

.

Not all attributes are used at the moment. minimum_size and maximum_size can be specified and will be preserved if the resource file is loaded and saved, but they are not used in the construction of the DisplayWindow.


Constructor & Destructor Documentation

AgateLib.Resources.DisplayWindowResource.DisplayWindowResource ( string  name  ) 

Constructs a new DisplayWindowResource.

Parameters:
name 


Member Function Documentation

override AgateResource AgateLib.Resources.DisplayWindowResource.Clone (  )  [protected, virtual]

Clones the DisplayWindowResource.

Returns:

Implements AgateLib.Resources.AgateResource.


Property Documentation

bool AgateLib.Resources.DisplayWindowResource.AllowResize [get, set]

int AgateLib.Resources.DisplayWindowResource.Bpp [get, set]

bool AgateLib.Resources.DisplayWindowResource.FullScreen [get, set]

Size AgateLib.Resources.DisplayWindowResource.MaximumSize [get, set]

Size AgateLib.Resources.DisplayWindowResource.MinimumSize [get, set]

Size AgateLib.Resources.DisplayWindowResource.Size [get, set]

Gets or sets the preferred size of the DisplayWindow when it is created. For windowed systems, this will specify the size, but for full-screen systems this will specify the starting point for searching for a full-screen resolution.

string AgateLib.Resources.DisplayWindowResource.Title [get, set]


The documentation for this class was generated from the following file:
AgateLib
Awesome Game and Tool Engine Library
SourceForge.net Logo