From 0e42ad07925168b929859ff4e6ccfc2c80adde64 Mon Sep 17 00:00:00 2001 From: Sung-jae Park Date: Wed, 23 May 2012 21:43:20 +0900 Subject: [PATCH] Add the script event info structure --- include/livebox.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/include/livebox.h b/include/livebox.h index fc475ff..2c072e8 100644 --- a/include/livebox.h +++ b/include/livebox.h @@ -11,6 +11,21 @@ extern const int OUTPUT_UPDATED; extern const int NEED_TO_CREATE; extern const int NEED_TO_DESTROY; +struct event_info { + struct { + double x; + double y; + int down; + } pointer; + + struct { + double sx; + double sy; + double ex; + double ey; + } part; +}; + struct livebox_desc; extern struct livebox_desc *livebox_desc_open(const char *filename, int for_pd); -- 2.7.4