Centrafuse Logo Flux Logo


centrafuse.Plugins.SkinReader Class Reference

Skin reader. More...

List of all members.

Public Member Functions

 SkinReader (string skinpath, string pluginName)
 Creates new skin reader.
string readPluginField (string xpath)
 Reads skin field.

Static Public Member Functions

static bool readConfig (string _skin, int width, int height)
 Loads system skin.
static string readField (string xpath)
 Reads system skin field.

Static Public Attributes

static XmlDocument xmldoc = null
 System skin XML document.
static double widthratio = 1
 System skin width ratio.
static double heightratio = 1
 System skin height ratio.
static int cfwidth = 848
 System width.
static int cfheight = 480
 System height.

Properties

double skinWidthRatio [get, set]
 Gets or sets skin width ratio.
double skinHeightRatio [get, set]
 Gets or sets skin height ratio.


Detailed Description

Skin reader.


Constructor & Destructor Documentation

centrafuse.Plugins.SkinReader.SkinReader ( string  skinpath,
string  pluginName 
)

Creates new skin reader.

Parameters:
skinpath Path to skin file.
pluginName Plugin name.


Member Function Documentation

static bool centrafuse.Plugins.SkinReader.readConfig ( string  _skin,
int  width,
int  height 
) [static]

Loads system skin.

Parameters:
_skin Skin to load.
width System width.
height System height.
Returns:
Returns true if loaded; false otherwise.

static string centrafuse.Plugins.SkinReader.readField ( string  xpath  )  [static]

Reads system skin field.

Parameters:
xpath Field xpath.
Returns:
Returns xpath value.

string centrafuse.Plugins.SkinReader.readPluginField ( string  xpath  ) 

Reads skin field.

Parameters:
xpath Field xpath.
Returns:
Returns xpath value.


Member Data Documentation

System height.

System width.

System skin height ratio.

System skin width ratio.

XmlDocument centrafuse.Plugins.SkinReader.xmldoc = null [static]

System skin XML document.


Property Documentation

double centrafuse.Plugins.SkinReader.skinHeightRatio [get, set]

Gets or sets skin height ratio.

double centrafuse.Plugins.SkinReader.skinWidthRatio [get, set]

Gets or sets skin width ratio.


The documentation for this class was generated from the following file:




Copyright © 2008 Flux Media, Inc. (U.S. Copyright Registration Number: TXu-1-239-794) Flux Logo