diff options
author | puppet_master <puppet_master> | 2005-07-07 20:00:08 +0000 |
---|---|---|
committer | puppet_master <puppet_master> | 2005-07-07 20:00:08 +0000 |
commit | effb4a07306f50814ccb2266721794ed45e32a38 (patch) | |
tree | c9b7091e11ece9334bbe6cb40c7f537386a00675 | |
parent | New Version with ecore_evas ... and keyboard bindings ... ;) (diff) | |
download | elock-effb4a07306f50814ccb2266721794ed45e32a38.tar.xz |
some cleaning ...
-rw-r--r-- | elock.c | 14 | ||||
-rw-r--r-- | elock.h | 25 | ||||
-rw-r--r-- | etimer.h | 17 |
3 files changed, 39 insertions, 17 deletions
@@ -6,21 +6,9 @@ #include <Ecore.h> #include <Ecore_Evas.h> -#define WIDTH 400 -#define HEIGHT 400 -#define TIME 10 /* ELCOK LIBS */ -/*#include "etimer.h"*/ - -/* ELOCK FUNC DECLARATION */ -Ecore_Timer *elock_timer_callback(void *donnee); -/*Ecore_Event_Handler *event_handler;*/ -Ecore_Timer *elock_timer (double laps); -int check_args (int arg); -int elock_event_handler(); -int elock_event_cb (void *data, int ev_type, void *ev); -void key_down(void *data, Evas *e, Evas_Object *obj, void *event_info); +#include "elock.h" /* TEMPORARY GLOBAL VARIABLE */ @@ -0,0 +1,25 @@ +#ifndef _HAVE_ELOCK_TIMER_H +#define _HAVE_ELOCK_TIMER_H + +/* + * ELOCK LIBRARY + * by Philippe "Puppet_Master" Caseiro + * 05/07/2005 + * 0.01 + * + */ + +#define WIDTH 400 +#define HEIGHT 400 +#define TIME 10 + +Ecore_Timer *elock_timer_callback(void *donnee); +Ecore_Timer *elock_timer (double laps); + +int check_args (int arg); +int elock_event_handler(); +int elock_event_cb (void *data, int ev_type, void *ev); + +void key_down(void *data, Evas *e, Evas_Object *obj, void *event_info); + +#endif @@ -2,15 +2,24 @@ #define _HAVE_ELOCK_TIMER_H /* - * ELOCK TIMER LIBRARY + * ELOCK LIBRARY * by Philippe "Puppet_Master" Caseiro * 05/07/2005 * 0.01 * */ - -static int timer_one_cb(void *data) -static int timer_two_cb(void *data) +#define WIDTH 400 +#define HEIGHT 400 +#define TIME 10 + +Ecore_Timer *elock_timer_callback(void *donnee); +Ecore_Timer *elock_timer (double laps); +int check_args (int arg); +int elock_event_handler(); +int elock_event_cb (void *data, int ev_type, void *ev); + +void key_down(void *data, Evas *e, Evas_Object *obj, void *event_info); + #endif |