Hello, after playing around in Elementary for a while I noticed that the value displayed on the progress bar always goes from 0 to 100. I think that there are use cases where another maximum value would make sense, i.e. in a timer. Please review the attached patch that adds this functionality.
Regards, Daniel Willmann (1): elementary: Add elm_progressbar_maxunit_{set,get} functions trunk/elementary/src/lib/elm_progressbar.c | 27 ++++++++++++++++++++++++++- trunk/elementary/src/lib/elm_progressbar.h | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) -- 1.7.9.5 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel