Debian Codegraph @

include/gutenprintui2/gammacurve.h

raw symbols SCIP
1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 1997 David Mosberger
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, see <https://www.gnu.org/licenses/>.
16 */
17
18 /*
19 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23 */
24
25 #ifndef GUTENPRINTUI_GAMMA_CURVE_H
26 #define GUTENPRINTUI_GAMMA_CURVE_H
27
28
29 #include <gdk/gdk.h>
30 #include <gtk/gtkvbox.h>
31
32
33 #ifdef __cplusplus
34 extern "C" {
35 #endif /* __cplusplus */
36
37
38 #define STPUI_TYPE_GAMMA_CURVE (stpui_gamma_curve_get_type ())
39 #define STPUI_GAMMA_CURVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), STPUI_TYPE_GAMMA_CURVE, StpuiGammaCurve))
40 #define STPUI_GAMMA_CURVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), STPUI_TYPE_GAMMA_CURVE, StpuiGammaCurveClass))
41 #define STPUI_IS_GAMMA_CURVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), STPUI_TYPE_GAMMA_CURVE))
42 #define STPUI_IS_GAMMA_CURVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), STPUI_TYPE_GAMMA_CURVE))
43 #define STPUI_GAMMA_CURVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), STPUI_TYPE_GAMMA_CURVE, StpuiGammaCurveClass))
44
45 typedef struct _StpuiGammaCurve StpuiGammaCurve;
46 typedef struct _StpuiGammaCurveClass StpuiGammaCurveClass;
47
48
49 struct _StpuiGammaCurve
50 {
51 GtkVBox vbox;
52
53 GtkWidget *table;
54 GtkWidget *curve;
55 GtkWidget *button[5]; /* spline, linear, free, gamma, reset */
56
57 gfloat gamma;
58 GtkWidget *gamma_dialog;
59 GtkWidget *gamma_text;
60 };
61
62 struct _StpuiGammaCurveClass
63 {
64 GtkVBoxClass parent_class;
65
66 /* Padding for future expansion */
67 void (*_gtk_reserved1) (void);
68 void (*_gtk_reserved2) (void);
69 void (*_gtk_reserved3) (void);
70 void (*_gtk_reserved4) (void);
71 };
72
73
74 GType stpui_gamma_curve_get_type (void) G_GNUC_CONST;
75 GtkWidget* stpui_gamma_curve_new (void);
76
77
78 #ifdef __cplusplus
79 }
80 #endif /* __cplusplus */
81
82
83 #endif /* GUTENPRINTUI_GAMMACURVE_H */