Main Page | Class Hierarchy | Class List | File List | Class Members

aedStaticText Class Reference

#include <aedStaticText.h>

Inheritance diagram for aedStaticText:

aedTextBox List of all members.

Public Member Functions

virtual void render (void)
virtual void setJustification (aedJusts just)
void setFontSize (Uint8 size)
Uint8 getFontSize (void) const
void setTextColor (aedColor color)
void setTextBold (bool bold)
void setWordWrap (bool state)
int getPosAtPixel (int x, int y)
virtual void setCaption (const std::string &caption)

Protected Member Functions

void updateFont ()

Protected Attributes

aedColor m_TextColor
aedJusts m_Justification

Detailed Description

This class is used for displaying labels and is the base class for the textbox widget.


Member Function Documentation

void aedStaticText::setFontSize Uint8  size  ) 
 

Set font size.

virtual void aedStaticText::setJustification aedJusts  just  )  [inline, virtual]
 

Set text justification.

Parameters:
just one of AED_JUST_LEFT, AED_JUST_CENTER, AED_JUST_RIGHT

void aedStaticText::setTextBold bool  bold  ) 
 

Enable/disable bold text.

void aedStaticText::setTextColor aedColor  color  )  [inline]
 

Set text color.

void aedStaticText::setWordWrap bool  state  )  [inline]
 

Enable/disable word wrapping.


The documentation for this class was generated from the following file:
Generated on Mon Mar 1 19:56:19 2004 for aedGUI by doxygen 1.3.6