classPixelStitch::CanvasSlider

sys::Obj
  fwt::Widget
    fwt::Canvas
      PixelStitch::CanvasSlider

Canvas Slider Vertical slider bar with text on the top - click and drag slider to change value Supports two optional background colors (backgroundTop) (BackgroundBottom) to gradient between

backgroundBottom

Color? backgroundBottom

backgroundTop

Color? backgroundTop

dialog

ColorDialog dialog

Parent Dialog widget

make

new make(Int min, Int max, Int defaultValue, ColorDialog dialog)

max

const Int max

min

const Int min

onPaint

virtual override Void onPaint(Graphics g)

prefSize

virtual override Size prefSize(Hints hint := Hints.defVal)

text

Str? text

value

Int value

valueNormalized

Float valueNormalized()