1 ! Copyright (C) 2011 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax kernel math strings ;
6 HELP: make-progress-bar
8 { "percent" "a real number between 0 and 1" } { "length" integer }
11 { $description "Makes a progress bar " { $snippet "percent" } " completed that is " { $snippet "length" } " characters long." } ;
13 ARTICLE: "progress-bars" "Progress bars"
14 "The " { $vocab-link "progress-bars" } " vocabulary implements a simple progress bar string." $nl
15 "To make a generic progress bar string:"
16 { $subsections make-progress-bar }
17 "The " { $vocab-link "progress-bars.models" } " vocabulary implements a word to display a progress bar that shows how much of a file has been read so far." ;
19 ABOUT: "progress-bars"