提交 8dabef70 编写于 作者: B bernard.xiong

RTGUI use 16 weight font as default font.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@392 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 189d4759
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
#include <dfs_fat.h> #include <dfs_fat.h>
/* dfs filesystem:EFS filesystem init */ /* dfs filesystem:EFS filesystem init */
#include <dfs_efs.h> #include <dfs_efs.h>
/* dfs filesystem:ELM FatFs filesystem init */
#include <dfs_elm.h>
/* dfs Filesystem APIs */ /* dfs Filesystem APIs */
#include <dfs_fs.h> #include <dfs_fs.h>
#endif #endif
......
...@@ -66,6 +66,7 @@ static void info_entry(void* parameter) ...@@ -66,6 +66,7 @@ static void info_entry(void* parameter)
if (workbench == RT_NULL) return; if (workbench == RT_NULL) return;
view = rtgui_view_create("view"); view = rtgui_view_create("view");
RTGUI_WIDGET_BACKGROUND(RTGUI_WIDGET(view)) = white;
rtgui_widget_set_event_handler(RTGUI_WIDGET(view), view_event_handler); rtgui_widget_set_event_handler(RTGUI_WIDGET(view), view_event_handler);
rtgui_workbench_add_view(workbench, view); rtgui_workbench_add_view(workbench, view);
......
...@@ -174,5 +174,7 @@ ...@@ -174,5 +174,7 @@
#define RTGUI_USING_SMALL_SIZE #define RTGUI_USING_SMALL_SIZE
/* use mouse cursor */ /* use mouse cursor */
/* #define RTGUI_USING_MOUSE_CURSOR */ /* #define RTGUI_USING_MOUSE_CURSOR */
/* default font size in RTGUI */
#define RTGUI_DEFAULT_FONT_SIZE 16
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册