Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/engines/evas_gl_x11


Modified Files:
        Ewl_Engine_Evas_Gl_X11.h ewl_engine_evas_gl_x11.c 


Log Message:
- change tabs to spaces (Ewl uses an 8 space indent now instead of a tab)

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/engines/evas_gl_x11/Ewl_Engine_Evas_Gl_X11.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- Ewl_Engine_Evas_Gl_X11.h    12 Feb 2007 13:32:25 -0000      1.6
+++ Ewl_Engine_Evas_Gl_X11.h    6 May 2008 20:20:36 -0000       1.7
@@ -1,4 +1,4 @@
-/* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+/* vim: set sw=8 ts=8 sts=8 expandtab: */
 #ifndef EWL_ENGINE_EVAS_GL_X11_H
 #define EWL_ENGINE_EVAS_GL_X11_H
 
@@ -8,12 +8,12 @@
 #include <Evas_Engine_GL_X11.h>
 
 #define EWL_ENGINE_EVAS_GL_X11(engine) \
-               ((Ewl_Engine_Evas_Gl_X11 *)engine)
+               ((Ewl_Engine_Evas_Gl_X11 *)engine)
 
 typedef struct Ewl_Engine_Evas_Gl_X11 Ewl_Engine_Evas_Gl_X11;
 struct Ewl_Engine_Evas_Gl_X11
 {
-       Ewl_Engine engine;
+        Ewl_Engine engine;
 };
 
 #endif
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/engines/evas_gl_x11/ewl_engine_evas_gl_x11.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- ewl_engine_evas_gl_x11.c    12 Nov 2007 22:42:21 -0000      1.15
+++ ewl_engine_evas_gl_x11.c    6 May 2008 20:20:36 -0000       1.16
@@ -1,4 +1,4 @@
-/* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+/* vim: set sw=8 ts=8 sts=8 expandtab: */
 #include "Ewl_Engine_Evas_Gl_X11.h"
 #include "ewl_private.h"
 #include "ewl_debug.h"
@@ -10,121 +10,121 @@
 static void ee_canvas_setup(Ewl_Window *win, int debug);
 
 static void *canvas_funcs[EWL_ENGINE_CANVAS_MAX] =
