]> git.sur5r.net Git - glabels/blob - glabels2/src/ui-commands.h
2005-05-15 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / src / ui-commands.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; 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/gtktoggleaction.h>
30 #include "window.h"
31
32 G_BEGIN_DECLS
33
34 void gl_ui_cmd_file_new                 (GtkAction   *action,
35                                          glWindow    *window);
36
37 void gl_ui_cmd_file_properties          (GtkAction   *action,
38                                          glWindow    *window);
39
40 void gl_ui_cmd_file_template_designer   (GtkAction   *action,
41                                          glWindow    *window);
42
43 void gl_ui_cmd_file_open                (GtkAction   *action,
44                                          glWindow    *window);
45
46 void gl_ui_cmd_file_open_recent         (GtkAction   *action,
47                                          glWindow    *window);
48
49 void gl_ui_cmd_file_save                (GtkAction   *action,
50                                          glWindow    *window);
51
52 void gl_ui_cmd_file_save_as             (GtkAction   *action,
53                                          glWindow    *window);
54
55 void gl_ui_cmd_file_print               (GtkAction   *action,
56                                          glWindow    *window);
57
58 void gl_ui_cmd_file_print_preview       (GtkAction   *action,
59                                          glWindow    *window);
60
61 void gl_ui_cmd_file_close               (GtkAction   *action,
62                                          glWindow    *window);
63
64 void gl_ui_cmd_file_quit                (GtkAction   *action,
65                                          glWindow    *window);
66
67
68
69 void gl_ui_cmd_edit_undo                (GtkAction   *action,
70                                          glWindow    *window);
71
72 void gl_ui_cmd_edit_redo                (GtkAction   *action,
73                                          glWindow    *window);
74
75 void gl_ui_cmd_edit_cut                 (GtkAction   *action,
76                                          glWindow    *window);
77
78 void gl_ui_cmd_edit_copy                (GtkAction   *action,
79                                          glWindow    *window);
80
81 void gl_ui_cmd_edit_paste               (GtkAction   *action,
82                                          glWindow    *window);
83
84 void gl_ui_cmd_edit_delete              (GtkAction   *action,
85                                          glWindow    *window);
86
87 void gl_ui_cmd_edit_select_all          (GtkAction   *action,
88                                          glWindow    *window);
89
90 void gl_ui_cmd_edit_unselect_all        (GtkAction   *action,
91                                          glWindow    *window);
92
93 void gl_ui_cmd_edit_preferences         (GtkAction   *action,
94                                          glWindow    *window);
95
96
97
98 void gl_ui_cmd_view_property_bar_toggle      (GtkToggleAction *action,
99                                               glWindow        *window);
100
101 void gl_ui_cmd_view_property_bar_tips_toggle (GtkToggleAction *action,
102                                               glWindow        *window);
103
104 void gl_ui_cmd_view_grid_toggle              (GtkToggleAction *action,
105                                               glWindow        *window);
106
107 void gl_ui_cmd_view_markup_toggle            (GtkToggleAction *action,
108                                               glWindow        *window);
109
110
111
112 void gl_ui_cmd_view_zoomin              (GtkAction   *action,
113                                          glWindow    *window);
114
115 void gl_ui_cmd_view_zoomout             (GtkAction   *action,
116                                          glWindow    *window);
117
118 void gl_ui_cmd_view_zoom1to1            (GtkAction   *action,
119                                          glWindow    *window);
120
121 void gl_ui_cmd_view_zoom_to_fit         (GtkAction   *action,
122                                          glWindow    *window);
123
124
125
126 void gl_ui_cmd_objects_arrow_mode       (GtkAction   *action,
127                                          glWindow    *window);
128
129 void gl_ui_cmd_objects_create_text      (GtkAction   *action,
130                                          glWindow    *window);
131
132 void gl_ui_cmd_objects_create_box       (GtkAction   *action,
133                                          glWindow    *window);
134
135 void gl_ui_cmd_objects_create_line      (GtkAction   *action,
136                                          glWindow    *window);
137
138 void gl_ui_cmd_objects_create_ellipse   (GtkAction   *action,
139                                          glWindow    *window);
140
141 void gl_ui_cmd_objects_create_image     (GtkAction   *action,
142                                          glWindow    *window);
143
144 void gl_ui_cmd_objects_create_barcode   (GtkAction   *action,
145                                          glWindow    *window);
146
147 void gl_ui_cmd_objects_raise            (GtkAction   *action,
148                                          glWindow    *window);
149
150 void gl_ui_cmd_objects_lower            (GtkAction   *action,
151                                          glWindow    *window);
152
153 void gl_ui_cmd_objects_rotate_left      (GtkAction   *action,
154                                          glWindow    *window);
155
156 void gl_ui_cmd_objects_rotate_right     (GtkAction   *action,
157                                          glWindow    *window);
158
159 void gl_ui_cmd_objects_flip_horiz       (GtkAction   *action,
160                                          glWindow    *window);
161
162 void gl_ui_cmd_objects_flip_vert        (GtkAction   *action,
163                                          glWindow    *window);
164
165 void gl_ui_cmd_objects_align_left       (GtkAction   *action,
166                                          glWindow    *window);
167
168 void gl_ui_cmd_objects_align_right      (GtkAction   *action,
169                                          glWindow    *window);
170
171 void gl_ui_cmd_objects_align_hcenter    (GtkAction   *action,
172                                          glWindow    *window);
173
174 void gl_ui_cmd_objects_align_top        (GtkAction   *action,
175                                          glWindow    *window);
176
177 void gl_ui_cmd_objects_align_bottom     (GtkAction   *action,
178                                          glWindow    *window);
179
180 void gl_ui_cmd_objects_align_vcenter    (GtkAction   *action,
181                                          glWindow    *window);
182
183 void gl_ui_cmd_objects_center_horiz     (GtkAction   *action,
184                                          glWindow    *window);
185
186 void gl_ui_cmd_objects_center_vert      (GtkAction   *action,
187                                          glWindow    *window);
188
189 void gl_ui_cmd_objects_merge_properties (GtkAction   *action,
190                                          glWindow    *window);
191
192
193
194 void gl_ui_cmd_help_contents            (GtkAction   *action,
195                                          glWindow    *window);
196
197 void gl_ui_cmd_help_about               (GtkAction   *action,
198                                          glWindow    *window);
199
200 G_END_DECLS
201
202 #endif /* __COMMANDS_H__ */