Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/bin/tests/layer


Modified Files:
        ewl_layer_test.c 


Log Message:
- tabs are a tricky beast. looks like I missed some.

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/layer/ewl_layer_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_layer_test.c    6 May 2008 20:09:05 -0000       1.3
+++ ewl_layer_test.c    7 May 2008 13:38:17 -0000       1.4
@@ -53,32 +53,32 @@
          * And now create the first row of buttons
          */
         for (i = 0; i < 20; i++) {
-               w = ewl_button_new();
-               ewl_button_label_set(EWL_BUTTON(w), "Hide");
-               ewl_container_child_append(EWL_CONTAINER(c), w);
-               ewl_widget_layer_priority_set(w, i - 10);
-               ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
-               ewl_callback_append(w, EWL_CALLBACK_CLICKED,
-                       spectrum_hide, spec);
-               ewl_widget_show(w);
+                w = ewl_button_new();
+                ewl_button_label_set(EWL_BUTTON(w), "Hide");
+                ewl_container_child_append(EWL_CONTAINER(c), w);
+                ewl_widget_layer_priority_set(w, i - 10);
+                ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
+                ewl_callback_append(w, EWL_CALLBACK_CLICKED,
+                        spectrum_hide, spec);
+                ewl_widget_show(w);
 
-               button_row1[i] = w;
+                button_row1[i] = w;
         }
 
         /*
          * Create the second row
          */
         for (i = 0; i < 20; i++) {
-               w = ewl_button_new();
-               ewl_button_label_set(EWL_BUTTON(w), "Show");
-               ewl_container_child_append(EWL_CONTAINER(c), w);
-               ewl_widget_layer_priority_set(w, 10 - i);
-               ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
-               ewl_callback_append(w, EWL_CALLBACK_CLICKED,
-                       spectrum_show, spec);
-               ewl_widget_show(w);
+                w = ewl_button_new();
+                ewl_button_label_set(EWL_BUTTON(w), "Show");
+                ewl_container_child_append(EWL_CONTAINER(c), w);
+                ewl_widget_layer_priority_set(w, 10 - i);
+                ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
+                ewl_callback_append(w, EWL_CALLBACK_CLICKED,
+                        spectrum_show, spec);
+                ewl_widget_show(w);
 
-               button_row2[i] = w;
+                button_row2[i] = w;
         }
 
         /*
@@ -90,7 +90,7 @@
         ewl_widget_layer_priority_set(w, 3);
         ewl_object_fill_policy_set(EWL_OBJECT(w), EWL_FLAG_FILL_NONE);
         ewl_callback_append(w, EWL_CALLBACK_CLICKED,
-                       layer_change, NULL);
+                        layer_change, NULL);
         ewl_widget_show(w);
         dbutton[0] = w;
 
@@ -113,7 +113,7 @@
 
 static void
 spectrum_show(Ewl_Widget *w __UNUSED__, void *ev_data __UNUSED__,
-               void *user_data)
+                void *user_data)
 {
         Ewl_Widget *spec;
 
@@ -124,7 +124,7 @@
 
 static void
 spectrum_hide(Ewl_Widget *w __UNUSED__, void *ev_data __UNUSED__,
-               void *user_data)
+                void *user_data)
 {
         Ewl_Widget *spec;
 
@@ -135,17 +135,17 @@
 
 static void
 layer_change(Ewl_Widget *w, void *ev_data __UNUSED__,
-               void *user_data __UNUSED__)
+                void *user_data __UNUSED__)
 {
         if (ewl_widget_layer_priority_get(w) == 3)
-               ewl_widget_layer_priority_set(w, 1);
+                ewl_widget_layer_priority_set(w, 1);
         else
-               ewl_widget_layer_priority_set(w, 3);
+                ewl_widget_layer_priority_set(w, 3);
 }
 
 static void
 configure_cb(Ewl_Widget *w, void *ev_data __UNUSED__,
-               void *user_data __UNUSED__)
+                void *user_data __UNUSED__)
 {
         int x, y;
         int i;
@@ -156,14 +156,14 @@
          * place the first row of buttons
          */
         for (i = 0; i < 20; i++)
-               ewl_object_position_request(EWL_OBJECT(button_row1[i]),
-                                               i * 5 + x, i * 5 + y);
+                ewl_object_position_request(EWL_OBJECT(button_row1[i]),
+                                                i * 5 + x, i * 5 + y);
         /*
          * place the second row
          */
         for (i = 0; i < 20; i++)
-               ewl_object_position_request(EWL_OBJECT(button_row2[i]),
-                                               i * 5 + 40 + x, i * 5 + y);
+                ewl_object_position_request(EWL_OBJECT(button_row2[i]),
+                                                i * 5 + 40 + x, i * 5 + y);
 
         ewl_object_position_request(EWL_OBJECT(dbutton[0]), 180 + x, 0 + y);
         ewl_object_position_request(EWL_OBJECT(dbutton[1]), 220 + x, 20 + y);



-------------------------------------------------------------------------
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