Esempio n. 1
0
 public _ProgressBarPainter(
     float value,
     ProgressColors colors)
 {
     this.value  = value;
     this.colors = colors;
 }
Esempio n. 2
0
 public ProgressBar(
     float relative,
     VoidCallback onDragStart      = null,
     ChangeCallback changeCallback = null,
     ProgressColors colors         = null,
     Key key = null
     ) : base(key)
 {
     this.relative       = relative;
     this.colors         = colors ?? new ProgressColors();
     this.onDragStart    = onDragStart;
     this.changeCallback = changeCallback;
 }