summaryrefslogtreecommitdiffstats
path: root/app/actions/view-commands.h
blob: 17b15b2ece02613a52c42fa348a1b071e2bd2ac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/* GIMP - The GNU Image Manipulation Program
 * Copyright (C) 1995 Spencer Kimball and Peter Mattis
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */

#ifndef __VIEW_COMMANDS_H__
#define __VIEW_COMMANDS_H__


void   view_new_cmd_callback                        (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_close_cmd_callback                      (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_scroll_center_cmd_callback              (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_zoom_fit_in_cmd_callback                (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_zoom_fill_cmd_callback                  (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_zoom_selection_cmd_callback             (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_zoom_revert_cmd_callback                (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_zoom_cmd_callback                       (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_zoom_explicit_cmd_callback              (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

/* not a GimpActionCallback */
void   view_zoom_other_cmd_callback                 (GimpAction *action,
                                                     gpointer    data);

void   view_show_all_cmd_callback                   (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_dot_for_dot_cmd_callback                (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_scroll_horizontal_cmd_callback          (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_scroll_vertical_cmd_callback            (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_flip_horizontally_cmd_callback          (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_flip_vertically_cmd_callback            (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_rotate_absolute_cmd_callback            (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_rotate_relative_cmd_callback            (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_rotate_other_cmd_callback               (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_navigation_window_cmd_callback          (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_display_filters_cmd_callback            (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_color_management_reset_cmd_callback     (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_color_management_enable_cmd_callback    (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_color_management_softproof_cmd_callback (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_display_intent_cmd_callback             (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_display_bpc_cmd_callback                (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_softproof_profile_cmd_callback          (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_softproof_intent_cmd_callback           (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_softproof_bpc_cmd_callback              (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_softproof_gamut_check_cmd_callback      (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_toggle_selection_cmd_callback           (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_layer_boundary_cmd_callback      (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_canvas_boundary_cmd_callback     (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_menubar_cmd_callback             (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_rulers_cmd_callback              (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_scrollbars_cmd_callback          (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_statusbar_cmd_callback           (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_guides_cmd_callback              (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_grid_cmd_callback                (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_toggle_sample_points_cmd_callback       (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_snap_to_guides_cmd_callback             (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_snap_to_grid_cmd_callback               (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_snap_to_canvas_cmd_callback             (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_snap_to_vectors_cmd_callback            (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_padding_color_cmd_callback              (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_padding_color_in_show_all_cmd_callback  (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);

void   view_shrink_wrap_cmd_callback                (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);
void   view_fullscreen_cmd_callback                 (GimpAction *action,
                                                     GVariant   *value,
                                                     gpointer    data);


#endif /* __VIEW_COMMANDS_H__ */