AaronCameron.net
There have to be easier ways to commit suicide.
Not a Member? - Login or Create an Account...MC Offline
Tuesday the 21st of May 2013 @ 04:11pm
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cGuiElement Class Reference

#include <cGuiElement.h>

Inheritance diagram for n2l::cGuiElement:

Inheritance graph
[legend]
Collaboration diagram for n2l::cGuiElement:

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Protected Types

Protected Member Functions

Static Protected Member Functions

  • static void validateAndDecode (cDynVar &oDefinition, const cVfsNodeInterface &iNode, const tString &iRequiredHeader)
    A utility for inherited loaders, this checks for a required header, and then returns by reference the unserialization of the file buffer contents.

Protected Attributes

Friends


Detailed Description

Definition at line 55 of file cGuiElement.h.


Member Typedef Documentation

typedef std::list<cAutoPtr<cGuiElement> > n2l::cGuiElement::tOElementList
 

Definition at line 58 of file cGuiElement.h.

typedef std::list<cAutoPtr<cGuiSEInt> > n2l::cGuiElement::tSpecialEffectContainer [protected]
 

Definition at line 254 of file cGuiElement.h.


Constructor & Destructor Documentation

n2l::cGuiElement::cGuiElement  ) 
 

Definition at line 49 of file cGuiElement.cpp.

References n2l::asString(), dimensionChanged(), mName, and nextElementNumber().

n2l::cGuiElement::cGuiElement const tGuiPos iPos,
const tGuiPos iSize,
const tString iName = ""
 

Definition at line 71 of file cGuiElement.cpp.

References n2l::asString(), dimensionChanged(), n2l::cString::empty(), mName, and nextElementNumber().

n2l::cGuiElement::~cGuiElement  )  [virtual]
 

Definition at line 92 of file cGuiElement.cpp.


Member Function Documentation

void n2l::cGuiElement::addEffect const cAutoPtr< cGuiSEInt > &  i_ioEffect  )  [virtual]
 

Add a special effect to this element.

Definition at line 468 of file cGuiElement.cpp.

References mEffects.

Referenced by n2l::cGuiACAddEffect::execute().

const tActionBindingID n2l::cGuiElement::bindAction const tGuiActionType  iType,
const cAutoPtr< cGuiACInt > &  i_ioAction,
const tBool  iUser
[protected, virtual]
 

Add a binding to this element.

Definition at line 521 of file cGuiElement.cpp.

References n2l::asString(), and n2l::GuiActionType_NumActionTypes.

Referenced by bindUserAction().

const tActionBindingID n2l::cGuiElement::bindUserAction const tGuiActionType  iType,
const cAutoPtr< cGuiACInt > &  i_ioAction
[virtual]
 

Add a user binding to an action for this widget.

Definition at line 492 of file cGuiElement.cpp.

References bindAction().

Referenced by load().

const tGuiPos & n2l::cGuiElement::bottomRightPadding  )  const [virtual]
 

Definition at line 178 of file cGuiElement.cpp.

References mBottomRightPadding.

Referenced by cloneInto(), and prop().

void n2l::cGuiElement::broadcastAction const tGuiActionType  iType,
const tActionData iData
[protected, virtual]
 

Broadcast an action to anyone listening.

Definition at line 564 of file cGuiElement.cpp.

References n2l::asString(), and n2l::GuiActionType_NumActionTypes.

Referenced by n2l::cGuiSButton::enabled(), n2l::cGuiInteractive::focus(), n2l::cGuiInteractive::keystroke(), n2l::cGuiInteractive::mouseClickAt(), n2l::cGuiInteractive::mouseClickOutside(), n2l::cGuiInteractive::mouseMove(), n2l::cGuiInteractive::mouseMoveOutside(), update(), and n2l::cGuiSlider::value().

void n2l::cGuiElement::canvas cGuiCanvas *const   iCanvas  )  [protected, virtual]
 

