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:
parent
8f2b3c2ba3
commit
730df08899
@ -9,6 +9,8 @@
|
|||||||
#include <mask.h>
|
#include <mask.h>
|
||||||
#include <urldefid.h>
|
#include <urldefid.h>
|
||||||
|
|
||||||
|
#include <statbar.h>
|
||||||
|
|
||||||
COLOR MASK_BACK_COLOR = COLOR_DKCYAN;
|
COLOR MASK_BACK_COLOR = COLOR_DKCYAN;
|
||||||
COLOR MASK_LIGHT_COLOR = COLOR_CYAN;
|
COLOR MASK_LIGHT_COLOR = COLOR_CYAN;
|
||||||
COLOR MASK_DARK_COLOR = COLOR_GRAY;
|
COLOR MASK_DARK_COLOR = COLOR_GRAY;
|
||||||
@ -191,8 +193,11 @@ XVT_FNTID xvt_load_default_font()
|
|||||||
}
|
}
|
||||||
|
|
||||||
X_FU_MULTIPLE = Y_FU_MULTIPLE = 0;
|
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];
|
static byte event_map[XIE_POST_NAVIGATION+1];
|
||||||
@ -277,7 +282,7 @@ void customize_colors()
|
|||||||
if (_picture)
|
if (_picture)
|
||||||
_picture->reload();
|
_picture->reload();
|
||||||
|
|
||||||
xvt_load_default_font(); // Aggirorna anche il font!
|
xvt_load_default_font(); // Aggiorna anche il font!
|
||||||
}
|
}
|
||||||
|
|
||||||
void init_controls()
|
void init_controls()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user