Ticket #873 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Improve overlay options color support

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b1-initial
Component: Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking:

Description

The IJ1 Overlay Options dialog allows user to specify line color and fill color as arbitrary ARGB hex strings. IJ2's version in Edit::Options::Overlay has limited color support and no transparency. This is because of the limitations of the sezpoz tracked color field. Could just make color a String field but then person can enter anything in there.

Two possible approaches here:

  • make the dialog allow colors to be specified as hex strings too. make the field a text field and maybe have a callback that validates input. field should accept "brown" as well as "#ff002288".

OR

  • make ColorRGB values supported by input harvesters. The GUI version could show a color wheel and transparency field.

Change History

comment:1 Changed 8 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

ColorRGB's are supported with GUI widgets already. New UI in place with commit 9753f3caab6db85e3966163698aa325ede98a75a

Note: See TracTickets for help on using tickets.