#include <OpenGUI_FaceDef.h>
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. | |
| 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.
| unsigned short OpenGUI::SliceDef::ColSpan |
Number of additional columns this slice spans across.
Set to true if you want this slice to volunteer to heighten to fill left over space.
Set to true if you want this slice to volunteer to widen to fill left over space.
The minimum height the slice should cover.
The imagery this slice will use for display.
| unsigned short OpenGUI::SliceDef::RowSpan |
Number of additional rows this slice spans across.
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.