|
|
LibN2L-4 Library Code Reference
Classes
Compounds
Files
Members
Method Index
Full Reference
n2l::cGuiFill Class ReferenceA simple component class intended to simplify styling widgets by keeping textures, colours and other properties grouped together, rather than cluttering each gui element with copies of basically the same code.
More...
#include <cGuiFill.h>
Collaboration diagram for n2l::cGuiFill:
[legend]List of all members.Public Member Functions
Detailed Description
A simple component class intended to simplify styling widgets by keeping textures, colours and other properties grouped together, rather than cluttering each gui element with copies of basically the same code.
Definition at line 43 of file cGuiFill.h.
Constructor & Destructor Documentation
| n2l::cGuiFill::cGuiFill |
( |
|
) |
|
|
| n2l::cGuiFill::cGuiFill |
( |
const cGuiFill & |
iFill |
) |
|
|
| n2l::cGuiFill::cGuiFill |
( |
const cDynVar & |
iDefinition |
) |
|
|
| n2l::cGuiFill::~cGuiFill |
( |
|
) |
|
|
Member Function Documentation
| void n2l::cGuiFill::colour |
( |
const tGuiColour & |
iColour |
) |
|
|
| const tGuiColour& n2l::cGuiFill::colour |
( |
|
) |
const [inline] |
|
| void n2l::cGuiFill::colourInherit |
( |
const tBool |
iValue |
) |
|
|
| void n2l::cGuiFill::draw |
( |
const tGuiPos & |
iPos, |
|
|
const tGuiPos & |
iSize |
|
) |
const |
|
| void n2l::cGuiFill::hInvert |
( |
const tBool |
iInvert |
) |
|
|
| void n2l::cGuiFill::hRepeat |
( |
const tBool |
iRepeat |
) |
|
|
| void n2l::cGuiFill::load |
( |
const cDynVar & |
iDefinition |
) |
|
|
|
|
Definition at line 132 of file cGuiFill.cpp.
References colour(), colourInherit(), hInvert(), hRepeat(), n2l::cDynVar::keyExists(), n2l::cDynVar::keyExistsAsArray(), padding(), n2l::cDynVar::size(), texture(), vInvert(), and vRepeat(). |
|
|
Definition at line 185 of file cGuiFill.cpp.
References colour(), mBlending, mBRPad, mColour, mColourInherit, mCornerColours, mHInvert, mHRepeat, mTexSize, mTexture, mTLPad, mVInvert, and mVRepeat. |
| void n2l::cGuiFill::padding |
( |
const tGuiPos & |
iTLPad, |
|
|
const tGuiPos & |
iBRPad |
|
) |
|
|
|
|
Padding applied during a draw by adding iTLPad to the provided position and (iBRPad+iTLPad) subtracted from the size.
Definition at line 340 of file cGuiFill.cpp.
Referenced by load(). |
| void n2l::cGuiFill::prop |
( |
const tString & |
iName, |
|
|
const cDynVar & |
iVal |
|
) |
|
|
|
|
The texture size provided here is in the gui dimenion space, and need only be accurate if either h or v repeat has been enabled.
Definition at line 263 of file cGuiFill.cpp.
Referenced by load(), and prop(). |
| void n2l::cGuiFill::textureSize |
( |
const tGuiPos & |
iTexSize |
) |
|
|
| void n2l::cGuiFill::vInvert |
( |
const tBool |
iInvert |
) |
|
|
| void n2l::cGuiFill::vRepeat |
( |
const tBool |
iRepeat |
) |
|
|
The documentation for this class was generated from the following files:
|