Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/shadow
Modified Files:
ewl_shadow_test.c
Log Message:
- change tabs to spaces (Ewl uses 8 space indent now instead of a tab)
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/shadow/ewl_shadow_test.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_shadow_test.c 4 Dec 2007 05:28:03 -0000 1.1
+++ ewl_shadow_test.c 6 May 2008 20:18:56 -0000 1.2
@@ -1,4 +1,4 @@
-/* vim: set sw=8 ts=8 sts=8 noexpandtab: */
+/* vim: set sw=8 ts=8 sts=8 expandtab: */
#include "Ewl_Test.h"
#include "ewl_test_private.h"
#include "ewl_image.h"
@@ -10,34 +10,34 @@
void test_info(Ewl_Test *test)
{
- test->name = "Shadow";
- test->tip = "Defines the Ewl_Shadow class for displaying\n"
- "a container that will shadow other widgets.";
- test->filename = __FILE__;
- test->func = create_test;
- test->type = EWL_TEST_TYPE_CONTAINER;
+ test->name = "Shadow";
+ test->tip = "Defines the Ewl_Shadow class for displaying\n"
+ "a container that will shadow other widgets.";
+ test->filename = __FILE__;
+ test->func = create_test;
+ test->type = EWL_TEST_TYPE_CONTAINER;
}
static int
create_test(Ewl_Container *box)
{
- Ewl_Widget *shadow;
- Ewl_Widget *image;
+ Ewl_Widget *shadow;
+ Ewl_Widget *image;
- shadow = ewl_shadow_new();
- ewl_object_minimum_size_set(EWL_OBJECT(shadow), 280, 250);
- ewl_object_alignment_set(EWL_OBJECT(shadow), EWL_FLAG_ALIGN_CENTER);
- ewl_container_child_append(EWL_CONTAINER(box), shadow);
- ewl_widget_show(shadow);
-
- image = ewl_image_new();
- ewl_image_file_set(EWL_IMAGE(image),
- PACKAGE_DATA_DIR "/ewl/images/elicit.png", NULL);
- ewl_image_size_set(EWL_IMAGE(image), 220, 210);
- ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_CENTER);
- ewl_container_child_append(EWL_CONTAINER(shadow), image);
- ewl_widget_show(image);
+ shadow = ewl_shadow_new();
+ ewl_object_minimum_size_set(EWL_OBJECT(shadow), 280, 250);
+ ewl_object_alignment_set(EWL_OBJECT(shadow), EWL_FLAG_ALIGN_CENTER);
+ ewl_container_child_append(EWL_CONTAINER(box), shadow);
+ ewl_widget_show(shadow);
+
+ image = ewl_image_new();
+ ewl_image_file_set(EWL_IMAGE(image),
+ PACKAGE_DATA_DIR "/ewl/images/elicit.png", NULL);
+ ewl_image_size_set(EWL_IMAGE(image), 220, 210);
+ ewl_object_alignment_set(EWL_OBJECT(image), EWL_FLAG_ALIGN_CENTER);
+ ewl_container_child_append(EWL_CONTAINER(shadow), image);
+ ewl_widget_show(image);
- return 1;
+ return 1;
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs