move the default font option to bsp.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@393 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
8dabef70db
commit
6bfc1cb51b
|
@ -37,8 +37,14 @@ extern struct rtgui_font rtgui_font_arial12;
|
|||
|
||||
/* init theme */
|
||||
void rtgui_system_theme_init()
|
||||
{
|
||||
rtgui_font_set_defaut(&rtgui_font_asc12);
|
||||
{
|
||||
#if RTGUI_DEFAULT_FONT_SIZE == 16
|
||||
rtgui_font_set_defaut(&rtgui_font_asc16);
|
||||
#elif RTGUI_DEFAULT_FONT_SIZE == 12
|
||||
rtgui_font_set_defaut(&rtgui_font_asc12);
|
||||
#else
|
||||
rtgui_font_set_defaut(&rtgui_font_asc12);
|
||||
#endif
|
||||
}
|
||||
|
||||
static const rt_uint8_t close_byte[14] = {0x06, 0x18, 0x03, 0x30, 0x01, 0xE0, 0x00,
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
#define RTGUI_MEM_TRACE
|
||||
#endif
|
||||
|
||||
#if RTGUI_DEFAULT_FONT_SIZE == 0
|
||||
#define RTGUI_DEFAULT_FONT_SIZE 12
|
||||
#endif
|
||||
|
||||
#define RTGUI_SVR_THREAD_PRIORITY 15
|
||||
#define RTGUI_SVR_THREAD_TIMESLICE 5
|
||||
#ifdef RTGUI_USING_SMALL_SIZE
|
||||
|
|
Loading…
Reference in New Issue