mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
Moving glyph-measuring code to drawing
This commit is contained in:
parent
c672b00afa
commit
ff5ea1cb44
1 changed files with 11 additions and 1 deletions
|
@ -56,6 +56,16 @@ typedef struct PalmAppGlobals PalmAppGlobals;
|
||||||
|
|
||||||
typedef XP_UCHAR* (*GetResStringFunc)( PalmAppGlobals* globals,
|
typedef XP_UCHAR* (*GetResStringFunc)( PalmAppGlobals* globals,
|
||||||
XP_U16 strID );
|
XP_U16 strID );
|
||||||
|
|
||||||
|
#ifdef TALL_FONTS
|
||||||
|
typedef struct {
|
||||||
|
XP_S16 topOffset; /* how many pixels from the top of the
|
||||||
|
drawing area is the first pixel set in
|
||||||
|
the glyph */
|
||||||
|
XP_U16 height; /* How many rows tall is the image? */
|
||||||
|
} PalmFontHtInfo;
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct PalmDrawCtx {
|
typedef struct PalmDrawCtx {
|
||||||
DrawCtxVTable* vtable;
|
DrawCtxVTable* vtable;
|
||||||
PalmAppGlobals* globals;
|
PalmAppGlobals* globals;
|
||||||
|
@ -82,7 +92,7 @@ typedef struct PalmDrawCtx {
|
||||||
|
|
||||||
#ifdef TALL_FONTS
|
#ifdef TALL_FONTS
|
||||||
XP_LangCode fontLangCode;
|
XP_LangCode fontLangCode;
|
||||||
XP_FontBounds* fontLangInfo;
|
PalmFontHtInfo* fontHtInfo;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
union {
|
union {
|
||||||
|
|
Loading…
Reference in a new issue