Fission FSN
Loading...
Searching...
No Matches
gfCSceneTextComponent Class Reference

#include <gfCSceneTextComponent.h>

Inheritance diagram for gfCSceneTextComponent:

Public Member Functions

virtual ~gfCSceneTextComponent ()
Public Member Functions inherited from fsITextSpriteComponent
void outlineSet (const fsSColour4B &pOutline, fsF32 pSize) const
void shadowSet (const fsSColour4B &pShadow, fsVec2d pOffset, fsF32 pBlurRadius) const
void glowSet (const fsSColour4B &pGlow) const
void alignmentSet (eHORIZONTAL_ALIGNMENT pAlignH, eVERTICAL_ALIGNMENT pAlignV)
void initialise (const fsStr &pText, fsIFont *pFont)
fsS32 stringWidthInPixelsGet () const
void formattingRectSizeSet (const fsRect &pFormattingRect)
void colourSet (const fsSColour4B &pColour)
void textSet (const fsStr &pText)
fsStr textGet () const
Public Member Functions inherited from fsIComponent
template<typename TInterface>
std::vector< fsCEntity * > appSceneEntitiesWithComponentOfFamilyType () const
template<typename TInterface>
fsCEntityappSceneFirstEntityWithComponentOfFamilyType () const
fsCEntityappSceneEntityNamed (const fsStr &pName) const
void reset ()
void update (fsS32 pDeltaMs)
void render ()
void matrixApply ()
void postLoad ()
void deserialise ()
void serialise ()
void initialiseFromVariableTable (const fsCVariableTable &pVars)
void initialise ()
void finalise ()
fsCEntityparentGet () const
fsCEntitygrandparentGet () const

Static Public Attributes

static const fsCUniqueId mTypeId
static const fsStr mEntityPrefix
Static Public Attributes inherited from fsCTextSpriteComponent
static const fsCUniqueId mTypeId

Protected Member Functions

void initialiseDo () override
 gfCSceneTextComponent (fsCEntity *pParent)
Protected Member Functions inherited from fsCTextSpriteComponent
void outlineSetDo (const fsSColour4B &pOutline, fsF32 pSize) const override
void shadowSetDo (const fsSColour4B &pShadow, fsVec2d pOffset, fsF32 pBlurRadius) const override
void glowSetDo (const fsSColour4B &pGlow) const override
void alignmentSetDo (eHORIZONTAL_ALIGNMENT pAlignH, eVERTICAL_ALIGNMENT pAlignV) override
void initialiseDo (const fsStr &pText, fsIFont *pFont) override
fsS32 stringWidthInPixelsGetDo () const override
void formattingRectSizeSetDo (const fsRect &pFormattingRect) override
void colourSetDo (const fsSColour4B &pColour) override
fsStr textGetDo () const override
void textSetDo (const fsStr &pText) override
void initialiseFromVariableTableDo (const fsCVariableTable &pVars) override
void renderDo () override
void matrixApplyDo () override
 fsCTextSpriteComponent (fsCEntity *pParent)
virtual ~fsCTextSpriteComponent ()
Protected Member Functions inherited from fsITextSpriteComponent
 fsITextSpriteComponent (fsCEntity *pParent)
virtual ~fsITextSpriteComponent ()
Protected Member Functions inherited from fsIRenderableComponent
 fsIRenderableComponent (fsCEntity *pParent)
virtual ~fsIRenderableComponent ()
Protected Member Functions inherited from fsIComponent
virtual void resetDo ()
virtual void updateDo (fsS32 pDeltaMs)
virtual void postLoadDo ()
virtual void deserialiseDo ()
virtual void serialiseDo ()
virtual void finaliseDo ()
virtual ~fsIComponent ()
 fsIComponent (fsCEntity *pParent)

Static Protected Member Functions

static fsIComponentcreate (fsCEntity *pParent)
Static Protected Member Functions inherited from fsCTextSpriteComponent
static fsIComponentcreate (fsCEntity *pParent)

Friends

class fsCComponentFactory

Additional Inherited Members

Public Types inherited from fsITextSpriteComponent
enum  eHORIZONTAL_ALIGNMENT { eHALIGN_LEFT = 0 , eHALIGN_CENTRE , eHALIGN_RIGHT }
enum  eVERTICAL_ALIGNMENT { eVALIGN_TOP = 0 , eVALIGN_MIDDLE , eVALIGN_BOTTOM }
Static Public Member Functions inherited from fsITextSpriteComponent
static fsPoint fontSizeGet (const fsCVariableTable &pVars)
Protected Attributes inherited from fsCTextSpriteComponent
fsCTextSpritemTextSprite
fsS32 mHAlign

Constructor & Destructor Documentation

◆ ~gfCSceneTextComponent()

gfCSceneTextComponent::~gfCSceneTextComponent ( )
virtual

◆ gfCSceneTextComponent()

gfCSceneTextComponent::gfCSceneTextComponent ( fsCEntity * pParent)
protected

Member Function Documentation

◆ create()

fsIComponent * gfCSceneTextComponent::create ( fsCEntity * pParent)
staticprotected

◆ initialiseDo()

void gfCSceneTextComponent::initialiseDo ( )
overrideprotectedvirtual

Reimplemented from fsIComponent.

◆ fsCComponentFactory

friend class fsCComponentFactory
friend

Member Data Documentation

◆ mEntityPrefix

const fsStr gfCSceneTextComponent::mEntityPrefix
static

◆ mTypeId

const fsCUniqueId gfCSceneTextComponent::mTypeId
static

The documentation for this class was generated from the following files: