summaryrefslogtreecommitdiff
path: root/src/bin/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-01-06 13:13:51 -0500
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-01-07 16:08:23 +0100
commit227483e079de4e2dbe6977a4a3d0afdd4e761953 (patch)
treecd98034614418143587a49925e5bd3e2fc5934b4 /src/bin/elementary
parent33402436236c48677ab84fb94d05d7c6e3d2f946 (diff)
efl/gesture: correct namespacing of all gesture enums in C
these were flattened to all be EFL_GESTURE_$MEMBER, which made them impossible to read and use effectively Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11026
Diffstat (limited to 'src/bin/elementary')
-rw-r--r--src/bin/elementary/test_gesture_framework.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/bin/elementary/test_gesture_framework.c b/src/bin/elementary/test_gesture_framework.c
index 5e2e935..3b9e57a 100644
--- a/src/bin/elementary/test_gesture_framework.c
+++ b/src/bin/elementary/test_gesture_framework.c
@@ -370,13 +370,13 @@ tap_gesture_cb(void *data , const Efl_Event *ev)
370 Efl_Canvas_Gesture *g = ev->info; 370 Efl_Canvas_Gesture *g = ev->info;
371 switch(efl_gesture_state_get(g)) 371 switch(efl_gesture_state_get(g))
372 { 372 {
373 case EFL_GESTURE_STARTED: 373 case EFL_GESTURE_STATE_STARTED:
374 finger_tap_start(data, g); 374 finger_tap_start(data, g);
375 break; 375 break;
376 case EFL_GESTURE_CANCELED: 376 case EFL_GESTURE_STATE_CANCELED:
377 finger_tap_abort(data, g); 377 finger_tap_abort(data, g);
378 break; 378 break;
379 case EFL_GESTURE_FINISHED: 379 case EFL_GESTURE_STATE_FINISHED:
380 finger_tap_end(data, g); 380 finger_tap_end(data, g);
381 break; 381 break;
382 default: 382 default:
@@ -390,13 +390,13 @@ flick_gesture_cb(void *data , const Efl_Event *ev)
390 Efl_Canvas_Gesture *g = ev->info; 390 Efl_Canvas_Gesture *g = ev->info;
391 switch(efl_gesture_state_get(g)) 391 switch(efl_gesture_state_get(g))
392 { 392 {
393 case EFL_GESTURE_STARTED: 393 case EFL_GESTURE_STATE_STARTED:
394 finger_flick_start(data, g); 394 finger_flick_start(data, g);
395 break; 395 break;
396 case EFL_GESTURE_CANCELED: 396 case EFL_GESTURE_STATE_CANCELED:
397 finger_flick_abort(data, g); 397 finger_flick_abort(data, g);
398 break; 398 break;
399 case EFL_GESTURE_FINISHED: 399 case EFL_GESTURE_STATE_FINISHED:
400 finger_flick_end(data, g); 400 finger_flick_end(data, g);
401 break; 401 break;
402 default: 402 default:
@@ -410,16 +410,16 @@ momentum_gesture_cb(void *data , const Efl_Event *ev)
410 Efl_Canvas_Gesture *g = ev->info; 410 Efl_Canvas_Gesture *g = ev->info;
411 switch(efl_gesture_state_get(g)) 411 switch(efl_gesture_state_get(g))
412 { 412 {
413 case EFL_GESTURE_STARTED: 413 case EFL_GESTURE_STATE_STARTED:
414 finger_momentum_start(data, g); 414 finger_momentum_start(data, g);
415 break; 415 break;
416 case EFL_GESTURE_UPDATED: 416 case EFL_GESTURE_STATE_UPDATED:
417 finger_momentum_update(data, g); 417 finger_momentum_update(data, g);
418 break; 418 break;
419 case EFL_GESTURE_CANCELED: 419 case EFL_GESTURE_STATE_CANCELED:
420 finger_momentum_abort(data, g); 420 finger_momentum_abort(data, g);
421 break; 421 break;
422 case EFL_GESTURE_FINISHED: 422 case EFL_GESTURE_STATE_FINISHED:
423 finger_momentum_end(data, g); 423 finger_momentum_end(data, g);
424 break; 424 break;
425 default: 425 default:
@@ -433,16 +433,16 @@ triple_tap_gesture_cb(void *data , const Efl_Event *ev)
433 Efl_Canvas_Gesture *g = ev->info; 433 Efl_Canvas_Gesture *g = ev->info;
434 switch(efl_gesture_state_get(g)) 434 switch(efl_gesture_state_get(g))
435 { 435 {
436 case EFL_GESTURE_STARTED: 436 case EFL_GESTURE_STATE_STARTED:
437 finger_triple_tap_start(data, g); 437 finger_triple_tap_start(data, g);
438 break; 438 break;
439 case EFL_GESTURE_UPDATED: 439 case EFL_GESTURE_STATE_UPDATED:
440 finger_triple_tap_update(data, g); 440 finger_triple_tap_update(data, g);
441 break; 441 break;
442 case EFL_GESTURE_CANCELED: 442 case EFL_GESTURE_STATE_CANCELED:
443 finger_triple_tap_abort(data, g); 443 finger_triple_tap_abort(data, g);
444 break; 444 break;
445 case EFL_GESTURE_FINISHED: 445 case EFL_GESTURE_STATE_FINISHED:
446 finger_triple_tap_end(data, g); 446 finger_triple_tap_end(data, g);
447 break; 447 break;
448 default: 448 default:
@@ -456,16 +456,16 @@ double_tap_gesture_cb(void *data , const Efl_Event *ev)
456 Efl_Canvas_Gesture *g = ev->info; 456 Efl_Canvas_Gesture *g = ev->info;
457 switch(efl_gesture_state_get(g)) 457 switch(efl_gesture_state_get(g))
458 { 458 {
459 case EFL_GESTURE_STARTED: 459 case EFL_GESTURE_STATE_STARTED:
460 finger_double_tap_start(data, g); 460 finger_double_tap_start(data, g);
461 break; 461 break;
462 case EFL_GESTURE_UPDATED: 462 case EFL_GESTURE_STATE_UPDATED:
463 finger_double_tap_update(data, g); 463 finger_double_tap_update(data, g);
464 break; 464 break;
465 case EFL_GESTURE_CANCELED: 465 case EFL_GESTURE_STATE_CANCELED:
466 finger_double_tap_abort(data, g); 466 finger_double_tap_abort(data, g);
467 break; 467 break;
468 case EFL_GESTURE_FINISHED: 468 case EFL_GESTURE_STATE_FINISHED:
469 finger_double_tap_end(data, g); 469 finger_double_tap_end(data, g);
470 break; 470 break;
471 default: 471 default:
@@ -479,16 +479,16 @@ long_tap_gesture_cb(void *data , const Efl_Event *ev)
479 Efl_Canvas_Gesture *g = ev->info; 479 Efl_Canvas_Gesture *g = ev->info;
480 switch(efl_gesture_state_get(g)) 480 switch(efl_gesture_state_get(g))
481 { 481 {
482 case EFL_GESTURE_STARTED: 482 case EFL_GESTURE_STATE_STARTED:
483 finger_long_tap_start(data, g); 483 finger_long_tap_start(data, g);
484 break; 484 break;
485 case EFL_GESTURE_UPDATED: 485 case EFL_GESTURE_STATE_UPDATED:
486 finger_long_tap_update(data, g); 486 finger_long_tap_update(data, g);
487 break; 487 break;
488 case EFL_GESTURE_CANCELED: 488 case EFL_GESTURE_STATE_CANCELED:
489 finger_long_tap_abort(data, g); 489 finger_long_tap_abort(data, g);
490 break; 490 break;
491 case EFL_GESTURE_FINISHED: 491 case EFL_GESTURE_STATE_FINISHED:
492 finger_long_tap_end(data, g); 492 finger_long_tap_end(data, g);
493 break; 493 break;
494 default: 494 default: