summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas_buffer.c
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-01-11 18:19:43 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-01-11 18:19:43 +0900
commitf111c8da6dc32686ca1fe787208206fa95013ee4 (patch)
treef6831073ec2f9ba22f5f6e05dbff8d4082c9260b /src/lib/ecore_evas/ecore_evas_buffer.c
parenta565fd391bbc072912beb3aeec929c98ca032817 (diff)
ecore - clean up code.
fix indentation and use Eina_Bool instead of char.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas_buffer.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas_buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index c49b5d2a5a..ac90eb58d1 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -105,7 +105,7 @@ _ecore_evas_show(Ecore_Evas *ee)
105 105
106 if (bdata->image) return; 106 if (bdata->image) return;
107 if (ee->prop.focused) return; 107 if (ee->prop.focused) return;
108 ee->prop.focused = 1; 108 ee->prop.focused = EINA_TRUE;
109 evas_focus_in(ee->evas); 109 evas_focus_in(ee->evas);
110 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); 110 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee);
111} 111}
@@ -407,7 +407,7 @@ _ecore_evas_buffer_cb_focus_in(void *data, Evas *e EINA_UNUSED, Evas_Object *obj
407 Ecore_Evas *ee; 407 Ecore_Evas *ee;
408 408
409 ee = data; 409 ee = data;
410 ee->prop.focused = 1; 410 ee->prop.focused = EINA_TRUE;
411 evas_focus_in(ee->evas); 411 evas_focus_in(ee->evas);
412 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee); 412 if (ee->func.fn_focus_in) ee->func.fn_focus_in(ee);
413} 413}
@@ -418,7 +418,7 @@ _ecore_evas_buffer_cb_focus_out(void *data, Evas *e EINA_UNUSED, Evas_Object *ob
418 Ecore_Evas *ee; 418 Ecore_Evas *ee;
419 419
420 ee = data; 420 ee = data;
421 ee->prop.focused = 0; 421 ee->prop.focused = EINA_FALSE;
422 evas_focus_out(ee->evas); 422 evas_focus_out(ee->evas);
423 if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee); 423 if (ee->func.fn_focus_out) ee->func.fn_focus_out(ee);
424} 424}
@@ -646,7 +646,7 @@ ecore_evas_buffer_allocfunc_new(int w, int h,
646 ee->prop.max.w = 0; 646 ee->prop.max.w = 0;
647 ee->prop.max.h = 0; 647 ee->prop.max.h = 0;
648 ee->prop.layer = 0; 648 ee->prop.layer = 0;
649 ee->prop.focused = 1; 649 ee->prop.focused = EINA_TRUE;
650 ee->prop.borderless = 1; 650 ee->prop.borderless = 1;
651 ee->prop.override = 1; 651 ee->prop.override = 1;
652 ee->prop.maximized = 1; 652 ee->prop.maximized = 1;
@@ -774,7 +774,7 @@ ecore_evas_object_image_new(Ecore_Evas *ee_target)
774 ee->prop.max.w = 0; 774 ee->prop.max.w = 0;
775 ee->prop.max.h = 0; 775 ee->prop.max.h = 0;
776 ee->prop.layer = 0; 776 ee->prop.layer = 0;
777 ee->prop.focused = 0; 777 ee->prop.focused = EINA_FALSE;
778 ee->prop.borderless = 1; 778 ee->prop.borderless = 1;
779 ee->prop.override = 1; 779 ee->prop.override = 1;
780 ee->prop.maximized = 0; 780 ee->prop.maximized = 0;