Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_fb
Modified Files:
Tag: SPLIT
Ecore_Fb.h ecore_fb.c ecore_fb_private.h
Log Message:
doc doc doc... :)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_fb/Attic/Ecore_Fb.h,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -3 -r1.1.2.6 -r1.1.2.7
--- Ecore_Fb.h 17 Feb 2003 12:40:31 -0000 1.1.2.6
+++ Ecore_Fb.h 20 Feb 2003 06:56:40 -0000 1.1.2.7
@@ -11,45 +11,48 @@
extern "C" {
#endif
-extern int ECORE_FB_EVENT_KEY_DOWN;
-extern int ECORE_FB_EVENT_KEY_UP;
-extern int ECORE_FB_EVENT_MOUSE_BUTTON_DOWN;
-extern int ECORE_FB_EVENT_MOUSE_BUTTON_UP;
-extern int ECORE_FB_EVENT_MOUSE_MOVE;
+extern int ECORE_FB_EVENT_KEY_DOWN; /**< FB Key Down event */
+extern int ECORE_FB_EVENT_KEY_UP; /**< FB Key Up event */
+extern int ECORE_FB_EVENT_MOUSE_BUTTON_DOWN; /**< FB Mouse Down event */
+extern int ECORE_FB_EVENT_MOUSE_BUTTON_UP; /**< FB Mouse Up event */
+extern int ECORE_FB_EVENT_MOUSE_MOVE; /**< FB Mouse Move event */
-typedef struct _Ecore_Fb_Event_Key_Down Ecore_Fb_Event_Key_Down;
-typedef struct _Ecore_Fb_Event_Key_Up Ecore_Fb_Event_Key_Up;
-typedef struct _Ecore_Fb_Event_Mouse_Button_Down Ecore_Fb_Event_Mouse_Button_Down;
-typedef struct _Ecore_Fb_Event_Mouse_Button_Up Ecore_Fb_Event_Mouse_Button_Up;
-typedef struct _Ecore_Fb_Event_Mouse_Move Ecore_Fb_Event_Mouse_Move;
+typedef struct _Ecore_Fb_Event_Key_Down Ecore_Fb_Event_Key_Down; /**< FB Key
+Down event */
+typedef struct _Ecore_Fb_Event_Key_Up Ecore_Fb_Event_Key_Up; /**< FB Key
+Up event */
+typedef struct _Ecore_Fb_Event_Mouse_Button_Down Ecore_Fb_Event_Mouse_Button_Down;
+/**< FB Mouse Down event */
+typedef struct _Ecore_Fb_Event_Mouse_Button_Up Ecore_Fb_Event_Mouse_Button_Up; /**<
+FB Mouse Up event */
+typedef struct _Ecore_Fb_Event_Mouse_Move Ecore_Fb_Event_Mouse_Move; /**< FB
+Mouse Move event */
-struct _Ecore_Fb_Event_Key_Down
+struct _Ecore_Fb_Event_Key_Down /** FB Key Down event */
{
- char *keyname;
+ char *keyname; /**< The name of the key that was prerssed */
};
-struct _Ecore_Fb_Event_Key_Up
+struct _Ecore_Fb_Event_Key_Up /** FB Key Up event */
{
- char *keyname;
+ char *keyname; /**< The name of the key that was released */
};
-struct _Ecore_Fb_Event_Mouse_Button_Down
+struct _Ecore_Fb_Event_Mouse_Button_Down /** FB Mouse Down event */
{
- int button;
- int x, y;
- int double_click : 1;
- int triple_click : 1;
+ 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 */
};
-struct _Ecore_Fb_Event_Mouse_Button_Up
+struct _Ecore_Fb_Event_Mouse_Button_Up /** FB Mouse Up event */
{
- int button;
- int x, y;
+ 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 */
};
-struct _Ecore_Fb_Event_Mouse_Move
+struct _Ecore_Fb_Event_Mouse_Move /** FB Mouse Move event */
{
- int x, y;
+ int x; /**< Mouse co-ordinates where the mouse cursor moved to */
+ int y; /**< Mouse co-ordinates where the mouse cursor moved to */
};
int ecore_fb_init(const char *name);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_fb/Attic/ecore_fb.c,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -3 -r1.1.2.7 -r1.1.2.8
--- ecore_fb.c 17 Feb 2003 12:40:31 -0000 1.1.2.7
+++ ecore_fb.c 20 Feb 2003 06:56:40 -0000 1.1.2.8
@@ -15,32 +15,6 @@
#include <linux/fb.h>
#include <sys/ioctl.h>
-/* hacks to stop people NEEDING #include <linux/h3600_ts.h> */
-#ifndef TS_SET_CAL
-#define TS_SET_CAL 0x4014660b
-#endif
-#ifndef TS_GET_CAL
-#define TS_GET_CAL 0x8014660a
-#endif
-#ifndef TS_SET_BACKLIGHT
-#define TS_SET_BACKLIGHT 0x40086614
-#endif
-#ifndef TS_GET_BACKLIGHT
-#define TS_GET_BACKLIGHT 0x80086614
-#endif
-#ifndef LED_ON
-#define LED_ON 0x40046605
-#endif
-#ifndef TS_SET_CONTRAST
-#define TS_SET_CONTRAST 0x40046615
-#endif
-#ifndef TS_GET_CONTRAST
-#define TS_GET_CONTRAST 0x80046615
-#endif
-#ifndef FLITE_ON
-#define FLITE_ON 0x40046607
-#endif
-
typedef struct _Ecore_Fb_Ts_Event Ecore_Fb_Ts_Event;
typedef struct _Ecore_Fb_Ts_Calibrate Ecore_Fb_Ts_Calibrate;
typedef struct _Ecore_Fb_Ts_Backlight Ecore_Fb_Ts_Backlight;
@@ -386,7 +360,6 @@
{
int prev_flags;
- printf("%x\n", FLITE_ON);
_ecore_fb_init_count++;
if (_ecore_fb_init_count > 1) return _ecore_fb_init_count;
_ecore_fb_ts_fd = open("/dev/touchscreen/0", O_RDONLY);
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_fb/Attic/ecore_fb_private.h,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -3 -r1.1.2.1 -r1.1.2.2
--- ecore_fb_private.h 11 Feb 2003 06:27:09 -0000 1.1.2.1
+++ ecore_fb_private.h 20 Feb 2003 06:56:40 -0000 1.1.2.2
@@ -1,4 +1,30 @@
#ifndef _ECORE_FB_PRIVATE_H
#define _ECORE_FB_PRIVATE_H
+/* hacks to stop people NEEDING #include <linux/h3600_ts.h> */
+#ifndef TS_SET_CAL
+#define TS_SET_CAL 0x4014660b
+#endif
+#ifndef TS_GET_CAL
+#define TS_GET_CAL 0x8014660a
+#endif
+#ifndef TS_SET_BACKLIGHT
+#define TS_SET_BACKLIGHT 0x40086614
+#endif
+#ifndef TS_GET_BACKLIGHT
+#define TS_GET_BACKLIGHT 0x80086614
+#endif
+#ifndef LED_ON
+#define LED_ON 0x40046605
+#endif
+#ifndef TS_SET_CONTRAST
+#define TS_SET_CONTRAST 0x40046615
+#endif
+#ifndef TS_GET_CONTRAST
+#define TS_GET_CONTRAST 0x80046615
+#endif
+#ifndef FLITE_ON
+#define FLITE_ON 0x40046607
+#endif
+
#endif
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs