#include "io.h"#include "type.h"#include "ssd192X.h"#include "text.h"#include "color.h"#include "msg.h"#include "eeprom.h"#include "trace.h"
Defines | |
| #define | LARGENUM |
| #define | USESECONDFONT |
| #define | FONT_WIDTH (8>>2) |
| #define | FONT_HEIGHT 8 |
Functions | |
| UINT8 | getFontWidth (UINT8 nFont) |
| UINT8 | getFontHeight (UINT8 nFont) |
| UINT8 | getFontChars (UINT8 nFont) |
| UINT8 | TextDataLow (UINT8 pIconData) |
| UINT8 | TextDataHigh (UINT8 pIconData) |
| UINT8 | TextDataHigh2 (UINT8 pIconData) |
| UINT8 | TextDataLow2 (UINT8 pIconData) |
| UINT8 | GetFontByte (UINT8 nFont, UINT32 offset) |
| void | CurShapeToSSDMem (int pMemOffset) |
| void | CharToCursorMem (int pMemOffset, int destWidth, const UINT8 iAsciiNum, int iXPos, int iYPos, int iInvert) |
| void | StringToCursorMem (int pMemOffset, int destWidth, const char *str, int iXPos, int iYPos, int iInvert) |
| void | CharTo16bppMem (UINT8 nFont, UINT32 memOffset, UINT16 byWidth, UINT8 bypp, SSDRGBAType *pfrColor, SSDRGBAType *pbkColor, UINT8 nChar, UINT8 *charWidthOut) |
| void | FontCharToPos (UINT8 nFont, UINT16 wndWidth, const char chIn, UINT8 bIsAscii, INT16 *px, INT16 *py, UINT8 *pCharWidth) |
| void | MoveFontToSSD16bppMem (UINT8 nFont, UINT32 memOffset, UINT16 byWidth, UINT8 bypp, SSDRGBAType *pfrColor, SSDRGBAType *pbkColor) |
Variables | |
| fontHeaderType | fontDesc [] |
| UINT8 | bitLookup1 [] |
| UINT8 | bitLookup2 [] |
| UINT8 | sofaChromeByteLookup [] |
| #define FONT_HEIGHT 8 |
Referenced by CharToCursorMem().
| #define FONT_WIDTH (8>>2) |
Referenced by CharToCursorMem().
| #define LARGENUM |
| #define USESECONDFONT |
| void CharTo16bppMem | ( | UINT8 | nFont, | |
| UINT32 | memOffset, | |||
| UINT16 | byWidth, | |||
| UINT8 | bypp, | |||
| SSDRGBAType * | pfrColor, | |||
| SSDRGBAType * | pbkColor, | |||
| UINT8 | nChar, | |||
| UINT8 * | charWidthOut | |||
| ) |
References SSDRGBAType::a, bitLookup1, bitLookup2, Get16bitColor(), GetFontByte(), getFontHeight(), getFontWidth(), sofaChromeByteLookup, and SSD_MEMWW.
Referenced by MoveFontToSSD16bppMem().


| void CharToCursorMem | ( | int | pMemOffset, | |
| int | destWidth, | |||
| const UINT8 | iAsciiNum, | |||
| int | iXPos, | |||
| int | iYPos, | |||
| int | iInvert | |||
| ) |
References FONT_HEIGHT, FONT_WIDTH, GetFontByte(), SSD_MEMWB, TextDataHigh2(), and TextDataLow2().
Referenced by StringToCursorMem().


| void CurShapeToSSDMem | ( | int | pMemOffset | ) |
| void FontCharToPos | ( | UINT8 | nFont, | |
| UINT16 | wndWidth, | |||
| const char | chIn, | |||
| UINT8 | bIsAscii, | |||
| INT16 * | px, | |||
| INT16 * | py, | |||
| UINT8 * | pCharWidth | |||
| ) |
References GetFontByte(), getFontChars(), getFontHeight(), and getFontWidth().
Referenced by MoveFontToSSD16bppMem(), and TextOut().


References Font1Off, Font2Off, Font3Off, and read_I2C_EE().
Referenced by CharTo16bppMem(), CharToCursorMem(), and FontCharToPos().


References fontHeaderType::gliphs.
Referenced by FontCharToPos(), and MoveFontToSSD16bppMem().

References fontHeaderType::height.
Referenced by CharTo16bppMem(), FontCharToPos(), and TextOut().

References fontHeaderType::width.
Referenced by CharTo16bppMem(), FontCharToPos(), and TextOut().

| void MoveFontToSSD16bppMem | ( | UINT8 | nFont, | |
| UINT32 | memOffset, | |||
| UINT16 | byWidth, | |||
| UINT8 | bypp, | |||
| SSDRGBAType * | pfrColor, | |||
| SSDRGBAType * | pbkColor | |||
| ) |
References CharTo16bppMem(), FontCharToPos(), and getFontChars().
Referenced by RedrawFont().


| void StringToCursorMem | ( | int | pMemOffset, | |
| int | destWidth, | |||
| const char * | str, | |||
| int | iXPos, | |||
| int | iYPos, | |||
| int | iInvert | |||
| ) |
References CharToCursorMem().
Referenced by main().


{
0x80,0x40,0x20,0x10,0x8,0x4,0x2,0x1
}
Referenced by CharTo16bppMem().
{
0x80,0x40,0x20,0x10,0x8,0x4,0x2,0x1,
0x80,0x40,0x20,0x10,0x8,0x4,0x2,0x1,
0x80,0x40,0x20,0x10,0x8,0x4,0x2,0x1,
0x80,0x40,0x20,0x10,0x8,0x4,0x2,0x1
}
Referenced by CharTo16bppMem().
{
{8, 8, 1, 127},
{24, 10, 0, 40},
{24, 32, 1, 12}
}
{
0,1,2,3
}
Referenced by CharTo16bppMem().
1.6.3