Amulets & Armor  v1.02
Open Source Game
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions
TEXT

Text UI Component. More...

Functions

T_void TextCleanString (T_byte8 *stringToClean)
 
T_void TextCleanUp (T_void)
 
T_textID TextCreate (T_word16 lx, T_word16 ly, const T_byte8 *string)
 
T_void TextDelete (T_textID textID)
 
T_void TextDrawCallBack (T_graphicID graphicID, T_word16 index)
 
T_graphicID TextGetGraphicID (T_textID textID)
 
T_void TextMoveText (T_textID textID, T_word16 x, T_word16 y)
 
T_void TextSetColor (T_textID textID, T_byte8 fc, T_byte8 bc)
 
T_void TextSetFont (T_textID textID, T_byte8 *fontname)
 
T_void TextSetText (T_textID textID, const T_byte8 *string)
 

Detailed Description

Text UI Component.

Text User Interface components for handling text on UI objects.

See Also
http://www.amuletsandarmor.com/AALicense.txt

Function Documentation

T_void TextCleanString ( T_byte8 stringToClean)
T_void TextCleanUp ( T_void  )
T_textID TextCreate ( T_word16  lx,
T_word16  ly,
const T_byte8 string 
)

Adds a text to the current list of texts for a form

T_void TextDelete ( T_textID  textID)

Releases memory allocated to a text Cleanup releases memory allocated to all 'texts'

T_void TextDrawCallBack ( T_graphicID  graphicID,
T_word16  index 
)

A routine that is called to draw the text (callback routine assigned to p_graphicID, called from GraphicDraw)

T_graphicID TextGetGraphicID ( T_textID  textID)
T_void TextMoveText ( T_textID  textID,
T_word16  x,
T_word16  y 
)
T_void TextSetColor ( T_textID  textID,
T_byte8  fc,
T_byte8  bc 
)
T_void TextSetFont ( T_textID  textID,
T_byte8 fontname 
)
T_void TextSetText ( T_textID  textID,
const T_byte8 string 
)