diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 20:16:43 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-10-30 20:16:43 +0000 |
| commit | 9b6f68dd7ce28ca42e31af0cf2a9c2535b34553f (patch) | |
| tree | b92069c1f16f636a1edb450909026bf45d400c9b /test/color_chooser.cxx | |
| parent | f1f1d8ed4239898a76e421d68fdd97459b125419 (diff) | |
Added interface to set color chooser mode (STR #2407)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/color_chooser.cxx')
| -rw-r--r-- | test/color_chooser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/color_chooser.cxx b/test/color_chooser.cxx index e737dcfec..212b08f5f 100644 --- a/test/color_chooser.cxx +++ b/test/color_chooser.cxx @@ -86,7 +86,7 @@ void cb1(Fl_Widget *, void *v) { void cb2(Fl_Widget *, void *v) { uchar r,g,b; Fl::get_color(c,r,g,b); - if (!fl_color_chooser("New color:",r,g,b)) return; + if (!fl_color_chooser("New color:",r,g,b,3)) return; c = fullcolor_cell; Fl::set_color(fullcolor_cell,r,g,b); Fl_Box* bx = (Fl_Box*)v; |
