if true, a linear progress indicator is used, otherwise a circular
the current progress value
the maximum progress value