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
This commit is contained in:
guy 1997-11-12 10:53:00 +00:00
parent 8f2b3c2ba3
commit 730df08899

View File

@ -9,6 +9,8 @@
#include <mask.h>
#include <urldefid.h>
#include <statbar.h>
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()