summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-02-08 14:14:41 +0000
committerbernard.xiong <[email protected]>2010-02-08 14:14:41 +0000
commit8dabef70db5f4bf5160b19e1dec656a2f2fc5839 (patch)
tree25362c3d97b42705cc4cf40388470b29edeffb7a
parent189d47594650ba739b97eb262b6bb5e2f186073c (diff)
RTGUI use 16 weight font as default font.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@392 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--bsp/stm32_radio/application.c2
-rw-r--r--bsp/stm32_radio/info.c1
-rw-r--r--bsp/stm32_radio/rtconfig.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/bsp/stm32_radio/application.c b/bsp/stm32_radio/application.c
index 2e32bd362a..09620a8fe0 100644
--- a/bsp/stm32_radio/application.c
+++ b/bsp/stm32_radio/application.c
@@ -32,6 +32,8 @@
#include <dfs_fat.h>
/* dfs filesystem:EFS filesystem init */
#include <dfs_efs.h>
+/* dfs filesystem:ELM FatFs filesystem init */
+#include <dfs_elm.h>
/* dfs Filesystem APIs */
#include <dfs_fs.h>
#endif
diff --git a/bsp/stm32_radio/info.c b/bsp/stm32_radio/info.c
index 8185f98705..de5ad25fa4 100644
--- a/bsp/stm32_radio/info.c
+++ b/bsp/stm32_radio/info.c
@@ -66,6 +66,7 @@ static void info_entry(void* parameter)
if (workbench == RT_NULL) return;
view = rtgui_view_create("view");
+ RTGUI_WIDGET_BACKGROUND(RTGUI_WIDGET(view)) = white;
rtgui_widget_set_event_handler(RTGUI_WIDGET(view), view_event_handler);
rtgui_workbench_add_view(workbench, view);
diff --git a/bsp/stm32_radio/rtconfig.h b/bsp/stm32_radio/rtconfig.h
index d34079b6cc..20860de648 100644
--- a/bsp/stm32_radio/rtconfig.h
+++ b/bsp/stm32_radio/rtconfig.h
@@ -174,5 +174,7 @@
#define RTGUI_USING_SMALL_SIZE
/* use mouse cursor */
/* #define RTGUI_USING_MOUSE_CURSOR */
+/* default font size in RTGUI */
+#define RTGUI_DEFAULT_FONT_SIZE 16
#endif