From 730df0889903f86b6f5fdbb70609561a222c461d Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 12 Nov 1997 10:53:00 +0000 Subject: [PATCH] Aggiorna anche il font della toolbar quando si cambia font git-svn-id: svn://10.65.10.50/trunk@5603 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/controls.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/include/controls.cpp b/include/controls.cpp index 5407c78a3..43d694fe0 100755 --- a/include/controls.cpp +++ b/include/controls.cpp @@ -9,6 +9,8 @@ #include #include +#include + COLOR MASK_BACK_COLOR = COLOR_DKCYAN; COLOR MASK_LIGHT_COLOR = COLOR_CYAN; COLOR MASK_DARK_COLOR = COLOR_GRAY; @@ -191,8 +193,11 @@ XVT_FNTID xvt_load_default_font() } X_FU_MULTIPLE = Y_FU_MULTIPLE = 0; + + XVT_FNTID font = xvt_default_font(FALSE); + statbar_set_fontid(TASK_WIN, font); - return xvt_default_font(FALSE); + return font; } static byte event_map[XIE_POST_NAVIGATION+1]; @@ -277,7 +282,7 @@ void customize_colors() if (_picture) _picture->reload(); - xvt_load_default_font(); // Aggirorna anche il font! + xvt_load_default_font(); // Aggiorna anche il font! } void init_controls()