classPixelStitch::ColorDialog

sys::Obj
  PixelStitch::ColorDialog

Color Dialog On Open, create Pop-up window allowing Customize a color with RGB or HSL, return selected color

brightness

CanvasSlider brightness := CanvasSlider.<ctor>(0, 255, 255, this)

cancel

Button cancel := Button.<ctor>() |Button->Void| { ... }

close

Button close := Button.<ctor>() |Button->Void| { ... }

Widgets

grid

PixelGrid grid

Parent Grid

make

new make(Color c, PixelGrid grid)

constructor

open

Color? open(Window? parent)

Open return starting color or whatever user selects/configures

originalColor

Color originalColor

Colors

previewOriginal

ColorPreview? previewOriginal

Color Previews

previewSelected

ColorPreview? previewSelected

selectedColor

Color selectedColor

wheel

ColorWheel wheel := ColorWheel.<ctor>(this)