Draws a progress bar for an item.
surface |
the surface to draw the progress onto |
icon_size |
the icon-size of the dock |
color |
the color of the progress |
progress |
the value between 0.0 and 1.0 |