1 /* GIMP - The GNU Image Manipulation Program
2  * Copyright (C) 1995 Spencer Kimball and Peter Mattis
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program 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
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <https://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef __GRADIENT_EDITOR_COMMANDS_H__
19 #define __GRADIENT_EDITOR_COMMANDS_H__
20 
21 
22 enum
23 {
24   GRADIENT_EDITOR_COLOR_NEIGHBOR_ENDPOINT,
25   GRADIENT_EDITOR_COLOR_OTHER_ENDPOINT,
26   GRADIENT_EDITOR_COLOR_FOREGROUND,
27   GRADIENT_EDITOR_COLOR_BACKGROUND,
28   GRADIENT_EDITOR_COLOR_FIRST_CUSTOM
29 };
30 
31 
32 void   gradient_editor_left_color_cmd_callback       (GimpAction *action,
33                                                       GVariant   *value,
34                                                       gpointer    data);
35 void   gradient_editor_left_color_type_cmd_callback  (GimpAction *action,
36                                                       GVariant   *value,
37                                                       gpointer    data);
38 void   gradient_editor_load_left_cmd_callback        (GimpAction *action,
39                                                       GVariant   *value,
40                                                       gpointer    data);
41 void   gradient_editor_save_left_cmd_callback        (GimpAction *action,
42                                                       GVariant   *value,
43                                                       gpointer    data);
44 
45 void   gradient_editor_right_color_cmd_callback      (GimpAction *action,
46                                                       GVariant   *value,
47                                                       gpointer    data);
48 void   gradient_editor_right_color_type_cmd_callback (GimpAction *action,
49                                                       GVariant   *value,
50                                                       gpointer    data);
51 void   gradient_editor_load_right_cmd_callback       (GimpAction *action,
52                                                       GVariant   *value,
53                                                       gpointer    data);
54 void   gradient_editor_save_right_cmd_callback       (GimpAction *action,
55                                                       GVariant   *value,
56                                                       gpointer    data);
57 
58 void   gradient_editor_blending_func_cmd_callback    (GimpAction *action,
59                                                       GVariant   *value,
60                                                       gpointer    data);
61 void   gradient_editor_coloring_type_cmd_callback    (GimpAction *action,
62                                                       GVariant   *value,
63                                                       gpointer    data);
64 
65 void   gradient_editor_flip_cmd_callback             (GimpAction *action,
66                                                       GVariant   *value,
67                                                       gpointer    data);
68 void   gradient_editor_replicate_cmd_callback        (GimpAction *action,
69                                                       GVariant   *value,
70                                                       gpointer    data);
71 void   gradient_editor_split_midpoint_cmd_callback   (GimpAction *action,
72                                                       GVariant   *value,
73                                                       gpointer    data);
74 void   gradient_editor_split_uniformly_cmd_callback  (GimpAction *action,
75                                                       GVariant   *value,
76                                                       gpointer    data);
77 void   gradient_editor_delete_cmd_callback           (GimpAction *action,
78                                                       GVariant   *value,
79                                                       gpointer    data);
80 void   gradient_editor_recenter_cmd_callback         (GimpAction *action,
81                                                       GVariant   *value,
82                                                       gpointer    data);
83 void   gradient_editor_redistribute_cmd_callback     (GimpAction *action,
84                                                       GVariant   *value,
85                                                       gpointer    data);
86 
87 void   gradient_editor_blend_color_cmd_callback      (GimpAction *action,
88                                                       GVariant   *value,
89                                                       gpointer    data);
90 void   gradient_editor_blend_opacity_cmd_callback    (GimpAction *action,
91                                                       GVariant   *value,
92                                                       gpointer    data);
93 
94 void   gradient_editor_zoom_cmd_callback             (GimpAction *action,
95                                                       GVariant   *value,
96                                                       gpointer    data);
97 
98 
99 #endif /* __GRADIENT_EDITOR_COMMANDS_H__ */
100