From 9b6f68dd7ce28ca42e31af0cf2a9c2535b34553f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 30 Oct 2010 20:16:43 +0000 Subject: 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 --- test/color_chooser.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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; -- cgit v1.2.3