diff options
author | lecoanet | 2002-03-15 14:15:46 +0000 |
---|---|---|
committer | lecoanet | 2002-03-15 14:15:46 +0000 |
commit | a13cb13704ff0df47c90366c40f7006bf99c12d5 (patch) | |
tree | cc054aa3ade77ee74a6502df4b3d6653b297b4e3 /generic/Map.c | |
parent | 01c32de1c22fb456ede293f9ae537c8711f9ef86 (diff) | |
download | tkzinc-a13cb13704ff0df47c90366c40f7006bf99c12d5.zip tkzinc-a13cb13704ff0df47c90366c40f7006bf99c12d5.tar.gz tkzinc-a13cb13704ff0df47c90366c40f7006bf99c12d5.tar.bz2 tkzinc-a13cb13704ff0df47c90366c40f7006bf99c12d5.tar.xz |
Ajustement des ressources couleurs pour tenir compte de la
g�n�ralisation des gradients.
Diffstat (limited to 'generic/Map.c')
-rw-r--r-- | generic/Map.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/Map.c b/generic/Map.c index eaa2c06..6887d37 100644 --- a/generic/Map.c +++ b/generic/Map.c @@ -208,8 +208,9 @@ Init(Item item, map->filled = False; map->fill_pattern = ZnUnspecifiedPattern; map->symbol_patterns = NULL; - map->color = ZnGetGradientByValue(wi->fore_gradient); - map->text_font = Tk_GetFont(wi->interp, wi->win, Tk_NameOfFont(wi->map_text_font)); + map->color = ZnGetGradientByValue(wi->fore_color); + map->text_font = Tk_GetFont(wi->interp, wi->win, + Tk_NameOfFont(wi->map_text_font)); map->map_info_name = ""; map->map_info = NULL; |