Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/test
Modified Files:
ewl_box_test.c ewl_button_test.c ewl_entry_test.c
ewl_image_test.c ewl_notebook_test.c ewl_password_test.c
ewl_progressbar_test.c ewl_simple_test.c ewl_spinner_test.c
ewl_test.c ewl_tooltip_test.c
Log Message:
* Convert box API to EFL style.
* Fix window configure callback so that tooltips are positioned correctly.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_box_test.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -3 -r1.30 -r1.31
--- ewl_box_test.c 18 Aug 2004 03:15:21 -0000 1.30
+++ ewl_box_test.c 19 Aug 2004 20:03:34 -0000 1.31
@@ -214,7 +214,7 @@
ewl_container_child_append(EWL_CONTAINER(vbox[1]), vbox_button[1][0]);
ewl_object_fill_policy_set(EWL_OBJECT(vbox_button[1][0]),
EWL_FLAG_FILL_NONE);
- ewl_box_set_orientation(EWL_BOX(vbox_button[1][0]),
+ ewl_box_orientation_set(EWL_BOX(vbox_button[1][0]),
EWL_ORIENTATION_VERTICAL);
ewl_object_alignment_set(EWL_OBJECT(EWL_BUTTON(vbox_button[1][0])->label_object),
EWL_FLAG_ALIGN_CENTER);
@@ -227,7 +227,7 @@
*/
vbox_button[1][1] = ewl_button_new("Fill");
ewl_container_child_append(EWL_CONTAINER(vbox[1]), vbox_button[1][1]);
- ewl_box_set_orientation(EWL_BOX(vbox_button[1][1]),
+ ewl_box_orientation_set(EWL_BOX(vbox_button[1][1]),
EWL_ORIENTATION_VERTICAL);
ewl_object_fill_policy_set(EWL_OBJECT(vbox_button[1][1]),
EWL_FLAG_FILL_FILL);
@@ -242,7 +242,7 @@
*/
vbox_button[1][2] = ewl_button_new("None");
ewl_container_child_append(EWL_CONTAINER(vbox[1]), vbox_button[1][2]);
- ewl_box_set_orientation(EWL_BOX(vbox_button[1][2]),
+ ewl_box_orientation_set(EWL_BOX(vbox_button[1][2]),
EWL_ORIENTATION_VERTICAL);
ewl_object_fill_policy_set(EWL_OBJECT(vbox_button[1][2]),
EWL_FLAG_FILL_NONE);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_button_test.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -3 -r1.27 -r1.28
--- ewl_button_test.c 18 Aug 2004 04:41:59 -0000 1.27
+++ ewl_button_test.c 19 Aug 2004 20:03:34 -0000 1.28
@@ -42,7 +42,7 @@
*/
button_box = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(button_win), button_box);
- ewl_box_set_spacing(EWL_BOX(button_box), 10);
+ ewl_box_spacing_set(EWL_BOX(button_box), 10);
ewl_widget_show(button_box);
/*
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_entry_test.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- ewl_entry_test.c 18 Aug 2004 03:15:22 -0000 1.23
+++ ewl_entry_test.c 19 Aug 2004 20:03:34 -0000 1.24
@@ -81,7 +81,7 @@
*/
entry_box = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(entry_win), entry_box);
- ewl_box_set_spacing(EWL_BOX(entry_box), 10);
+ ewl_box_spacing_set(EWL_BOX(entry_box), 10);
ewl_widget_show(entry_box);
entry[0] = ewl_entry_new("Play with me ?");
@@ -105,7 +105,7 @@
button_hbox = ewl_hbox_new();
ewl_object_alignment_set(EWL_OBJECT(button_hbox), EWL_FLAG_ALIGN_CENTER);
ewl_container_child_append(EWL_CONTAINER(entry_box), button_hbox);
- ewl_box_set_spacing(EWL_BOX(button_hbox), 5);
+ ewl_box_spacing_set(EWL_BOX(button_hbox), 5);
ewl_widget_show(button_hbox);
button[0] = ewl_button_new("Fetch text");
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_image_test.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_image_test.c 18 Aug 2004 03:15:22 -0000 1.25
+++ ewl_image_test.c 19 Aug 2004 20:03:34 -0000 1.26
@@ -139,7 +139,7 @@
*/
image_box = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(image_win), image_box);
- ewl_box_set_spacing(EWL_BOX(image_box), 10);
+ ewl_box_spacing_set(EWL_BOX(image_box), 10);
ewl_widget_show(image_box);
scrollpane = ewl_scrollpane_new();
@@ -169,7 +169,7 @@
ewl_widget_show(entry_path);
button_hbox = ewl_hbox_new();
- ewl_box_set_spacing(EWL_BOX(button_hbox), 5);
+ ewl_box_spacing_set(EWL_BOX(button_hbox), 5);
ewl_object_alignment_set(EWL_OBJECT(button_hbox), EWL_FLAG_ALIGN_CENTER);
ewl_object_custom_size_set(EWL_OBJECT(button_hbox), 300, 26);
ewl_container_child_append(EWL_CONTAINER(image_box), button_hbox);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_notebook_test.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_notebook_test.c 18 Aug 2004 04:41:59 -0000 1.25
+++ ewl_notebook_test.c 19 Aug 2004 20:03:34 -0000 1.26
@@ -84,7 +84,7 @@
ewl_widget_show(tab);
main_vbox = ewl_vbox_new();
- ewl_box_set_spacing(EWL_BOX(main_vbox), 10);
+ ewl_box_spacing_set(EWL_BOX(main_vbox), 10);
ewl_widget_show(main_vbox);
text = ewl_text_new("Main");
@@ -202,7 +202,7 @@
ewl_widget_show(tab);
main_vbox = ewl_vbox_new();
- ewl_box_set_spacing(EWL_BOX(main_vbox), 10);
+ ewl_box_spacing_set(EWL_BOX(main_vbox), 10);
ewl_widget_show(main_vbox);
text = ewl_text_new(label);
@@ -211,7 +211,7 @@
ewl_widget_show(text);
hbox = ewl_hbox_new();
- ewl_box_set_spacing(EWL_BOX(hbox), 5);
+ ewl_box_spacing_set(EWL_BOX(hbox), 5);
ewl_object_padding_set(EWL_OBJECT(hbox), 0, 0, 20, 0);
ewl_object_alignment_set(EWL_OBJECT(hbox), EWL_FLAG_ALIGN_CENTER);
ewl_container_child_append(EWL_CONTAINER(main_vbox), hbox);
@@ -299,7 +299,7 @@
*/
notebook_box = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(notebook_win), notebook_box);
- ewl_box_set_spacing(EWL_BOX(notebook_box), 10);
+ ewl_box_spacing_set(EWL_BOX(notebook_box), 10);
ewl_widget_show(notebook_box);
notebook = ewl_notebook_new();
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_password_test.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- ewl_password_test.c 18 Aug 2004 03:15:22 -0000 1.5
+++ ewl_password_test.c 19 Aug 2004 20:03:34 -0000 1.6
@@ -73,7 +73,7 @@
*/
password_box = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(password_win), password_box);
- ewl_box_set_spacing(EWL_BOX(password_box), 10);
+ ewl_box_spacing_set(EWL_BOX(password_box), 10);
ewl_widget_show(password_box);
password[0] = ewl_password_new("Play with me ?");
@@ -93,7 +93,7 @@
button_hbox = ewl_hbox_new();
ewl_object_alignment_set(EWL_OBJECT(button_hbox), EWL_FLAG_ALIGN_CENTER);
ewl_container_child_append(EWL_CONTAINER(password_box), button_hbox);
- ewl_box_set_spacing(EWL_BOX(button_hbox), 5);
+ ewl_box_spacing_set(EWL_BOX(button_hbox), 5);
ewl_widget_show(button_hbox);
button[0] = ewl_button_new("Fetch text");
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_progressbar_test.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ewl_progressbar_test.c 18 Aug 2004 03:15:22 -0000 1.12
+++ ewl_progressbar_test.c 19 Aug 2004 20:03:34 -0000 1.13
@@ -148,13 +148,13 @@
progressbar_vbox = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(progressbar_win), progressbar_vbox);
- ewl_box_set_spacing(EWL_BOX(progressbar_vbox), 0);
+ ewl_box_spacing_set(EWL_BOX(progressbar_vbox), 0);
ewl_widget_show(progressbar_vbox);
progressbar_box = ewl_hbox_new();
ewl_container_child_append(EWL_CONTAINER(progressbar_vbox),
progressbar_box);
- ewl_box_set_spacing(EWL_BOX(progressbar_box), 0);
+ ewl_box_spacing_set(EWL_BOX(progressbar_box), 0);
ewl_widget_show(progressbar_box);
/*
@@ -191,7 +191,7 @@
progressbar_box = ewl_hbox_new();
ewl_container_child_append(EWL_CONTAINER(progressbar_vbox),
progressbar_box);
- ewl_box_set_spacing(EWL_BOX(progressbar_box), 0);
+ ewl_box_spacing_set(EWL_BOX(progressbar_box), 0);
ewl_widget_show(progressbar_box);
button = ewl_button_new ("Rerun");
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_simple_test.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ewl_simple_test.c 18 Aug 2004 03:15:22 -0000 1.11
+++ ewl_simple_test.c 19 Aug 2004 20:03:34 -0000 1.12
@@ -204,7 +204,7 @@
ewl_widget_show(label);
hbox = ewl_hbox_new();
- ewl_box_set_spacing(EWL_BOX(hbox), 10);
+ ewl_box_spacing_set(EWL_BOX(hbox), 10);
ewl_container_child_append(EWL_CONTAINER(vbox), hbox);
ewl_object_fill_policy_set(EWL_OBJECT(hbox), EWL_FLAG_FILL_NONE);
ewl_object_alignment_set(EWL_OBJECT(hbox), EWL_FLAG_ALIGN_CENTER);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_spinner_test.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- ewl_spinner_test.c 18 Aug 2004 03:40:46 -0000 1.20
+++ ewl_spinner_test.c 19 Aug 2004 20:03:34 -0000 1.21
@@ -111,7 +111,7 @@
*/
spinner_box = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(spinner_win), spinner_box);
- ewl_box_set_spacing(EWL_BOX(spinner_box), 10);
+ ewl_box_spacing_set(EWL_BOX(spinner_box), 10);
ewl_widget_show(spinner_box);
tmp_win = ewl_window_new();
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_test.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -u -3 -r1.72 -r1.73
--- ewl_test.c 18 Aug 2004 03:15:22 -0000 1.72
+++ ewl_test.c 19 Aug 2004 20:03:34 -0000 1.73
@@ -140,8 +140,8 @@
*/
main_box = ewl_hbox_new();
ewl_container_child_append(EWL_CONTAINER(main_win), main_box);
- ewl_box_set_spacing(EWL_BOX(main_box), 6);
- ewl_box_set_homogeneous (EWL_BOX (main_box), FALSE);
+ ewl_box_spacing_set(EWL_BOX(main_box), 6);
+ ewl_box_homogeneous_set (EWL_BOX (main_box), FALSE);
ewl_widget_show(main_box);
main_tree = ewl_tree_new(1);
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/test/ewl_tooltip_test.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- ewl_tooltip_test.c 18 Aug 2004 03:15:22 -0000 1.10
+++ ewl_tooltip_test.c 19 Aug 2004 20:03:34 -0000 1.11
@@ -36,7 +36,7 @@
tooltip_vbox = ewl_vbox_new();
ewl_container_child_append(EWL_CONTAINER(tooltip_win), tooltip_vbox);
- ewl_box_set_spacing(EWL_BOX(tooltip_vbox), 0);
+ ewl_box_spacing_set(EWL_BOX(tooltip_vbox), 0);
ewl_widget_show(tooltip_vbox);
button = ewl_button_new ("Hoover on this button");
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs