]> git.sur5r.net Git - glabels/blob - src/ui-commands.h
Imported Upstream version 2.2.8
[glabels] / src / ui-commands.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2
3 /*
4  *  (GLABELS) Label and Business Card Creation program for GNOME
5  *
6  *  ui-commands.h:  GLabels UI commands module header file
7  *
8  *  Copyright (C) 2001-2005  Jim Evins <evins@snaught.com>.
9  *
10  *  This program is free software; you can redistribute it and/or modify
11  *  it under the terms of the GNU General Public License as published by
12  *  the Free Software Foundation; either version 2 of the License, or
13  *  (at your option) any later version.
14  *
15  *  This program is distributed in the hope that it will be useful,
16  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  *  GNU General Public License for more details.
19  *
20  *  You should have received a copy of the GNU General Public License
21  *  along with this program; if not, write to the Free Software
22  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23  */
24
25 #ifndef __COMMANDS_H__
26 #define __COMMANDS_H__
27
28 #include <gtk/gtkaction.h>
29 #include <gtk/gtkrecentchooser.h>
30 #include <gtk/gtktoggleaction.h>
31 #include "window.h"
32
33 G_BEGIN_DECLS
34
35 void gl_ui_cmd_file_new                 (GtkAction   *action,
36                                          glWindow    *window);
37
38 void gl_ui_cmd_file_properties          (GtkAction   *action,
39                                          glWindow    *window);
40
41 void gl_ui_cmd_file_template_designer   (GtkAction   *action,
42                                          glWindow    *window);
43
44 void gl_ui_cmd_file_open                (GtkAction   *action,
45                                          glWindow    *window);
46
47 void gl_ui_cmd_file_open_recent         (GtkRecentChooser *chooser,
48                                          glWindow         *window);
49
50 void gl_ui_cmd_file_save                (GtkAction   *action,
51                                          glWindow    *window);
52
53 void gl_ui_cmd_file_save_as             (GtkAction   *action,
54                                          glWindow    *window);
55
56 void gl_ui_cmd_file_print               (GtkAction   *action,
57                                          glWindow    *window);
58
59 void gl_ui_cmd_file_print_preview       (GtkAction   *action,
60                                          glWindow    *window);
61
62 void gl_ui_cmd_file_close               (GtkAction   *action,
63                                          glWindow    *window);
64
65 void gl_ui_cmd_file_quit                (GtkAction   *action,
66                                          glWindow    *window);
67
68
69
70 void gl_ui_cmd_edit_undo                (GtkAction   *action,
71                                          glWindow    *window);
72
73 void gl_ui_cmd_edit_redo                (GtkAction   *action,
74                                          glWindow    *window);
75
76 void gl_ui_cmd_edit_cut                 (GtkAction   *action,
77                                          glWindow    *window);
78
79 void gl_ui_cmd_edit_copy                (GtkAction   *action,
80                                          glWindow    *window);
81
82 void gl_ui_cmd_edit_paste               (GtkAction   *action,
83                                          glWindow    *window);
84
85 void gl_ui_cmd_edit_delete              (GtkAction   *action,
86                                          glWindow    *window);
87
88 void gl_ui_cmd_edit_select_all          (GtkAction   *action,
89                                          glWindow    *window);
90
91 void gl_ui_cmd_edit_unselect_all        (GtkAction   *action,
92                                          glWindow    *window);
93
94 void gl_ui_cmd_edit_preferences         (GtkAction   *action,
95                                          glWindow    *window);
96
97
98
99 void gl_ui_cmd_view_property_bar_toggle      (GtkToggleAction *action,
100                                               glWindow        *window);
101
102 void gl_ui_cmd_view_property_bar_tips_toggle (GtkToggleAction *action,
103                                               glWindow        *window);
104
105 void gl_ui_cmd_view_grid_toggle              (GtkToggleAction *action,
106                                               glWindow        *window);
107
108 void gl_ui_cmd_view_markup_toggle            (GtkToggleAction *action,
109                                               glWindow        *window);
110
111
112
113 void gl_ui_cmd_view_zoomin              (GtkAction   *action,
114                                          glWindow    *window);
115
116 void gl_ui_cmd_view_zoomout             (GtkAction   *action,
117                                          glWindow    *window);
118
119 void gl_ui_cmd_view_zoom1to1            (GtkAction   *action,
120                                          glWindow    *window);
121
122 void gl_ui_cmd_view_zoom_to_fit         (GtkAction   *action,
123                                          glWindow    *window);
124
125
126
127 void gl_ui_cmd_objects_arrow_mode       (GtkAction   *action,
128                                          glWindow    *window);
129
130 void gl_ui_cmd_objects_create_text      (GtkAction   *action,
131                                          glWindow    *window);
132
133 void gl_ui_cmd_objects_create_box       (GtkAction   *action,
134                                          glWindow    *window);
135
136 void gl_ui_cmd_objects_create_line      (GtkAction   *action,
137                                          glWindow    *window);
138
139 void gl_ui_cmd_objects_create_ellipse   (GtkAction   *action,
140                                          glWindow    *window);
141
142 void gl_ui_cmd_objects_create_image     (GtkAction   *action,
143                                          glWindow    *window);
144
145 void gl_ui_cmd_objects_create_barcode   (GtkAction   *action,
146                                          glWindow    *window);
147
148 void gl_ui_cmd_objects_raise            (GtkAction   *action,
149                                          glWindow    *window);
150
151 void gl_ui_cmd_objects_lower            (GtkAction   *action,
152                                          glWindow    *window);
153
154 void gl_ui_cmd_objects_rotate_left      (GtkAction   *action,
155                                          glWindow    *window);
156
157 void gl_ui_cmd_objects_rotate_right     (GtkAction   *action,
158                                          glWindow    *window);
159
160 void gl_ui_cmd_objects_flip_horiz       (GtkAction   *action,
161                                          glWindow    *window);
162
163 void gl_ui_cmd_objects_flip_vert        (GtkAction   *action,
164                                          glWindow    *window);
165
166 void gl_ui_cmd_objects_align_left       (GtkAction   *action,
167                                          glWindow    *window);
168
169 void gl_ui_cmd_objects_align_right      (GtkAction   *action,
170                                          glWindow    *window);
171
172 void gl_ui_cmd_objects_align_hcenter    (GtkAction   *action,
173                                          glWindow    *window);
174
175 void gl_ui_cmd_objects_align_top        (GtkAction   *action,
176                                          glWindow    *window);
177
178 void gl_ui_cmd_objects_align_bottom     (GtkAction   *action,
179                                          glWindow    *window);
180
181 void gl_ui_cmd_objects_align_vcenter    (GtkAction   *action,
182                                          glWindow    *window);
183
184 void gl_ui_cmd_objects_center_horiz     (GtkAction   *action,
185                                          glWindow    *window);
186
187 void gl_ui_cmd_objects_center_vert      (GtkAction   *action,
188                                          glWindow    *window);
189
190 void gl_ui_cmd_objects_merge_properties (GtkAction   *action,
191                                          glWindow    *window);
192
193
194
195 void gl_ui_cmd_help_contents            (GtkAction   *action,
196                                          glWindow    *window);
197
198 void gl_ui_cmd_help_about               (GtkAction   *action,
199                                          glWindow    *window);
200
201 G_END_DECLS
202
203 #endif /* __COMMANDS_H__ */