AgateLib.Resources.SurfaceResource Class Reference

Resource which loads a surface.
XML Attributes:
string name, string filename

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

. More...

Inheritance diagram for AgateLib.Resources.SurfaceResource:

AgateLib.Resources.AgateResource

List of all members.

Public Member Functions

 SurfaceResource (string name)
 Constructs a SurfaceResource object.

Protected Member Functions

override AgateResource Clone ()
 Clones the SurfaceResource object.

Properties

string Filename [get, set]
 Gets or sets the filename for the surface to be created from.


Detailed Description

Resource which loads a surface.
XML Attributes:
string name, string filename

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.SurfaceResource.SurfaceResource ( string  name  ) 

Constructs a SurfaceResource object.

Parameters:
name 


Member Function Documentation

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

Clones the SurfaceResource object.

Returns:

Implements AgateLib.Resources.AgateResource.


Property Documentation

string AgateLib.Resources.SurfaceResource.Filename [get, set]

Gets or sets the filename for the surface to be created from.


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