aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Image.h38
1 files changed, 15 insertions, 23 deletions
diff --git a/generic/Image.h b/generic/Image.h
index 87860cb..2b81246 100644
--- a/generic/Image.h
+++ b/generic/Image.h
@@ -64,34 +64,26 @@ GLuint
ZnImageTex(ZnImage image, ZnReal *t, ZnReal *s);
typedef struct _ZnTexGlyphVertexInfo {
- GLfloat t0[2];
- GLshort v0[2];
- GLfloat t1[2];
- GLshort v1[2];
- GLfloat t2[2];
- GLshort v2[2];
- GLfloat t3[2];
- GLshort v3[2];
- GLfloat advance;
+ GLfloat t0x;
+ GLfloat t0y;
+ GLshort v0x;
+ GLshort v0y;
+ GLfloat t1x;
+ GLfloat t1y;
+ GLshort v1x;
+ GLshort v1y;
+ GLfloat advance;
+ int code;
} ZnTexGVI;
typedef void *ZnTexFontInfo;
-ZnTexFontInfo
-ZnGetTexFont(struct _ZnWInfo *wi, Tk_Font font);
-void
-ZnFreeTexFont(ZnTexFontInfo tfi);
-ZnBool
-ZnCharInTexFont(ZnTexFontInfo tfi, unsigned int c);
-ZnTexGVI *
-ZnTexFontGVI(ZnTexFontInfo tfi, unsigned int c);
-GLuint
-ZnTexFontTex(ZnTexFontInfo tfi);
-#ifndef PTK_800
-Tcl_Encoding
-ZnTexFontEncoding(ZnTexFontInfo tfi);
-#endif
+ZnTexFontInfo ZnGetTexFont(struct _ZnWInfo *wi, Tk_Font font);
+void ZnFreeTexFont(ZnTexFontInfo tfi);
+ZnTexGVI *ZnTexFontGVI(ZnTexFontInfo tfi, int c);
+int ZnGetFontIndex(ZnTexFontInfo tfi, int c);
+GLuint ZnTexFontTex(ZnTexFontInfo tfi);
#endif
#endif /* _Image_h */