diff options
| author | bernard.xiong <[email protected]> | 2010-01-21 10:05:06 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-01-21 10:05:06 +0000 |
| commit | 63dff2e94eb3ad0bf2422ac82d721e1fa644737e (patch) | |
| tree | 9d72462ceaf63df9c966e521e982ebeb2ece39da /rtgui/widgets | |
| parent | 284727de4aceb1a7c02e93e4b3c4132d8361a071 (diff) | |
add font and change theme.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@327 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'rtgui/widgets')
| -rw-r--r-- | rtgui/widgets/filelist_view.c | 13 | ||||
| -rw-r--r-- | rtgui/widgets/list_view.c | 13 | ||||
| -rw-r--r-- | rtgui/widgets/radiobox.c | 1 |
3 files changed, 27 insertions, 0 deletions
diff --git a/rtgui/widgets/filelist_view.c b/rtgui/widgets/filelist_view.c new file mode 100644 index 0000000000..23a05cb592 --- /dev/null +++ b/rtgui/widgets/filelist_view.c @@ -0,0 +1,13 @@ +/*
+ * File : filelist_view.c
+ * This file is part of RTGUI in RT-Thread RTOS
+ * COPYRIGHT (C) 2010, RT-Thread Development Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2010-01-06 Bernard first version
+ */
diff --git a/rtgui/widgets/list_view.c b/rtgui/widgets/list_view.c new file mode 100644 index 0000000000..853bbe6d4d --- /dev/null +++ b/rtgui/widgets/list_view.c @@ -0,0 +1,13 @@ +/*
+ * File : list_view.c
+ * This file is part of RTGUI in RT-Thread RTOS
+ * COPYRIGHT (C) 2010, RT-Thread Development Team
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rt-thread.org/license/LICENSE
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2010-01-06 Bernard first version
+ */
diff --git a/rtgui/widgets/radiobox.c b/rtgui/widgets/radiobox.c index 9b4e055c05..3f333fd1d7 100644 --- a/rtgui/widgets/radiobox.c +++ b/rtgui/widgets/radiobox.c @@ -11,6 +11,7 @@ static void _rtgui_radiobox_constructor(rtgui_radiobox_t *radiobox) /* init widget and set event handler */
RTGUI_WIDGET(radiobox)->flag |= RTGUI_WIDGET_FLAG_FOCUSABLE;
+ RTGUI_WIDGET_TEXTALIGN(RTGUI_WIDGET(radiobox)) = RTGUI_ALIGN_LEFT | RTGUI_ALIGN_CENTER_VERTICAL; rtgui_widget_set_rect(RTGUI_WIDGET(radiobox), &rect);
rtgui_widget_set_event_handler(RTGUI_WIDGET(radiobox), rtgui_radiobox_event_handler);
|
