int --> Eina_Bool
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 25 Sep 2010 04:50:10 +0000 (04:50 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 25 Sep 2010 04:50:10 +0000 (04:50 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@52715 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_directfb/Ecore_DirectFB.h
src/lib/ecore_directfb/ecore_directfb.c

index 30aa82b..9d1ef04 100644 (file)
@@ -171,10 +171,10 @@ EAPI void                       ecore_directfb_window_resize(Ecore_DirectFB_Wind
 EAPI void                       ecore_directfb_window_focus(Ecore_DirectFB_Window *window);
 EAPI void                       ecore_directfb_window_show(Ecore_DirectFB_Window *window);
 EAPI void                       ecore_directfb_window_hide(Ecore_DirectFB_Window *window);
-EAPI void                       ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *window, int set);
-EAPI void                       ecore_directfb_window_fullscreen_set(Ecore_DirectFB_Window *window, int set);
+EAPI void                       ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *window, Eina_Bool set);
+EAPI void                       ecore_directfb_window_fullscreen_set(Ecore_DirectFB_Window *window, Eina_Bool set);
 EAPI void                       ecore_directfb_window_size_get(Ecore_DirectFB_Window *window, int *w, int *h);
-EAPI void                       ecore_directfb_window_cursor_show(Ecore_DirectFB_Window *window, int show);
+EAPI void                       ecore_directfb_window_cursor_show(Ecore_DirectFB_Window *window, Eina_Bool show);
 
 #ifdef __cplusplus
 }
index 1b9f9d4..44d2d90 100644 (file)
@@ -561,7 +561,7 @@ ecore_directfb_window_focus(Ecore_DirectFB_Window *ecore_window)
 EAPI void
 ecore_directfb_window_hide(Ecore_DirectFB_Window *ecore_window)
 {
-   DFBCHECK(ecore_window->window->SetOpacity(ecore_window->window,0));
+   DFBCHECK(ecore_window->window->SetOpacity(ecore_window->window, 0));
 } /* ecore_directfb_window_hide */
 
 EAPI void
@@ -571,7 +571,7 @@ ecore_directfb_window_show(Ecore_DirectFB_Window *ecore_window)
 } /* ecore_directfb_window_show */
 
 EAPI void
-ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *ecore_window, int set)
+ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *ecore_window, Eina_Bool set)
 {
    DFBWindowOptions opts;
 
@@ -591,7 +591,7 @@ ecore_directfb_window_shaped_set(Ecore_DirectFB_Window *ecore_window, int set)
 } /* ecore_directfb_window_shaped_set */
 
 EAPI void
-ecore_directfb_window_cursor_show(Ecore_DirectFB_Window *ecore_window, int show)
+ecore_directfb_window_cursor_show(Ecore_DirectFB_Window *ecore_window, Eina_Bool show)
 {
    if(!show)
      {
@@ -642,7 +642,7 @@ ecore_directfb_window_cursor_set(Ecore_DirectFB_Window *ecore_window, Ecore_Dire
 } /* ecore_directfb_window_cursor_set */
 
 EAPI void
-ecore_directfb_window_fullscreen_set(Ecore_DirectFB_Window *ecore_window, int on)
+ecore_directfb_window_fullscreen_set(Ecore_DirectFB_Window *ecore_window, Eina_Bool on)
 {
    // always release the surface (we are going to get a new one in both cases)
    DFBCHECK(ecore_window->surface->Release(ecore_window->surface));