Definition at line 388 of file cGuiElement.cpp.

References mMyCanvas.

cGuiCanvas *const n2l::cGuiElement::canvas  )  [virtual]
 

Definition at line 394 of file cGuiElement.cpp.

References mMyCanvas.

Referenced by n2l::cGuiCanvas::dropAllFocus(), n2l::cGuiACSetProp::execute(), n2l::cGuiACRemoveElement::execute(), n2l::cGuiACIfProp::execute(), n2l::cGuiACClearEffects::execute(), n2l::cGuiACAddEffect::execute(), and focus().

void n2l::cGuiElement::clearEffects  )  [virtual]
 

Remove all currently outstanding effects.

Definition at line 475 of file cGuiElement.cpp.

References mEffects.

Referenced by n2l::cGuiACClearEffects::execute().

void n2l::cGuiElement::clearUserActions  )  [virtual]
 

Unbind any user action requests from this widget.

Definition at line 506 of file cGuiElement.cpp.

References n2l::GuiActionType_NumActionTypes.

virtual const cAutoPtr<cGuiElement> n2l::cGuiElement::clone  )  const [pure virtual]
 

Method to return a copy of this element.

Useful as a way to get a non-const, bindable and canvas-able instance of an element from the resource loader.

Note:
Bindings, name and canvas parent information are not cloned.

Implemented in n2l::cGuiButton, n2l::cGuiButtonSelectBox, n2l::cGuiCanvas, n2l::cGuiInteractive, n2l::cGuiLabel, n2l::cGuiModelView, n2l::cGuiProgressBar, n2l::cGuiSButton, n2l::cGuiSButtonSelectBox, n2l::cGuiSlider, n2l::cGuiSprite, n2l::cGuiSpriteMousePointer, n2l::cGuiTextDisplay, and n2l::cGuiTextInput.

void n2l::cGuiElement::cloneInto const cAutoPtr< cGuiElement > &  i_ioElement  )  const [protected, virtual]
 

A component of clone, copy our properties into the provided element.

Definition at line 417 of file cGuiElement.cpp.

References bottomRightPadding(), n2l::GuiActionType_NumActionTypes, name(), pos(), renderOrder(), size(), and topLeftPadding().

Referenced by n2l::cGuiSpriteMousePointer::cloneInto(), n2l::cGuiSprite::cloneInto(), n2l::cGuiModelView::cloneInto(), n2l::cGuiLabel::cloneInto(), n2l::cGuiInteractive::cloneInto(), and n2l::cGuiCanvas::cloneInto().

virtual void n2l::cGuiElement::commitSuicide  )  [inline, virtual]
 

Definition at line 243 of file cGuiElement.h.

Referenced by n2l::cGuiACRemoveElement::execute().

void n2l::cGuiElement::dimensionChanged  )  [protected, virtual]
 

Reimplemented in n2l::cGuiButtonSelectBox, n2l::cGuiSButtonSelectBox, n2l::cGuiSlider, n2l::cGuiTextDisplay, and n2l::cGuiTextInput.

Definition at line 400 of file cGuiElement.cpp.

References mBottomRightPadding, mPos, mSize, and mTopLeftPadding.

Referenced by cGuiElement(), n2l::cGuiTextInput::dimensionChanged(), n2l::cGuiTextDisplay::dimensionChanged(), n2l::cGuiSlider::dimensionChanged(), n2l::cGuiSButtonSelectBox::dimensionChanged(), n2l::cGuiButtonSelectBox::dimensionChanged(), padding(), pos(), and size().

void n2l::cGuiElement::draw  )  const [virtual]
 

Draw ourselves on the screen.

Note:
This method does not set the projection matrix.

Reimplemented in n2l::cGuiButton, n2l::cGuiButtonSelectBox, n2l::cGuiCanvas, n2l::cGuiLabel, n2l::cGuiModelView, n2l::cGuiProgressBar, n2l::cGuiSButton, n2l::cGuiSButtonSelectBox, n2l::cGuiSlider, n2l::cGuiSprite, n2l::cGuiSpriteMousePointer, n2l::cGuiTextDisplay, and n2l::cGuiTextInput.

