diff options
author | beber <beber> | 2005-07-20 22:21:12 +0000 |
---|---|---|
committer | beber <beber> | 2005-07-20 22:21:12 +0000 |
commit | 325a58afd244e7fd01a289e72fbf49c7ea6e1b5a (patch) | |
tree | da3a5c3d83bae782faba955c291de76cc937a103 | |
parent | Oops (diff) | |
download | elock-325a58afd244e7fd01a289e72fbf49c7ea6e1b5a.tar.xz |
test
-rw-r--r-- | elock.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -38,7 +38,7 @@ int main (int argc, char **argv) /* calling timer with the duration */ timer = elock_build_timer (time); if (!timer) - fprintf (stdout, "ERROR OF TIMER"); + fprintf (stdout, "error of timer"); /* Building and setting evas window */ ee = ecore_evas_software_x11_new (NULL, 0, 0, 0, WIDTH, HEIGHT); @@ -150,27 +150,26 @@ int elock_event_cb (void *data, int ev_type, void *ev) void elock_key_event_cb (void *data, Evas * e, Evas_Object * obj, void *event_info) { - - fprintf (stdout, "DEBUG ICI"); + fprintf (stdout, "debug ici"); Evas_Event_Key_Down *ev; - fprintf (stdout, "DEBUG LA"); + fprintf (stdout, "debug la"); ev = (Evas_Event_Key_Down *) event_info; fprintf (stdout, "You hit key: %s\n", ev->keyname); - fprintf (stdout, " and TIMER RESET\n"); + fprintf (stdout, " and timer reset\n"); elock_kill_timer (timer); } void elock_mouse_event_cb (void *data, Evas * e, Evas_Object * obj, void *event_info) { - fprintf (stdout, "MOUSE DOWN EVENT"); + fprintf (stdout, "mouse down event"); Evas_Event_Mouse_Down *ev; ev = (Evas_Event_Mouse_Down *) event_info; fprintf (stdout, "You hit key: %s\n", ev->button); - fprintf (stdout, " and TIMER RESET\n"); + fprintf (stdout, " and timer reset\n"); elock_kill_timer (timer); } |