Mikroelektronika MIKROE-724 データシート

ページ / 726
594
mikoBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
TFT_Set_Font
Prototype
sub procedure TFT_Set_Font(dim activeFont as ^far const byte, dim font_color 
as word, dim font_orientation as byte)
Returns
Nothing
Description Sets font, its color and font orientation.
Parameters:
activeFont
: desired font. Currently, only 
TFT_defaultFont
 (Tahoma14x16) is supported. 
font_color
: sets font color: 
font_orientation
: sets font orientation:
Requires
TFT module needs to be initialized. See the TFT_Init routine.
Example
TFT_Set_Font(@TFT_defaultFont, CL_BLACK, FO_HORIZONTAL)
Value
Description
CL_AQUA
Aqua color
CL_BLACK
Black color
CL_BLUE
Blue color
CL_FUCHSIA
Fuchsia color
CL_GRAY
Gray color
CL_GREEN
Green color
CL_LIME
Lime color
CL_MAROON
Maroon color
CL_NAVY
Navy color
CL_OLIVE
Olive color
CL_PURPLE
Purple color
CL_RED
Red color
CL_SILVER
Silver color
CL_TEAL
Teal color
CL_WHITE
White color
CL_YELLOW
Yellow color
Value
Description
FO_HORIZONTAL
Horizontal orientation
FO_VERTICAL
Vertical orientation