Definition at line 342 of file cGuiElement.cpp.

Referenced by n2l::cGuiCanvas::draw().

void n2l::cGuiElement::focus const tBool  iFocus  )  [virtual]
 

Set the current focus status of this element.

Reimplemented in n2l::cGuiInteractive.

Definition at line 367 of file cGuiElement.cpp.

References canvas(), n2l::cGuiCanvas::dropAllFocus(), mHasFocus, and stateChanged().

const tBool n2l::cGuiElement::focus  )  const [virtual]
 

Get the wheither or not this element currently has focus.

Reimplemented in n2l::cGuiInteractive.

Definition at line 361 of file cGuiElement.cpp.

References mHasFocus.

Referenced by n2l::cGuiTextInput::draw(), n2l::cGuiInteractive::focus(), n2l::cGuiCanvas::focusBack(), n2l::cGuiCanvas::focusForward(), and n2l::cGuiInteractive::keystroke().

const cAutoPtr< cGuiElement > n2l::cGuiElement::get const tGuiName iName  )  [virtual]
 

Find a child node by the name provided.

Note:
The default return is 0

Reimplemented in n2l::cGuiCanvas.

Definition at line 142 of file cGuiElement.cpp.

Referenced by mustGet().

cGuiElement::tOElementList & n2l::cGuiElement::getByType tOElementList oList,
const type_info &  iType
[virtual]
 

Definition at line 354 of file cGuiElement.cpp.

cGuiElement::tOElementList n2l::cGuiElement::getByType const type_info &  iType  )  [virtual]
 

Note:
Final

Reimplemented in n2l::cGuiCanvas.

Definition at line 347 of file cGuiElement.cpp.

const tBool n2l::cGuiElement::hasChildren  )  const [virtual]
 

Return whether or not this element has children that must be searched if trying to find a node.

Reimplemented in n2l::cGuiCanvas.

Definition at line 462 of file cGuiElement.cpp.

const tGuiPos& n2l::cGuiElement::innerPos  )  const [inline]
 

Definition at line 249 of file cGuiElement.h.

Referenced by n2l::cGuiTextDisplay::dimensionChanged(), n2l::cGuiSlider::dimensionChanged(), n2l::cGuiSButtonSelectBox::dimensionChanged(), n2l::cGuiButtonSelectBox::dimensionChanged(), n2l::cGuiTextInput::draw(), n2l::cGuiTextDisplay::draw(), n2l::cGuiSprite::draw(), n2l::cGuiSButton::draw(), n2l::cGuiProgressBar::draw(), n2l::cGuiLabel::draw(), n2l::cGuiCanvas::draw(), n2l::cGuiButton::draw(), and n2l::cGuiSlider::mouseMove().

const tGuiPos& n2l::cGuiElement::innerSize  )  const [inline]
 

Definition at line 250 of file cGuiElement.h.

Referenced by n2l::cGuiTextDisplay::dimensionChanged(), n2l::cGuiSlider::dimensionChanged(), n2l::cGuiSButtonSelectBox::dimensionChanged(), n2l::cGuiButtonSelectBox::dimensionChanged(), n2l::cGuiTextInput::draw(), n2l::cGuiTextDisplay::draw(), n2l::cGuiSpriteMousePointer::draw(), n2l::cGuiSprite::draw(), n2l::cGuiSButton::draw(), n2l::cGuiProgressBar::draw(), n2l::cGuiLabel::draw(), n2l::cGuiCanvas::draw(), n2l::cGuiButton::draw(), and n2l::cGuiTextDisplay::propertyChanged().

void n2l::cGuiElement::load const cDynVar iDefinition  )  [virtual]
 

Load this elements properties from the provided definition.

