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

Progress bar API problem



The typical use of the progress bar API looks like this:


PROGRESS START 0 N foo/start

PROGRESS STEP 1 foo/inc
...
PROGRESS STEP 1 foo/inc
...
(et.c.)

PROGRESS STOP


Now, the problem is that the counter is increased before the text is
displayed. Wouldn't it make more sense to do a post-increment than a
pre-increment? I guess that would mean that PROGRESS STOP has to show
the final 100% value before leaving.

How does that sound?

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


Reply to: