#include "text.h"#include "2d.h"#include "window.h"#include "mem.h"#include "trace.h"
Functions | |
| void | SetFontWindow (WINDOW *pfw) |
| void | RedrawFont () |
| void | SetFontColor (SSDRGBAType *frColor, SSDRGBAType *bkColor, UINT8 bRedrawFont) |
| void | SetActiveFont (UINT8 nFont, INT8 nScale, UINT8 bForce) |
| UINT8 | GetActiveFont () |
| INT8 | GetFontScaling () |
| void | TextOut (WINDOW *pDstWnd, INT16 x, INT16 y, const char *str, UINT16 *pStrLen, ROTATE_TYPE orient) |
Variables | |
| UINT8 | g_activeFont = 1 |
| INT8 | g_FontScaling = 0 |
| WINDOW * | g_pFontWnd |
| SSDRGBAType | g_fontFrColor |
| SSDRGBAType | g_fontBkColor |
| UINT8 GetActiveFont | ( | ) |
References g_activeFont.
| INT8 GetFontScaling | ( | ) |
References g_FontScaling.
| void RedrawFont | ( | ) |
References _WINDOW::bypp, _WINDOW::bywidth, g_activeFont, _WINDOW::mem_offset, and MoveFontToSSD16bppMem().
Referenced by SetActiveFont(), and SetFontColor().


References g_activeFont, g_FontScaling, and RedrawFont().
Referenced by main().


| void SetFontColor | ( | SSDRGBAType * | frColor, | |
| SSDRGBAType * | bkColor, | |||
| UINT8 | bRedrawFont | |||
| ) |
References SSDRGBAType::a, SSDRGBAType::b, SSDRGBAType::g, mem_cpy(), SSDRGBAType::r, and RedrawFont().
Referenced by main().


| void SetFontWindow | ( | WINDOW * | pfw | ) |
| void TextOut | ( | WINDOW * | pDstWnd, | |
| INT16 | x, | |||
| INT16 | y, | |||
| const char * | str, | |||
| UINT16 * | pStrLen, | |||
| ROTATE_TYPE | orient | |||
| ) |
References SSDRGBAType::a, FontCharToPos(), g_activeFont, g_FontScaling, getFontHeight(), getFontWidth(), NONE, ROT270, ROT90, ssd_2d_blt(), TRANSPARENT, VFLIP, and _WINDOW::width.
Referenced by main().


| UINT8 g_activeFont = 1 |
Referenced by GetActiveFont(), RedrawFont(), SetActiveFont(), and TextOut().
| INT8 g_FontScaling = 0 |
Referenced by GetFontScaling(), SetActiveFont(), and TextOut().
1.6.3