On Wed, 1 Jul 2009 15:48:15 +0200 michael bouchaud <[email protected]>
said:

> Maybee to represent a step by step evenment. An exemple a progressbar with
> 42 steps. (step 0 to 42)
> the min are useless but max, I don't think so.
> Maybee replace it with another function like elm_progressbar_max_set,
> elm_progressbar_rate_set or elm_progressbar_scale_set.
> What do you think about this

and the below code has 42 steps too - there is no need for the progressbar to
add calls to abstract steps. progress is current position / max position - and
in the end that is a value from 0 to 1. when max position is unknown, that is
where you have pulse mode. the api call moves a divide into elementary from the
app. a whole api call to remove a divide? that actually makes for longer code,
not shorter :)

> 2009/7/1 Carsten Haitzler <[email protected]>
> 
> > On Tue, 30 Jun 2009 17:27:52 +0200 michael bouchaud
> > <[email protected]> said:
> >
> > > Hi everybody, I'm be back with a new patch for progressbar in elementary.
> > > This time the progressbar can do: horizontal, vertical and invert
> > display.
> > > I don't modify the call to change the position of the dragable object (I
> > > don't have find the time to do it yersteday, sorry Gustavo). I will take
> > > look on this tonight.
> > >
> > > hoping that you like it.
> > >
> > > regards,
> > >
> > > ps : my name in irc is 'yoz', if you want to contact me
> >
> > almost. one thing:
> >
> > 1. elm_progressbar_min_max_set - do we really need this? progress really is
> > 0.0
> > to 1.0 (not done to done). any good reason to keep this?
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    [email protected]
> >
> >
> ------------------------------------------------------------------------------
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to