TdkTextStyleShadowed Class Reference
[The Core Module]

#include <TdkTextStyleShadowed.h>

Inheritance diagram for TdkTextStyleShadowed:

TdkTextStyle TdkTextStyle TdkStyle TdkStyle TdkStyle TdkStyle List of all members.

Public Member Functions

 TdkTextStyleShadowed ()
virtual ~TdkTextStyleShadowed ()
virtual bool autoDraw ()
 Auto Draw the text.
virtual void draw (TdkCanvas *canvas, TeText &text, TeColor &externColor, double externWidthFactor)
 Draw Text.
virtual void drawSample (TdkCanvas *canvas, int x, int y, TeColor &externColor)
 Draw Sample Text.
virtual void setColor (TeColor &color)
 Not Used.
virtual void shadowColor (TeColor &color)
 Set the shadow color.
virtual TeColor & shadowColor ()
 It returns the shadow color.
virtual void shadowDepth (unsigned int value)
 Set the deepth value.
virtual unsigned int shadowDepth ()
 It returns the shadow depth.
virtual bool toBlob (TdkBlob *blob)
 To Blob.
virtual bool load (TdkBlob *blob, TdkStyleVersion version=TeCurrentStyleVer)
 Load.
virtual int getBlobSize ()
 Blob Size.
 TdkTextStyleShadowed ()
virtual ~TdkTextStyleShadowed ()
virtual bool autoDraw ()
 Auto Draw the text.
virtual void setColor (TeColor &color)
 Not Used.
virtual void shadowColor (TeColor &color)
 Set the shadow color.
virtual TeColor & shadowColor ()
 It returns the shadow color.
virtual void shadowDepth (unsigned int value)
 Set the deepth value.
virtual unsigned int shadowDepth ()
 It returns the shadow depth.
virtual bool toBlob (TdkBlob *blob)
 To Blob.
virtual bool load (TdkBlob *blob, TdkStyleVersion version=TeCurrentStyleVer)
 Load.
virtual int getBlobSize ()
 Blob Size.

Protected Attributes

unsigned int _shadowDepth
 depth value of shadow
TeColor _shadowColor
 shadow color

Detailed Description

TdkTextStyleShadowed class.


Constructor & Destructor Documentation

TdkTextStyleShadowed::TdkTextStyleShadowed (  ) 

TdkTextStyleShadowed::~TdkTextStyleShadowed (  )  [virtual]

TdkTextStyleShadowed::TdkTextStyleShadowed (  ) 

virtual TdkTextStyleShadowed::~TdkTextStyleShadowed (  )  [virtual]


Member Function Documentation

bool TdkTextStyleShadowed::autoDraw (  )  [virtual]

Auto Draw the text.

Implements TdkTextStyle.

void TdkTextStyleShadowed::draw ( TdkCanvas canvas,
TeText &  text,
TeColor &  externColor,
double  externWidthFactor 
) [virtual]

Draw Text.

Draw text with tdk canvas

Parameters:
canvas Tdk Canvas
text text to draw
externColor extern color

Implements TdkTextStyle.

void TdkTextStyleShadowed::drawSample ( TdkCanvas canvas,
int  x,
int  y,
TeColor &  externColor 
) [virtual]

Draw Sample Text.

Draw Sample Text in Dialog text

Implements TdkTextStyle.

void TdkTextStyleShadowed::setColor ( TeColor &  color  )  [virtual]

Not Used.

Implements TdkStyle.

void TdkTextStyleShadowed::shadowColor ( TeColor &  color  )  [virtual]

Set the shadow color.

Parameters:
shadow color value

TeColor & TdkTextStyleShadowed::shadowColor (  )  [virtual]

It returns the shadow color.

Returns:
shadow color value

void TdkTextStyleShadowed::shadowDepth ( unsigned int  value  )  [virtual]

Set the deepth value.

Parameters:
depth value to shadow

unsigned int TdkTextStyleShadowed::shadowDepth (  )  [virtual]

It returns the shadow depth.

Returns:
shadow depth value

bool TdkTextStyleShadowed::toBlob ( TdkBlob blob  )  [virtual]

To Blob.

Method to transform a shadow class to binary

Return values:
blob binary
Returns:
it's true case sucess

Reimplemented from TdkTextStyle.

bool TdkTextStyleShadowed::load ( TdkBlob blob,
TdkStyleVersion  version = TeCurrentStyleVer 
) [virtual]

Load.

Transform a binary item to shadow class

Return values:
blob binary
Parameters:
version Tdk Version
Returns:
it's true case sucess

Reimplemented from TdkTextStyle.

int TdkTextStyleShadowed::getBlobSize (  )  [virtual]

Blob Size.

Method to returns the blob size

Returns:
blob size

Reimplemented from TdkTextStyle.

virtual bool TdkTextStyleShadowed::autoDraw (  )  [virtual]

Auto Draw the text.

Implements TdkTextStyle.

virtual void TdkTextStyleShadowed::setColor ( TeColor &  color  )  [virtual]

Not Used.

Draw Sample Text in Dialog text

Implements TdkStyle.

virtual void TdkTextStyleShadowed::shadowColor ( TeColor &  color  )  [virtual]

Set the shadow color.

Parameters:
shadow color value

virtual TeColor& TdkTextStyleShadowed::shadowColor (  )  [virtual]

It returns the shadow color.

Returns:
shadow color value

virtual void TdkTextStyleShadowed::shadowDepth ( unsigned int  value  )  [virtual]

Set the deepth value.

Parameters:
depth value to shadow

virtual unsigned int TdkTextStyleShadowed::shadowDepth (  )  [virtual]

It returns the shadow depth.

Returns:
shadow depth value

virtual bool TdkTextStyleShadowed::toBlob ( TdkBlob blob  )  [virtual]

To Blob.

Method to transform a shadow class to binary

Return values:
blob binary
Returns:
it's true case sucess

Reimplemented from TdkTextStyle.

virtual bool TdkTextStyleShadowed::load ( TdkBlob blob,
TdkStyleVersion  version = TeCurrentStyleVer 
) [virtual]

Load.

Transform a binary item to shadow class

Return values:
blob binary
Parameters:
version Tdk Version
Returns:
it's true case sucess

Reimplemented from TdkTextStyle.

virtual int TdkTextStyleShadowed::getBlobSize (  )  [virtual]

Blob Size.

Method to returns the blob size

Returns:
blob size

Reimplemented from TdkTextStyle.


Member Data Documentation

unsigned int TdkTextStyleShadowed::_shadowDepth [protected]

depth value of shadow

TeColor TdkTextStyleShadowed::_shadowColor [protected]

shadow color


The documentation for this class was generated from the following files:
Generated on Fri Jun 15 16:54:57 2007 for TDK by  doxygen 1.5.2