[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48882] branches/soc-2012-swiss_cheese/ intern/touch/TOUCH_Types.h: Added TOUCH_state to TOUCH_Types.h, added to TOUCH_event_info also.
Nicholas Rishel
rishel.nick at gmail.com
Fri Jul 13 03:50:16 CEST 2012
Revision: 48882
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48882
Author: nicholas_rishel
Date: 2012-07-13 01:50:12 +0000 (Fri, 13 Jul 2012)
Log Message:
-----------
Added TOUCH_state to TOUCH_Types.h, added to TOUCH_event_info also.
Modified Paths:
--------------
branches/soc-2012-swiss_cheese/intern/touch/TOUCH_Types.h
Modified: branches/soc-2012-swiss_cheese/intern/touch/TOUCH_Types.h
===================================================================
--- branches/soc-2012-swiss_cheese/intern/touch/TOUCH_Types.h 2012-07-13 01:29:58 UTC (rev 48881)
+++ branches/soc-2012-swiss_cheese/intern/touch/TOUCH_Types.h 2012-07-13 01:50:12 UTC (rev 48882)
@@ -34,6 +34,12 @@
#include "STR_String.h"
+typedef enum TOUCH_state {
+ TOUCH_DOWN = 0,
+ TOUCH_MOVE = 1,
+ TOUCH_UP = 2
+} TOUCH_state;
+
typedef struct TOUCH_registered_context {
TOUCH_registered_context *prev, *next;
STR_String context;
@@ -52,8 +58,11 @@
typedef struct TOUCH_event_info {
TOUCH_event_info *prev, *next;
+
int position_x, position_y;
char id;
+ TOUCH_state state;
+
STR_String area, region, data;
} TOUCH_event_info;
More information about the Bf-blender-cvs
mailing list