AaronCameron.net
I can't believe how tired I am.
Not a Member? - Login or Create an Account...MC Offline
Wednesday the 22nd of May 2013 @ 04:58pm
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cGuiSprite Class Reference

A gui element which will draw at the current mouse location to act as a mouse point`er. More...

#include <cGuiSprite.h>

Inheritance diagram for n2l::cGuiSprite:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

A gui element which will draw at the current mouse location to act as a mouse point`er.

Definition at line 45 of file cGuiSprite.h.


Constructor & Destructor Documentation

n2l::cGuiSprite::cGuiSprite  ) 
 

Definition at line 33 of file cGuiSprite.cpp.

Referenced by loadNew().

n2l::cGuiSprite::cGuiSprite const cVfsNodeInterface iNode  ) 
 

Definition at line 44 of file cGuiSprite.cpp.

References load().

n2l::cGuiSprite::cGuiSprite const cDynVar iDefinition  ) 
 

Definition at line 51 of file cGuiSprite.cpp.

References load().

n2l::cGuiSprite::~cGuiSprite  )  [virtual]
 

Definition at line 39 of file cGuiSprite.cpp.


Member Function Documentation

const cAutoPtr< cGuiElement > n2l::cGuiSprite::clone  )  const [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.

Implements n2l::cGuiElement.

Definition at line 93 of file cGuiSprite.cpp.

References cloneInto().

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

Definition at line 101 of file cGuiSprite.cpp.

References n2l::cGuiElement::cloneInto().

Referenced by clone().

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

Draw ourselves on the screen.

Note:
This method does not set the projection matrix.

Reimplemented from n2l::cGuiElement.

Definition at line 81 of file cGuiSprite.cpp.

References n2l::cGuiFill::draw(), n2l::cGuiElement::innerPos(), and n2l::cGuiElement::innerSize().

virtual cGuiFill& n2l::cGuiSprite::fill  )  [inline, virtual]
 

Definition at line 60 of file cGuiSprite.h.

virtual const cGuiFill& n2l::cGuiSprite::fill  )  const [inline, virtual]
 

Definition at line 59 of file cGuiSprite.h.

Referenced by load(), and prop().

void n2l::cGuiSprite::fill const cGuiFill iFill  )  [virtual]
 

Definition at line 87 of file cGuiSprite.cpp.

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

Load this elements properties from the provided definition.

Reimplemented from n2l::cGuiElement.

Definition at line 67 of file cGuiSprite.cpp.

References n2l::cGuiElement::cGuiFill, fill(), and n2l::cGuiElement::load().

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

Load this elements properties from the provided VFS Node.

Reimplemented from n2l::cGuiElement.

Definition at line 58 of file cGuiSprite.cpp.

References n2l::cGuiElement::validateAndDecode().

Referenced by cGuiSprite().

const cAutoPtr< cGuiElement > n2l::cGuiSprite::loadNew const cDynVar iDef  )  [static]
 

Reimplemented from n2l::cGuiElement.

Definition at line 111 of file cGuiSprite.cpp.

References cGuiSprite().

Referenced by n2l::n2lGuiStartup().

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

Reimplemented from n2l::cGuiElement.

Definition at line 134 of file cGuiSprite.cpp.

References n2l::cGuiElement::prop(), and n2l::cGuiFill::prop().

void n2l::cGuiSprite::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 from n2l::cGuiElement.

Definition at line 117 of file cGuiSprite.cpp.

References n2l::cString::empty(), fill(), n2l::cDynVar::isArray(), n2l::cGuiElement::prop(), and n2l::cGuiFill::prop().


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