summaryrefslogtreecommitdiff
path: root/rtgui/common/dc_buffer.c
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-01-04 00:05:01 +0000
committerbernard.xiong <[email protected]>2010-01-04 00:05:01 +0000
commit5950b02b04255dda8e5f9c6bd67f94e803a18fd6 (patch)
tree3e0195c85346b8a6f6d30d6b8e90535c06c05643 /rtgui/common/dc_buffer.c
parent238b6b89ea489668b7c7c872e99354575318e400 (diff)
add more optimization options, remove caret implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@278 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'rtgui/common/dc_buffer.c')
-rw-r--r--rtgui/common/dc_buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/rtgui/common/dc_buffer.c b/rtgui/common/dc_buffer.c
index ebb182c81b..9c058015a8 100644
--- a/rtgui/common/dc_buffer.c
+++ b/rtgui/common/dc_buffer.c
@@ -16,6 +16,7 @@
#include <rtgui/color.h>
#include <rtgui/rtgui_system.h>
+#ifndef RTGUI_USING_SMALL_SIZE
struct rtgui_dc_buffer
{
struct rtgui_dc parent;
@@ -390,3 +391,5 @@ static void rtgui_dc_buffer_get_rect(struct rtgui_dc* self, rtgui_rect_t* rect)
rect->x2 = dc->width;
rect->y2 = dc->height;
}
+#endif
+