-       {
-               ee_canvas_setup,
-               NULL, NULL, NULL, NULL
-       };
+        {
+               ee_canvas_setup,
+               NULL, NULL, NULL, NULL
+        };
 
 Ecore_DList *
 ewl_engine_dependancies(void)
 {
-       Ecore_DList *d;
+        Ecore_DList *d;
 
-       DENTER_FUNCTION(DLEVEL_STABLE);
+        DENTER_FUNCTION(DLEVEL_STABLE);
 
-       d = ecore_dlist_new();
-       ecore_dlist_append(d, strdup("x11"));
-       ecore_dlist_append(d, strdup("evas"));
+        d = ecore_dlist_new();
+        ecore_dlist_append(d, strdup("x11"));
+        ecore_dlist_append(d, strdup("evas"));
 
-       DRETURN_PTR(d, DLEVEL_STABLE);
+        DRETURN_PTR(d, DLEVEL_STABLE);
 }
 
 Ewl_Engine *
 ewl_engine_create(int *argc __UNUSED__, char ** argv __UNUSED__)
 {
-       Ewl_Engine_Evas_Gl_X11 *engine;
+        Ewl_Engine_Evas_Gl_X11 *engine;
 
-       DENTER_FUNCTION(DLEVEL_STABLE);
+        DENTER_FUNCTION(DLEVEL_STABLE);
 
-       engine = NEW(Ewl_Engine_Evas_Gl_X11, 1);
-       if (!engine)
-               DRETURN_PTR(NULL, DLEVEL_STABLE);
+        engine = NEW(Ewl_Engine_Evas_Gl_X11, 1);
+        if (!engine)
+               DRETURN_PTR(NULL, DLEVEL_STABLE);
 
-       if (!ee_init(EWL_ENGINE(engine)))
-       {
-               FREE(engine);
-               DRETURN_PTR(NULL, DLEVEL_STABLE);
-       }
+        if (!ee_init(EWL_ENGINE(engine)))
+        {
+               FREE(engine);
+               DRETURN_PTR(NULL, DLEVEL_STABLE);
+        }
 
-       DRETURN_PTR(EWL_ENGINE(engine), DLEVEL_STABLE);
+        DRETURN_PTR(EWL_ENGINE(engine), DLEVEL_STABLE);
 }
 
 static int
 ee_init(Ewl_Engine *engine)
 {
-       Ewl_Engine_Info *info;
+        Ewl_Engine_Info *info;
 
-       DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR_RET(engine, FALSE);
+        DENTER_FUNCTION(DLEVEL_STABLE);
+        DCHECK_PARAM_PTR_RET(engine, FALSE);
 
-       info = NEW(Ewl_Engine_Info, 1);
-       info->shutdown = ee_shutdown;
-       info->hooks.canvas = canvas_funcs;
+        info = NEW(Ewl_Engine_Info, 1);
+        info->shutdown = ee_shutdown;
+        info->hooks.canvas = canvas_funcs;
 
-       engine->functions = info;
+        engine->functions = info;
 
-       DRETURN_INT(TRUE, DLEVEL_STABLE);
+        DRETURN_INT(TRUE, DLEVEL_STABLE);
 }
 
 static void
 ee_shutdown(Ewl_Engine *engine)
 {
-       DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR(engine);
+        DENTER_FUNCTION(DLEVEL_STABLE);
+        DCHECK_PARAM_PTR(engine);
 
-       IF_FREE(engine->functions);
+        IF_FREE(engine->functions);
 
-       DLEAVE_FUNCTION(DLEVEL_STABLE);
+        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
 static void
 ee_canvas_setup(Ewl_Window *win, int debug)
 {
-       Evas *evas;
-       Evas_Engine_Info *info = NULL;
-       Evas_Engine_Info_GL_X11 *glinfo;
-       Ewl_Object *o;
-
-       DENTER_FUNCTION(DLEVEL_STABLE);
-       DCHECK_PARAM_PTR(win);
-       DCHECK_TYPE(win, EWL_WINDOW_TYPE);
-
-       evas = evas_new();
-       evas_output_method_set(evas, evas_render_method_lookup("gl_x11"));
-
-       info = evas_engine_info_get(evas);
-       if (!info)
-       {
-               fprintf(stderr, "Unable to use gl_x11 engine for rendering, ");
-               exit(-1);
-       }
-
-       glinfo = (Evas_Engine_Info_GL_X11 *)info;
-
-       glinfo->info.display = ecore_x_display_get();
-       glinfo->info.visual = glinfo->func.best_visual_get(
-                               glinfo->info.display,
-                               DefaultScreen(glinfo->info.display));
-       glinfo->info.colormap = glinfo->func.best_colormap_get(
-                               glinfo->info.display,
-                               DefaultScreen(glinfo->info.display));
-       glinfo->info.drawable = (Ecore_X_Window)win->window;
-       glinfo->info.depth = glinfo->func.best_depth_get(
-                               glinfo->info.display,
-                               DefaultScreen(glinfo->info.display));
-
-       o = EWL_OBJECT(win);
-
-       evas_engine_info_set(evas, info);
-       evas_output_size_set(evas, ewl_object_current_w_get(o),
-                                       ewl_object_current_h_get(o));
-       evas_output_viewport_set(evas, ewl_object_current_x_get(o),
-                                       ewl_object_current_y_get(o),
-                                       ewl_object_current_w_get(o),
-                                       ewl_object_current_h_get(o));
-       ewl_embed_canvas_set(EWL_EMBED(win), evas, win->window);
+        Evas *evas;
+        Evas_Engine_Info *info = NULL;
+        Evas_Engine_Info_GL_X11 *glinfo;
+        Ewl_Object *o;
+
+        DENTER_FUNCTION(DLEVEL_STABLE);
+        DCHECK_PARAM_PTR(win);
+        DCHECK_TYPE(win, EWL_WINDOW_TYPE);
+
+        evas = evas_new();
+        evas_output_method_set(evas, evas_render_method_lookup("gl_x11"));
+
+        info = evas_engine_info_get(evas);
+        if (!info)
+        {
+               fprintf(stderr, "Unable to use gl_x11 engine for rendering, ");
+               exit(-1);
+        }
+
+        glinfo = (Evas_Engine_Info_GL_X11 *)info;
+
+        glinfo->info.display = ecore_x_display_get();
+        glinfo->info.visual = glinfo->func.best_visual_get(
+                               glinfo->info.display,
+                               DefaultScreen(glinfo->info.display));
+        glinfo->info.colormap = glinfo->func.best_colormap_get(
+                               glinfo->info.display,
+                               DefaultScreen(glinfo->info.display));
+        glinfo->info.drawable = (Ecore_X_Window)win->window;
+        glinfo->info.depth = glinfo->func.best_depth_get(
+                               glinfo->info.display,
+                               DefaultScreen(glinfo->info.display));
+
+        o = EWL_OBJECT(win);
+
+        evas_engine_info_set(evas, info);
+        evas_output_size_set(evas, ewl_object_current_w_get(o),
+                                       ewl_object_current_h_get(o));
+        evas_output_viewport_set(evas, ewl_object_current_x_get(o),
+                                       ewl_object_current_y_get(o),
+                                       ewl_object_current_w_get(o),
+                                       ewl_object_current_h_get(o));
+        ewl_embed_canvas_set(EWL_EMBED(win), evas, win->window);
 
-       DLEAVE_FUNCTION(DLEVEL_STABLE);
+        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }
 
 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to