summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-12-30 06:37:30 +0000
committer[email protected] <[email protected]>2012-12-30 06:37:30 +0000
commit850d544bdc9f18aadeb143254ad4b73638ce705e (patch)
tree4eac59104fb99871fa216138da0a0744b7a290de /include
parent8951089b5ac474602e0bacd51fe816beff03cad7 (diff)
add more control command for graphic.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2560 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index cf3b42424c..498baaf5b9 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -17,6 +17,7 @@
* 2012-11-16 Bernard change RT_NULL from ((void*)0) to 0.
* 2012-12-29 Bernard change the RT_USING_MEMPOOL location and add
* RT_USING_MEMHEAP condition.
+ * 2012-12-30 Bernard add more control command for graphic.
*/
#ifndef __RT_DEF_H__
@@ -760,6 +761,12 @@ struct rt_device_blk_sectors
};
/**
+ * cursor control command
+ */
+#define RT_DEVICE_CTRL_CURSOR_SET_POSITION 0x10
+#define RT_DEVICE_CTRL_CURSOR_SET_TYPE 0x11
+
+/**
* graphic device control command
*/
#define RTGRAPHIC_CTRL_RECT_UPDATE 0
@@ -767,8 +774,7 @@ struct rt_device_blk_sectors
#define RTGRAPHIC_CTRL_POWEROFF 2
#define RTGRAPHIC_CTRL_GET_INFO 3
#define RTGRAPHIC_CTRL_SET_MODE 4
-#define RTGRAPHIC_CTRL_FILL_RECT 5
-#define RTGRAPHIC_CTRL_DRAW_RECT 6
+#define RTGRAPHIC_CTRL_GET_EXT 5
/* graphic deice */
enum