54
54
<a name="GimpColorScale.synopsis"></a><h2>Synopsis</h2>
55
55
<pre class="synopsis">
56
56
<a class="link" href="GimpColorScale.html#GimpColorScale-struct" title="GimpColorScale">GimpColorScale</a>;
58
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
59
>GtkWidget</a>* <a class="link" href="GimpColorScale.html#gimp-color-scale-new" title="gimp_color_scale_new ()">gimp_color_scale_new</a> (<a
60
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
61
>GtkOrientation</a> orientation,
57
GtkWidget* <a class="link" href="GimpColorScale.html#gimp-color-scale-new" title="gimp_color_scale_new ()">gimp_color_scale_new</a> (GtkOrientation orientation,
62
58
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
63
59
void <a class="link" href="GimpColorScale.html#gimp-color-scale-set-channel" title="gimp_color_scale_set_channel ()">gimp_color_scale_set_channel</a> (<a class="link" href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
64
60
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);
65
61
void <a class="link" href="GimpColorScale.html#gimp-color-scale-set-color" title="gimp_color_scale_set_color ()">gimp_color_scale_set_color</a> (<a class="link" href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
67
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
63
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
70
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
66
href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
71
67
>GimpHSV</a> *hsv);
74
70
<div class="refsect1" lang="en">
75
71
<a name="GimpColorScale.object-hierarchy"></a><h2>Object Hierarchy</h2>
76
72
<pre class="synopsis">
78
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
81
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
82
>GInitiallyUnowned</a>
84
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
87
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
90
href="/usr/share/gtk-doc/html/gtk/GtkRange.html"
93
href="/usr/share/gtk-doc/html/gtk/GtkScale.html"
74
+----GInitiallyUnowned
95
79
+----GimpColorScale
120
104
<div class="refsect2" lang="en">
121
105
<a name="gimp-color-scale-new"></a><h3>gimp_color_scale_new ()</h3>
122
<pre class="programlisting"><a
123
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
124
>GtkWidget</a>* gimp_color_scale_new (<a
125
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
126
>GtkOrientation</a> orientation,
106
<pre class="programlisting">GtkWidget* gimp_color_scale_new (GtkOrientation orientation,
127
107
<a class="link" href="GimpColorSelector.html#GimpColorSelectorChannel" title="enum GimpColorSelectorChannel">GimpColorSelectorChannel</a> channel);</pre>
129
109
Creates a new <a class="link" href="GimpColorScale.html" title="GimpColorScale"><span class="type">GimpColorScale</span></a> widget.</p>
182
162
<a name="gimp-color-scale-set-color"></a><h3>gimp_color_scale_set_color ()</h3>
183
163
<pre class="programlisting">void gimp_color_scale_set_color (<a class="link" href="GimpColorScale.html" title="GimpColorScale">GimpColorScale</a> *scale,
185
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
165
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
186
166
>GimpRGB</a> *rgb,
188
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
168
href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
189
169
>GimpHSV</a> *hsv);</pre>
191
171
Changes the color value of the <em class="parameter"><code>scale</code></em>.</p>
204
184
<td><p><span class="term"><em class="parameter"><code>rgb</code></em> :</span></p></td>
205
185
<td> the new color as <a
206
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
186
href="../libgimpcolor/libgimpcolor-GimpRGB.html#GimpRGB"
207
187
><span class="type">GimpRGB</span></a>
211
191
<td><p><span class="term"><em class="parameter"><code>hsv</code></em> :</span></p></td>
212
192
<td> the new color as <a
213
href="/usr/share/gtk-doc/html/libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
193
href="../libgimpcolor/libgimpcolor-GimpHSV.html#GimpHSV"
214
194
><span class="type">GimpHSV</span></a>