Browse Source

Use Fl_Double_Window for Fl_Color_Chooser.

tags/v1.3.1000
Jonathan Moore Liles 11 years ago
parent
commit
1238f916dc
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Fl_Color_Chooser.cxx

+ 2
- 1
src/Fl_Color_Chooser.cxx View File

@@ -27,6 +27,7 @@

#include <FL/Fl.H>
#include <FL/Fl_Color_Chooser.H>
#include <FL/Fl_Double_Window.H>
#include <FL/fl_draw.H>
#include <FL/math.h>
#include <stdio.h>
@@ -572,7 +573,7 @@ static void cc_cancel_cb (Fl_Widget *o, void *p) {
*/
int fl_color_chooser(const char* name, double& r, double& g, double& b, int cmode) {
int ret = 0;
Fl_Window window(215,200,name);
Fl_Double_Window window(215,200,name);
window.callback(cc_cancel_cb,&ret);
Fl_Color_Chooser chooser(10, 10, 195, 115);
ColorChip ok_color(10, 130, 95, 25);


Loading…
Cancel
Save