#include "type.h"
#include "ssd192X.h"
Go to the source code of this file.
Data Structures | |
struct | fontHeaderType |
Functions | |
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 | MoveFontToSSD16bppMem (UINT8 nFont, UINT32 memOffset, UINT16 byWidth, UINT8 bypp, SSDRGBAType *pfrColor, SSDRGBAType *pbkColor) |
UINT8 | getFontWidth (UINT8 nFont) |
UINT8 | getFontHeight (UINT8 nFont) |
UINT8 | getFontChars (UINT8 nFont) |
UINT16 | Get16bitColor (SSDRGBAType *pc) |
void | CurShapeToSSDMem (int pMemOffset) |
void | FontCharToPos (UINT8 nFont, UINT16 wndWidth, const char chIn, UINT8 bIsAscii, INT16 *px, INT16 *py, UINT8 *pCharWidth) |
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().
UINT16 Get16bitColor | ( | SSDRGBAType * | pc | ) |
References SSDRGBAType::b, SSDRGBAType::g, and SSDRGBAType::r.
Referenced by CharTo16bppMem(), Get16bitColorRGB(), and main().
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().