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_slider.c e_slider.h 


Log Message:


first step - slider smart and minimal theme stuff. i need to make the gfx
proper and do a label area.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/Makefile.am,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -3 -r1.78 -r1.79
--- Makefile.am 6 Nov 2005 08:03:13 -0000       1.78
+++ Makefile.am 17 Nov 2005 08:34:33 -0000      1.79
@@ -112,7 +112,8 @@
 e_ilist.h \
 e_livethumb.h \
 e_int_border_border.h \
-e_widget_ilist.h
+e_widget_ilist.h \
+e_slider.h
 
 enlightenment_src = \
 e_user.c \
@@ -206,6 +207,7 @@
 e_livethumb.c \
 e_int_border_border.c \
 e_widget_ilist.c \
+e_slider.c \
 $(ENLIGHTENMENTHEADERS)
 
 enlightenment_SOURCES = \
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_includes.h,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- e_includes.h        6 Nov 2005 08:03:13 -0000       1.62
+++ e_includes.h        17 Nov 2005 08:34:33 -0000      1.63
@@ -93,3 +93,4 @@
 #include "e_livethumb.h"
 #include "e_int_border_border.h"
 #include "e_widget_ilist.h"
+#include "e_slider.h"
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_test.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- e_test.c    6 Nov 2005 09:59:12 -0000       1.40
+++ e_test.c    17 Nov 2005 08:34:33 -0000      1.41
@@ -500,6 +500,38 @@
    
    evas_object_focus_set(o, 1);
 }
+#elif 0
+static void
+_e_test_cb_e_smart_pan_changed_hook(void *data, Evas_Object *obj, void 
*event_info)
+{
+   printf("VAL: %3.3f\n", e_slider_value_get(obj));
+}
+
+static void
+_e_test_internal(E_Container *con)
+{
+   E_Dialog *dia;
+   Evas_Object *o;
+   
+   dia = e_dialog_new(con);
+   e_dialog_title_set(dia, "A Test Dialog");
+   
+   o = e_slider_add(dia->win->evas);
+   e_slider_orientation_set(o, 1);
+   e_slider_value_set(o, 0.5);
+   e_slider_value_step_count_set(o, 4);
+   e_slider_value_format_display_set(o, "%1.1f V");
+   evas_object_smart_callback_add(o, "changed", 
_e_test_cb_e_smart_pan_changed_hook, NULL);
+   evas_object_show(o);
+   
+   e_dialog_content_set(dia, o, 240, 16);
+   
+   e_dialog_button_add(dia, "OK", NULL, NULL, NULL);
+   e_win_centered_set(dia->win, 1);
+   e_dialog_show(dia);
+   
+   evas_object_focus_set(o, 1);
+}
 #else
 static void
 _e_test_internal(E_Container *con)




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to