Reimplemented in n2l::cGuiButton, n2l::cGuiButtonSelectBox, n2l::cGuiCanvas, n2l::cGuiInteractive, n2l::cGuiLabel, n2l::cGuiModelView, n2l::cGuiProgressBar, n2l::cGuiSButton, n2l::cGuiSButtonSelectBox, n2l::cGuiSlider, n2l::cGuiSprite, n2l::cGuiSpriteMousePointer, n2l::cGuiTextDisplay, and n2l::cGuiTextInput.

Definition at line 105 of file cGuiElement.cpp.

References n2l::asUint(), bindUserAction(), n2l::cGuiACFactory::current(), n2l::cGuiACFactory::load(), padding(), pos(), renderOrder(), and size().

void n2l::cGuiElement::load const cVfsNodeInterface iNode  )  [virtual]
 

Load this elements properties from the provided VFS Node.

Reimplemented in n2l::cGuiButton, n2l::cGuiButtonSelectBox, n2l::cGuiCanvas, n2l::cGuiLabel, n2l::cGuiModelView, n2l::cGuiProgressBar, n2l::cGuiSButton, n2l::cGuiSButtonSelectBox, n2l::cGuiSlider, n2l::cGuiSprite, n2l::cGuiSpriteMousePointer, n2l::cGuiTextDisplay, and n2l::cGuiTextInput.

Definition at line 97 of file cGuiElement.cpp.

References validateAndDecode().

Referenced by n2l::cGuiSpriteMousePointer::load(), n2l::cGuiSprite::load(), n2l::cGuiModelView::load(), n2l::cGuiLabel::load(), n2l::cGuiInteractive::load(), and n2l::cGuiCanvas::load().

template<class TSEClass>
static const cAutoPtr<cGuiElement> n2l::cGuiElement::loadNew const cDynVar iDef  )  [inline, static]
 

Reimplemented in n2l::cGuiModelView, n2l::cGuiProgressBar, and n2l::cGuiSprite.

Definition at line 219 of file cGuiElement.h.

const cAutoPtr< cGuiElement > n2l::cGuiElement::mustGet const tGuiName iName  )  [virtual]
 

Find a child node and throw an exception if it doesn't exist rather than returning 0.

Definition at line 148 of file cGuiElement.cpp.

References get(), and n2l::cAutoPtr< TPtr >::isSet().

Referenced by n2l::cGuiACSetProp::execute(), n2l::cGuiACRemoveElement::execute(), n2l::cGuiACIfProp::execute(), n2l::cGuiACClearEffects::execute(), and n2l::cGuiACAddEffect::execute().

void n2l::cGuiElement::name const tString iName  )  [virtual]
 

Definition at line 289 of file cGuiElement.cpp.

References mName, and stateChanged().

const tString & n2l::cGuiElement::name  )  const [virtual]
 

Definition at line 184 of file cGuiElement.cpp.

References mName.

Referenced by cloneInto(), n2l::cGuiCanvas::load(), and update().

const tUint n2l::cGuiElement::nextElementNumber  )  [protected]
 

Definition at line 382 of file cGuiElement.cpp.

Referenced by cGuiElement().

const tUint n2l::cGuiElement::numEffects  )  const [virtual]
 

Get the number of effects currently acting on this element.

Definition at line 486 of file cGuiElement.cpp.

References mEffects.

const tGuiPos& n2l::cGuiElement::outerPos  )  const [inline]
 

Definition at line 246 of file cGuiElement.h.

References mPos.

Referenced by n2l::cGuiTextInput::draw(), n2l::cGuiSlider::draw(), n2l::cGuiSButton::draw(), n2l::cGuiCanvas::draw(), and n2l::cGuiButton::draw().

const tGuiPos& n2l::cGuiElement::outerSize  )  const [inline]
 

Definition at line 247 of file cGuiElement.h.

References mSize.

Referenced by n2l::cGuiTextInput::draw(), n2l::cGuiSlider::draw(), n2l::cGuiSButton::draw(), n2l::cGuiCanvas::draw(), n2l::cGuiButton::draw(), and n2l::cGuiCanvas::systemEvent().

void n2l::cGuiElement::padding const tGuiPos iTopLeft,
const tGuiPos iBottomRight
[virtual]
 

Definition at line 279 of file cGuiElement.cpp.

References dimensionChanged(), mBottomRightPadding, and mTopLeftPadding.

Referenced by load(), and prop().

void n2l::cGuiElement::pos const tGuiPos iPos  )  [virtual]
 

Definition at line 262 of file cGuiElement.cpp.

References dimensionChanged(), and mPos.

const tGuiPos & n2l::cGuiElement::pos  )  const [virtual]
 

Definition at line 159 of file cGuiElement.cpp.

References mPos.

Referenced by n2l::cGuiSEFollowB3Curve::actOn(), cloneInto(), n2l::cGuiSpriteMousePointer::draw(), n2l::cGuiModelView::draw(), n2l::cGuiCanvas::draw(), load(), prop(), n2l::cGuiSpriteMousePointer::systemEvent(), n2l::cGuiInteractive::systemEvent(), n2l::cGuiCanvas::systemEvent(), n2l::cGuiInteractive::systemEventOutside(), and n2l::cGuiCanvas::systemEventOutside().

const cDynVar n2l::cGuiElement::prop const tString iName,
const tString iInnerKey = ""
const [virtual]
 

Reimplemented in n2l::cGuiCanvas, n2l::cGuiLabel, n2l::cGuiModelView, n2l::cGuiSButton, n2l::cGuiSprite, and n2l::cGuiTextDisplay.

Definition at line 235 of file cGuiElement.cpp.

References n2l::cDynVar::Array, bottomRightPadding(), mName, n2l::cDynVar::Null, renderOrder(), size(), topLeftPadding(), n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::x(), and n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y().

void n2l::cGuiElement::prop const tString iName,
const cDynVar iVal,
const tString iInnerKey = ""
[virtual]
 

Set a property by name.

Which properites are supported and the format for each set is renegotiated as required.

Note:
Each derived class needs to reimplement this method to support its own properties. Parent classes should be called AFTER the derived class checks, not before which is opposite to most similar classes.

Reimplemented in n2l::cGuiCanvas, n2l::cGuiLabel, n2l::cGuiModelView, n2l::cGuiSButton, n2l::cGuiSprite, and n2l::cGuiTextDisplay.

Definition at line 206 of file cGuiElement.cpp.

References n2l::cDynVar::isArray(), padding(), pos(), renderOrder(), n2l::cDynVar::size(), and size().

Referenced by n2l::cGuiSEColourTrans::actOn(), n2l::cGuiButton::cloneInto(), n2l::cGuiACSetProp::execute(), n2l::cGuiACIfProp::execute(), n2l::cGuiTextDisplay::prop(), n2l::cGuiSprite::prop(), n2l::cGuiSButton::prop(), n2l::cGuiModelView::prop(), n2l::cGuiLabel::prop(), and n2l::cGuiCanvas::prop().

void n2l::cGuiElement::propertyChanged  )  [protected, virtual]
 

Reimplemented in n2l::cGuiTextDisplay.

Definition at line 412 of file cGuiElement.cpp.

Referenced by n2l::cGuiTextDisplay::propertyChanged().

const tSint & n2l::cGuiElement::renderOrder  )  const [virtual]
 

Definition at line 200 of file cGuiElement.cpp.

References mRenderOrder.

Referenced by cloneInto(), load(), and prop().

void n2l::cGuiElement::renderOrder const tSint  iOrder  )  [virtual]
 

Definition at line 190 of file cGuiElement.cpp.

References mMyCanvas, and mRenderOrder.

void n2l::cGuiElement::size const tGuiPos iSize  )  [virtual]
 

