aboutsummaryrefslogtreecommitdiff
path: root/generic/WidgetInfo.h
diff options
context:
space:
mode:
authorlecoanet2003-01-14 10:56:33 +0000
committerlecoanet2003-01-14 10:56:33 +0000
commit15a80bd1cfb4b7fb788a9d1945ffff099bd2f262 (patch)
tree0352a05798fbddd2712bf55f437917d4d341d71e /generic/WidgetInfo.h
parentb154cf6b71772b10c83ef89c304868dde30f8211 (diff)
downloadtkzinc-15a80bd1cfb4b7fb788a9d1945ffff099bd2f262.zip
tkzinc-15a80bd1cfb4b7fb788a9d1945ffff099bd2f262.tar.gz
tkzinc-15a80bd1cfb4b7fb788a9d1945ffff099bd2f262.tar.bz2
tkzinc-15a80bd1cfb4b7fb788a9d1945ffff099bd2f262.tar.xz
* Ajout de 2 champ pour m�moriser les textures des fontes
par d�faut.
Diffstat (limited to 'generic/WidgetInfo.h')
-rw-r--r--generic/WidgetInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index e5f7752..06c855a 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -143,6 +143,10 @@ typedef struct _WidgetInfo {
/* Maps global resources */
ZnFont map_text_font; /* Font for texts in Map items */
+#ifdef GLX
+ ZnTexFontInfo map_font_tfi; /* Used to preserve the default font from
+ * being freed again and again */
+#endif
ZnImage map_distance_symbol;
/* display distance marks along Map */
/* lines. */
@@ -162,6 +166,10 @@ typedef struct _WidgetInfo {
int pick_aperture; /* size of pick aperture in pixels */
ZnFont font; /* Default font used in new items */
+#ifdef GLX
+ ZnTexFontInfo font_tfi; /* Used to preserve the default font from
+ * being freed again and again */
+#endif
ZnBool reshape; /* Use the Shape Extension on the window.*/
ZnBool full_reshape; /* Use it on the top level window. */
ZnImage tile;