AaronCameron.net
No ads. No Profit. No Master, But Truth.
Not a Member? - Login or Create an Account
Tuesday the 7th of February 2012 @ 05:07pm
Front Page Journal Projects Your Profile About
[]

LibN2L-4 Library Code Reference

Classes
Compounds
Files
Members
Method Index
Full Reference

n2l::cGuiProgressBar Class Reference

#include <cGuiProgressBar.h>

Inheritance diagram for n2l::cGuiProgressBar:

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

Collaboration graph
[legend]
List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Protected Member Functions


Detailed Description

Definition at line 44 of file cGuiProgressBar.h.


Member Typedef Documentation

typedef tFloat n2l::cGuiProgressBar::tValue
 

Definition at line 60 of file cGuiProgressBar.h.


Member Enumeration Documentation

enum n2l::cGuiProgressBar::tProp
 

Enumerator:
Prop_Gutter 
Prop_Bar 
Prop_NumProps 

Definition at line 53 of file cGuiProgressBar.h.

enum n2l::cGuiProgressBar::tState
 

Enumerator:
State_Normal 
State_NumStates 

Definition at line 47 of file cGuiProgressBar.h.


Constructor & Destructor Documentation

n2l::cGuiProgressBar::cGuiProgressBar  ) 
 

Definition at line 34 of file cGuiProgressBar.cpp.

Referenced by loadNew().

n2l::cGuiProgressBar::cGuiProgressBar const cVfsNodeInterface iNode  ) 
 

Definition at line 41 of file cGuiProgressBar.cpp.

References load().

n2l::cGuiProgressBar::cGuiProgressBar const cDynVar iDefinition  ) 
 

Definition at line 49 of file cGuiProgressBar.cpp.

References load().

n2l::cGuiProgressBar::~cGuiProgressBar  )  [virtual]
 

Definition at line 57 of file cGuiProgressBar.cpp.


Member Function Documentation

virtual const cAutoPtr<cGuiElement> n2l::cGuiProgressBar::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.

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

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

Draw ourselves on the screen.

Note:
This method does not set the projection matrix.

Reimplemented from n2l::cGuiElement.

Definition at line 114 of file cGuiProgressBar.cpp.

References n2l::cGuiTextStyle::draw(), n2l::cGuiFill::draw(), n2l::cGuiElement::innerPos(), n2l::cGuiElement::innerSize(), n2l::cGuiElement::mPos, n2l::cGuiElement::mSize, Prop_Bar, Prop_Gutter, n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::x(), and n2l::cVector2< TComponent, TComponentDiff, TMagnitude >::y().

void n2l::cGuiProgressBar::fill const tState  iState,
const tProp  iProp,
const cGuiFill iFill
[virtual]
 

Definition at line 74 of file cGuiProgressBar.cpp.

References Prop_NumProps.

const tString & n2l::cGuiProgressBar::label  )  const [virtual]
 

Definition at line 102 of file cGuiProgressBar.cpp.

void n2l::cGuiProgressBar::label const tString iText  )  [virtual]
 

Definition at line 96 of file cGuiProgressBar.cpp.

void n2l::cGuiProgressBar::labelStyle const cGuiTextStyle iStyle  )  [virtual]
 

Definition at line 108 of file cGuiProgressBar.cpp.

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

Load this elements properties from the provided definition.

Reimplemented from n2l::cGuiElement.

Definition at line 68 of file cGuiProgressBar.cpp.

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

Load this elements properties from the provided VFS Node.

Reimplemented from n2l::cGuiElement.

Definition at line 62 of file cGuiProgressBar.cpp.

Referenced by cGuiProgressBar().

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

Reimplemented from n2l::cGuiElement.

Definition at line 122 of file cGuiProgressBar.cpp.

References cGuiProgressBar().

const cGuiProgressBar::tValue & n2l::cGuiProgressBar::value  )  const [virtual]
 

Definition at line 90 of file cGuiProgressBar.cpp.

void n2l::cGuiProgressBar::value const tValue iValue  )  [virtual]
 

Definition at line 84 of file cGuiProgressBar.cpp.

References n2l::n2l_max(), and n2l::n2l_min().


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