formatting
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 25 Sep 2010 06:10:18 +0000 (06:10 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 25 Sep 2010 06:10:18 +0000 (06:10 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@52726 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_sdl/Ecore_Sdl.h

index 27257f5..317b0fc 100644 (file)
@@ -50,63 +50,63 @@ EAPI extern int ECORE_SDL_EVENT_EXPOSE;
 typedef struct _Ecore_Sdl_Event_Key_Down Ecore_Sdl_Event_Key_Down;
 struct _Ecore_Sdl_Event_Key_Down /** SDL Key Down event */
 {
-        const char      *keyname; /**< The name of the key that was pressed */
-        const char      *keycompose; /**< The UTF-8 string conversion if any */
-        unsigned int    time;
+   const char      *keyname; /**< The name of the key that was pressed */
+   const char      *keycompose; /**< The UTF-8 string conversion if any */
+   unsigned int    time;
 };
 
 typedef struct _Ecore_Sdl_Event_Key_Up Ecore_Sdl_Event_Key_Up;
 struct _Ecore_Sdl_Event_Key_Up /** SDL Key Up event */
 {
-        const char      *keyname; /**< The name of the key that was released */
-        const char      *keycompose; /**< The UTF-8 string conversion if any */
-        unsigned int    time;
+   const char      *keyname; /**< The name of the key that was released */
+   const char      *keycompose; /**< The UTF-8 string conversion if any */
+   unsigned int    time;
 };
 
 typedef struct _Ecore_Sdl_Event_Mouse_Button_Down Ecore_Sdl_Event_Mouse_Button_Down;
 struct _Ecore_Sdl_Event_Mouse_Button_Down /** SDL Mouse Down event */
 {
-       int             button; /**< Mouse button that was pressed (1 - 32) */
-       int             x; /**< Mouse co-ordinates when mouse button was pressed */
-       int             y; /**< Mouse co-ordinates when mouse button was pressed */
-       int             double_click : 1; /**< Set if click was a double click */
-       int             triple_click : 1; /**< Set if click was a triple click  */
-        unsigned int    time;
+   int             button; /**< Mouse button that was pressed (1 - 32) */
+   int             x; /**< Mouse co-ordinates when mouse button was pressed */
+   int             y; /**< Mouse co-ordinates when mouse button was pressed */
+   int             double_click : 1; /**< Set if click was a double click */
+   int             triple_click : 1; /**< Set if click was a triple click  */
+   unsigned int    time;
 };
 
 typedef struct _Ecore_Sdl_Event_Mouse_Button_Up Ecore_Sdl_Event_Mouse_Button_Up;
 struct _Ecore_Sdl_Event_Mouse_Button_Up /** SDL Mouse Up event */
 {
-       int             button; /**< Mouse button that was released (1 - 32) */
-       int             x; /**< Mouse co-ordinates when mouse button was raised */
-       int             y; /**< Mouse co-ordinates when mouse button was raised */
-       int             double_click : 1; /**< Set if click was a double click */
-       int             triple_click : 1; /**< Set if click was a triple click  */
-        unsigned int    time;
+   int             button; /**< Mouse button that was released (1 - 32) */
+   int             x; /**< Mouse co-ordinates when mouse button was raised */
+   int             y; /**< Mouse co-ordinates when mouse button was raised */
+   int             double_click : 1; /**< Set if click was a double click */
+   int             triple_click : 1; /**< Set if click was a triple click  */
+   unsigned int    time;
 };
 
 typedef struct _Ecore_Sdl_Event_Mouse_Move Ecore_Sdl_Event_Mouse_Move;
 struct _Ecore_Sdl_Event_Mouse_Move /** SDL Mouse Move event */ 
 {
-       int             x; /**< Mouse co-ordinates where the mouse cursor moved to */
-       int             y; /**< Mouse co-ordinates where the mouse cursor moved to */
-        unsigned int    time;
+   int             x; /**< Mouse co-ordinates where the mouse cursor moved to */
+   int             y; /**< Mouse co-ordinates where the mouse cursor moved to */
+   unsigned int    time;
 };
 
 typedef struct _Ecore_Sdl_Event_Mouse_Wheel Ecore_Sdl_Event_Mouse_Wheel;
 struct _Ecore_Sdl_Event_Mouse_Wheel /** SDL Mouse Wheel event */
 {
-       int             x,y;
-       int             direction; /* 0 = vertical, 1 = horizontal */
-       int             wheel; /* value 1 (left/up), -1 (right/down) */
-        unsigned int    time;
+   int             x,y;
+   int             direction; /* 0 = vertical, 1 = horizontal */
+   int             wheel; /* value 1 (left/up), -1 (right/down) */
+   unsigned int    time;
 };
 
 typedef struct _Ecore_Sdl_Event_Video_Resize Ecore_Sdl_Event_Video_Resize;
 struct _Ecore_Sdl_Event_Video_Resize
 {
-        int             w;
-        int             h;
+   int             w;
+   int             h;
 };
 
 EAPI int        ecore_sdl_init(const char *name);