OpenGUI::SliceDef Class Reference

#include <OpenGUI_FaceDef.h>

List of all members.


Detailed Description

Used with FaceDef to define the attributes of a Slice within a Face.


Public Member Functions

 SliceDef (ImageryPtr imagery=0, bool tileImage=false, float width=0.0f, float height=0.0f, bool growWidth=false, bool growHeight=false, unsigned short colSpan=0, unsigned short rowSpan=0)
 Constructor allows you to define increasing detail, or nothing at all.

Public Attributes

float Width
 The minimum width the slice should cover.
bool GrowWidth
 Set to true if you want this slice to volunteer to widen to fill left over space.
float Height
 The minimum height the slice should cover.
bool GrowHeight
 Set to true if you want this slice to volunteer to heighten to fill left over space.
ImageryPtr Imagery
 The imagery this slice will use for display.
bool Tile
 Set to true to display imagery using native pixel size with tiling, otherwise it will be stretched to fit the slice area.
unsigned short ColSpan
 Number of additional columns this slice spans across.
unsigned short RowSpan
 Number of additional rows this slice spans across.


Constructor & Destructor Documentation

OpenGUI::SliceDef::SliceDef ( ImageryPtr  imagery = 0,
bool  tileImage = false,
float  width = 0.0f,
float  height = 0.0f,
bool  growWidth = false,
bool  growHeight = false,
unsigned short  colSpan = 0,
unsigned short  rowSpan = 0 
) [inline]

Constructor allows you to define increasing detail, or nothing at all.


Member Data Documentation

unsigned short OpenGUI::SliceDef::ColSpan

Number of additional columns this slice spans across.

bool OpenGUI::SliceDef::GrowHeight

Set to true if you want this slice to volunteer to heighten to fill left over space.

bool OpenGUI::SliceDef::GrowWidth

Set to true if you want this slice to volunteer to widen to fill left over space.

float OpenGUI::SliceDef::Height

The minimum height the slice should cover.

ImageryPtr OpenGUI::SliceDef::Imagery

The imagery this slice will use for display.

unsigned short OpenGUI::SliceDef::RowSpan

Number of additional rows this slice spans across.

bool OpenGUI::SliceDef::Tile

Set to true to display imagery using native pixel size with tiling, otherwise it will be stretched to fit the slice area.

float OpenGUI::SliceDef::Width

The minimum width the slice should cover.


The documentation for this class was generated from the following file:
Copyright © 2006 OpenGUI | OpenGUI.SF.net
Generated: Fri Jan 5 23:05:25 2007