Definition at line 271 of file cGuiElement.cpp.

References dimensionChanged(), and mSize.

const tGuiPos & n2l::cGuiElement::size  )  const [virtual]
 

Definition at line 165 of file cGuiElement.cpp.

References mSize.

Referenced by cloneInto(), n2l::cGuiSButtonSelectBox::dimensionChanged(), n2l::cGuiButtonSelectBox::dimensionChanged(), n2l::cGuiModelView::draw(), n2l::cGuiCanvas::draw(), load(), and prop().

void n2l::cGuiElement::stateChanged  )  [protected, virtual]
 

Definition at line 407 of file cGuiElement.cpp.

Referenced by focus(), and name().

virtual const tBool& n2l::cGuiElement::suicidal  )  const [inline, virtual]
 

Definition at line 244 of file cGuiElement.h.

void n2l::cGuiElement::systemEvent const cAutoPtr< const cEventInterface > &  i_iEvent  )  [virtual]
 

Tell the element that a system event has occured.

Reimplemented in n2l::cGuiButtonSelectBox, n2l::cGuiCanvas, n2l::cGuiInteractive, n2l::cGuiSButtonSelectBox, n2l::cGuiSlider, n2l::cGuiSpriteMousePointer, and n2l::cGuiTextDisplay.

Definition at line 296 of file cGuiElement.cpp.

void n2l::cGuiElement::systemEventOutside const cAutoPtr< const cEventInterface > &  i_iEvent  )  [virtual]
 

Inform the element that a system event took place outside of its scope.

Generally this is only used to register the release of mouse buttons, or a mouse out action when the mouse moves off of a clipped canvas.

Reimplemented in n2l::cGuiButtonSelectBox, n2l::cGuiCanvas, n2l::cGuiInteractive, n2l::cGuiSButtonSelectBox, and n2l::cGuiTextDisplay.

Definition at line 302 of file cGuiElement.cpp.

const tGuiPos & n2l::cGuiElement::topLeftPadding  )  const [virtual]
 

Definition at line 171 of file cGuiElement.cpp.

References mTopLeftPadding.

Referenced by cloneInto(), and prop().

void n2l::cGuiElement::unbindAction const tActionBindingID  iID,
const tBool  iUser
[protected, virtual]
 

Definition at line 542 of file cGuiElement.cpp.

References n2l::asString(), n2l::GuiActionType_None, and n2l::GuiActionType_NumActionTypes.

Referenced by unbindUserAction().

void n2l::cGuiElement::unbindUserAction const tActionBindingID  iID  )  [virtual]
 

Disconnect a bound user action.

Definition at line 500 of file cGuiElement.cpp.

References unbindAction().

void n2l::cGuiElement::update const tUint  iTimePassed  )  [virtual]
 

Inform the canvas how much time has passed since its last update, usually this is called once per frame.

Reimplemented in n2l::cGuiCanvas, n2l::cGuiModelView, and n2l::cGuiSButtonSelectBox.

Definition at line 308 of file cGuiElement.cpp.

References n2l::cDynVar::Array, broadcastAction(), n2l::GuiActionType_EffectComplete, n2l::GuiActionType_FirstUpdate, n2l::cDynVar::insert(), mEffects, and name().

Referenced by n2l::cGuiSButtonSelectBox::update(), n2l::cGuiModelView::update(), and n2l::cGuiCanvas::update().

void n2l::cGuiElement::validateAndDecode cDynVar oDefinition,
const cVfsNodeInterface iNode,
const tString iRequiredHeader
[static, protected]
 

A utility for inherited loaders, this checks for a required header, and then returns by reference the unserialization of the file buffer contents.

Definition at line 440 of file cGuiElement.cpp.

References n2l::cVfsNodeInterface::buffer(), n2l::cString::c_str(), n2l::cVfsNodeInterface::firstLine(), n2l::cVfsNodeInterface::likeFile(), n2l::cString::size(), and n2l::cDynVar::unserialize().

