Enlightenment CVS committal Author : lordchaos Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_progressbar.c Log Message: * Make sure the label is on top =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_progressbar.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- ewl_progressbar.c 25 Oct 2005 02:03:46 -0000 1.5 +++ ewl_progressbar.c 29 Dec 2005 02:14:52 -0000 1.6 @@ -4,6 +4,7 @@ #include "ewl_private.h" static void ewl_progressbar_child_handle(Ewl_Container *c, Ewl_Widget *w); +#define EWL_PROGRESSBAR_TEXT_LAYER 100 /** * @return Returns NULL on failure, or a pointer to the new progressbar on success. @@ -70,6 +71,7 @@ ewl_object_alignment_set(EWL_OBJECT(p->label), EWL_FLAG_ALIGN_CENTER); ewl_container_child_append(EWL_CONTAINER(p), p->label); ewl_widget_show(p->label); + ewl_widget_layer_set(p->label, EWL_PROGRESSBAR_TEXT_LAYER); p->value = 0.0; p->range = 100.0; ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs