Debian Codegraph @

swig/Fl_Color_Chooser.i

raw
1 /* File : Fl_Color_Chooser.i */
2 //%module Fl_Color_Chooser
3
4 %feature("docstring") ::Fl_Color_Chooser
5 """
6 The Fl_Color_Chooser widget provides a standard RGB color chooser. You can
7 place any number of these into a panel of your own design. This widget
8 contains the hue box, value slider, and rgb input fields from the above
9 diagram (it does not have the color chips or the Cancel or OK buttons). The
10 callback is done every time the user changes the rgb value. It is not done
11 if they move the hue control in a way that produces the same rgb value, such
12 as when saturation or value is zero.
13 """ ;
14
15 %{
16 #include "FL/Fl_Color_Chooser.H"
17 %}
18
19 %ignore fl_color_chooser(const char* name, double& r, double &g,
20 double &b);
21
22 %include "typemaps.i"
23 %apply unsigned char& INOUT {unsigned char& r};
24 %apply unsigned char& INOUT {unsigned char& g};
25 %apply unsigned char& INOUT {unsigned char& b};
26
27 %include "macros.i"
28
29 CHANGE_OWNERSHIP(Fl_Color_Chooser)
30
31 CHANGE_OWNERSHIP(Flcc_HueBox)
32
33 CHANGE_OWNERSHIP(Flcc_ValueBox)
34
35 CHANGE_OWNERSHIP(Flcc_Value_Input)
36
37 %include "FL/Fl_Color_Chooser.H"
38
39
40