Referenced by n2l::cGuiTextStyle::load(), n2l::cGuiTextDisplay::load(), n2l::cGuiSprite::load(), n2l::cGuiSlider::load(), n2l::cGuiSButtonSelectBox::load(), n2l::cGuiSButton::load(), n2l::cGuiModelView::load(), n2l::cGuiLabel::load(), load(), n2l::cGuiCanvas::load(), n2l::cGuiButtonSelectBox::load(), and n2l::cGuiButton::load().

const tBool n2l::cGuiElement::wantsFocus  )  const [virtual]
 

This method should return true if the element wants to be able to get the focus via a TAB or SHIFT-TAB.

Note:
Default defined here is no.

Reimplemented in n2l::cGuiButtonSelectBox, n2l::cGuiSButtonSelectBox, and n2l::cGuiTextInput.

Definition at line 376 of file cGuiElement.cpp.


Friends And Related Function Documentation

friend class cGuiCanvas [friend]
 

Definition at line 270 of file cGuiElement.h.

friend class cGuiFill [friend]
 

Definition at line 303 of file cGuiElement.h.

Referenced by n2l::cGuiModelView::cloneInto(), n2l::cGuiSprite::load(), n2l::cGuiModelView::load(), and n2l::cGuiModelView::prop().

friend class cGuiTextStyle [friend]
 

Definition at line 304 of file cGuiElement.h.

Referenced by n2l::cGuiTextDisplay::load(), and n2l::cGuiLabel::load().


Member Data Documentation

tGuiPos n2l::cGuiElement::mBottomRightPadding [protected]
 

Definition at line 259 of file cGuiElement.h.

Referenced by bottomRightPadding(), dimensionChanged(), and padding().

tSpecialEffectContainer n2l::cGuiElement::mEffects [protected]
 

Definition at line 266 of file cGuiElement.h.

Referenced by addEffect(), clearEffects(), numEffects(), and update().

tBool n2l::cGuiElement::mHasFocus [protected]
 

Definition at line 260 of file cGuiElement.h.

Referenced by focus().

cGuiCanvas* n2l::cGuiElement::mMyCanvas [protected]
 

Definition at line 264 of file cGuiElement.h.

Referenced by canvas(), and renderOrder().

tString n2l::cGuiElement::mName [protected]
 

Definition at line 261 of file cGuiElement.h.

Referenced by n2l::cGuiInteractive::addExtraClickedData(), n2l::cGuiInteractive::addExtraFocusData(), n2l::cGuiInteractive::addExtraKeyData(), n2l::cGuiInteractive::addExtraOutData(), n2l::cGuiInteractive::addExtraOverData(), n2l::cGuiInteractive::addExtraPressedData(), n2l::cGuiInteractive::addExtraReleasedData(), cGuiElement(), name(), prop(), and n2l::cGuiSlider::value().

tGuiPos n2l::cGuiElement::mPos [protected]
 

Definition at line 256 of file cGuiElement.h.

Referenced by n2l::cGuiInteractive::collides(), dimensionChanged(), n2l::cGuiProgressBar::draw(), outerPos(), and pos().

tSint n2l::cGuiElement::mRenderOrder [protected]
 

Definition at line 262 of file cGuiElement.h.

Referenced by renderOrder().

tGuiPos n2l::cGuiElement::mSize [protected]
 

Definition at line 257 of file cGuiElement.h.

Referenced by n2l::cGuiInteractive::collides(), dimensionChanged(), n2l::cGuiTextDisplay::draw(), n2l::cGuiProgressBar::draw(), outerSize(), and size().

tGuiPos n2l::cGuiElement::mTopLeftPadding [protected]
 

Definition at line 258 of file cGuiElement.h.

Referenced by dimensionChanged(), padding(), and topLeftPadding().


The documentation for this class was generated from the following files:
©2013 Aaron Cameron