Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_label.c ewl_label.h Log Message: - add a standard ewl_label_view_get() call =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_label.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- ewl_label.c 17 Feb 2006 06:43:33 -0000 1.18 +++ ewl_label.c 10 Sep 2006 15:54:44 -0000 1.19 @@ -85,3 +85,22 @@ DRETURN_PTR(ewl_widget_appearance_text_get(EWL_WIDGET(la)), DLEVEL_STABLE); } +/** + * @return Returns a view that can be used to display Ewl_Label widgets + * @brief Creates and returns a view to be used by Ewl_Label widgets + */ +Ewl_View * +ewl_label_view_get(void) +{ + Ewl_View *view; + + DENTER_FUNCTION(DLEVEL_STABLE); + + view = ewl_view_new(); + ewl_view_constructor_set(view, ewl_label_new); + ewl_view_assign_set(view, EWL_VIEW_ASSIGN(ewl_label_text_set)); + + DRETURN_PTR(view, DLEVEL_STABLE); +} + + =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_label.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -3 -r1.12 -r1.13 --- ewl_label.h 11 May 2006 04:01:20 -0000 1.12 +++ ewl_label.h 10 Sep 2006 15:54:44 -0000 1.13 @@ -43,6 +43,8 @@ void ewl_label_text_set(Ewl_Label *la, const char *text); const char *ewl_label_text_get(Ewl_Label *la); +Ewl_View *ewl_label_view_get(void); + /** * @} */ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs