diff options
| author | bernard.xiong <[email protected]> | 2009-11-09 10:06:46 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2009-11-09 10:06:46 +0000 |
| commit | 0d9a579a815c27ace8817b7cd38498b2bd5ac60b (patch) | |
| tree | d5368a5df4f2efcc3bd9844a27d3d1f2c0920458 /rtgui/include | |
| parent | 51b25cd4874392d6ae9bca69ddeb18eedac76c2e (diff) | |
add HDC image in project file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@162 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'rtgui/include')
| -rw-r--r-- | rtgui/include/rtgui/image_hdc.h | 21 | ||||
| -rw-r--r-- | rtgui/include/rtgui/rtgui_config.h | 4 | ||||
| -rw-r--r-- | rtgui/include/rtgui/rtgui_theme.h | 4 |
3 files changed, 25 insertions, 4 deletions
diff --git a/rtgui/include/rtgui/image_hdc.h b/rtgui/include/rtgui/image_hdc.h new file mode 100644 index 0000000000..331c26c7c5 --- /dev/null +++ b/rtgui/include/rtgui/image_hdc.h @@ -0,0 +1,21 @@ +/*
+ * File : image_xpm.h
+ * This file is part of RT-Thread RTOS
+ * COPYRIGHT (C) 2006 - 2009, 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
+ * 2009-10-16 Bernard first version
+ */
+#ifndef __RTGUI_IMAGE_HDC_H__
+#define __RTGUI_IMAGE_HDC_H__
+
+#include <rtgui/image.h>
+
+void rtgui_image_hdc_init(void);
+
+#endif
diff --git a/rtgui/include/rtgui/rtgui_config.h b/rtgui/include/rtgui/rtgui_config.h index 4f3716302c..7ae7f633a5 100644 --- a/rtgui/include/rtgui/rtgui_config.h +++ b/rtgui/include/rtgui/rtgui_config.h @@ -22,11 +22,12 @@ /* #define RTGUI_USING_MOUSE_CURSOR */
-/* #define RTGUI_USING_FONT16 */
+#define RTGUI_USING_FONT16
// #define RT_USING_STDIO_FILERW
#define RT_USING_DFS_FILERW
// #define RTGUI_IMAGE_PNG
+// #define RTGUI_IMAGE_JPG
#define RTGUI_SVR_THREAD_PRIORITY 15
#define RTGUI_SVR_THREAD_TIMESLICE 5
@@ -35,4 +36,3 @@ #define RTGUI_APP_THREAD_TIMESLICE 8
#endif
-
diff --git a/rtgui/include/rtgui/rtgui_theme.h b/rtgui/include/rtgui/rtgui_theme.h index 44dd76e465..28edac0e61 100644 --- a/rtgui/include/rtgui/rtgui_theme.h +++ b/rtgui/include/rtgui/rtgui_theme.h @@ -32,8 +32,8 @@ void rtgui_theme_draw_label(rtgui_label_t* label); void rtgui_theme_draw_textbox(rtgui_textbox_t* box);
void rtgui_theme_draw_iconbox(rtgui_iconbox_t* iconbox);
-rtgui_color_t rtgui_theme_default_bc();
-rtgui_color_t rtgui_theme_default_fc();
+rtgui_color_t rtgui_theme_default_bc(void);
+rtgui_color_t rtgui_theme_default_fc(void);
#ifdef __cplusplus
}
|
