Enlightenment CVS committal
Author : raster
Project : e17
Module : apps/e
Dir : e17/apps/e/src/bin
Modified Files:
Makefile.am e_includes.h e_test.c
Added Files:
e_slidecore.c e_slidecore.h e_slidesel.c e_slidesel.h
Log Message:
new widgety stuff
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -3 -r1.206 -r1.207
--- Makefile.am 11 Jan 2008 07:33:54 -0000 1.206
+++ Makefile.am 2 Feb 2008 05:26:07 -0000 1.207
@@ -159,7 +159,9 @@
e_intl_data.h \
e_toolbar.h \
e_int_toolbar_config.h \
-e_powersave.h
+e_powersave.h \
+e_slidesel.h \
+e_slidecore.h
enlightenment_src = \
e_user.c \
@@ -292,6 +294,8 @@
e_toolbar.c \
e_int_toolbar_config.c \
e_powersave.c \
+e_slidesel.c \
+e_slidecore.c \
$(ENLIGHTENMENTHEADERS)
enlightenment_SOURCES = \
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_includes.h,v
retrieving revision 1.174
retrieving revision 1.175
diff -u -3 -r1.174 -r1.175
--- e_includes.h 11 Jan 2008 07:33:55 -0000 1.174
+++ e_includes.h 2 Feb 2008 05:26:07 -0000 1.175
@@ -132,3 +132,5 @@
#include "e_toolbar.h"
#include "e_int_toolbar_config.h"
#include "e_powersave.h"
+#include "e_slidesel.h"
+#include "e_slidecore.h"
===================================================================
RCS file: /cvs/e/e17/apps/e/src/bin/e_test.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -3 -r1.79 -r1.80
--- e_test.c 26 Jul 2007 11:15:59 -0000 1.79
+++ e_test.c 2 Feb 2008 05:26:07 -0000 1.80
@@ -669,6 +669,76 @@
e_color_dialog_select_callback_set(d, _e_test_cb_ok, NULL);
}
+#elif 0
+static void
+_e_test_internal(E_Container *con)
+{
+ E_Dialog *dia;
+ Evas_Object *o, *ob, *of;
+ Evas_Coord mw, mh;
+ int i;
+
+ dia = e_dialog_new(con, "E", "_test");
+ e_dialog_title_set(dia, "A Test Dialog");
+
+ of = e_scrollframe_add(dia->win->evas);
+
+ ob = e_box_add(dia->win->evas);
+ e_box_orientation_set(ob, 0);
+
+ for (i = 0; i < 8; i++)
+ {
+ o = e_slidesel_add(dia->win->evas);
+ e_slidesel_item_distance_set(o, 64);
+ e_slidesel_item_add(o, "blah / item 1",
+ "/home/raster/pix/OLD/Download/Crystalline____a.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / smelly fish",
+ "/home/raster/pix/OLD/Download/Reluctant_Sunrise.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / pong",
+ "/home/raster/pix/OLD/Download/Soft_Wings.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / on a stick",
+ "/home/raster/pix/OLD/Download/Stock_rose_1.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / oath",
+ "/home/raster/pix/OLD/Download/The_Eyes_Of_A_Killer.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / yiiihaaaaa",
+ "/home/raster/pix/OLD/Download/lady_bug.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / blah blah blah",
+
"/home/raster/pix/OLD/Download/ocean_rocks_covered_by_ash.jpg",
+ NULL, NULL);
+ e_slidesel_item_add(o, "blah / bing bing bing",
+
"/home/raster/pix/OLD/Download/orange_chair_heaven_falling.jpg",
+ NULL, NULL);
+
+ e_box_pack_end(ob, o);
+ e_box_pack_options_set(o, 1, 1, 1, 0, 0.5, 0.5, 300, 100, 300, 100);
+ evas_object_show(o);
+ }
+
+ /* fixme... more */
+ e_box_min_size_get(ob, &mw, &mh);
+ evas_object_resize(ob, mw, mh);
+
+ e_scrollframe_child_set(of, ob);
+ evas_object_show(ob);
+// e_widget_min_size_get(o, &mw, &mh);
+ mw = 300; mh = 300;
+ e_dialog_content_set(dia, of, mw, mh);
+ evas_object_show(of);
+
+ /* buttons at the bottom */
+ e_dialog_button_add(dia, "OK", NULL, NULL, NULL);
+ e_dialog_resizable_set(dia, 1);
+ e_win_centered_set(dia->win, 1);
+ e_dialog_show(dia);
+ e_win_resize(dia->win, 400, 400);
+
+}
#else
static void
_e_test_internal(E_Container *con)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs