[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] hurting my brain



At 17.39 -0400 1998.09.04, Mark Manning/Muniz Eng. wrote:
>What if the progress bar always went from 0% to 100%?  Then all someone
>would have to provide is where, in the 0-100% range they are.  This is
>fairly easy to do given it's just a simple ratio.  All fractions can be
>rounded to the nearest whole number and the progress bar area itself
>could be exactly 101 pixels wide.  Then you just add one to the number
>sent to you to get 1-101 pixels which would then be filled in with the
>progress bar.

Well, the specific application is unimportant.  I am working on a general
way to translate aete resources into usable Perl.  The Progess Bar app
already has its own module, I am just using it as an example (especially
since many people are likely to be familiar with it, since it was discussed
in my TPJ article).

Thanks,

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch