2
* This is a plug-in for the GIMP.
4
* Generates clickable image maps.
6
* Copyright (C) 1998-1999 Maurits Rijk lpeek.mrijk@consunet.nl
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27
#include "imap_command.h"
40
CommandFactory_t cmd_zoom_in;
41
CommandFactory_t cmd_zoom_out;
42
CommandFactory_t cmd_edit_map_info;
43
CommandFactory_t cmd_grid_settings;
44
CommandFactory_t cmd_create_guides;
45
CommandFactory_t cmd_paste;
49
#define popup_set_zoom_in_command(popup, command) \
50
((popup)->cmd_zoom_in = (command))
51
#define popup_set_zoom_out_command(popup, command) \
52
((popup)->cmd_zoom_out = (command))
53
#define popup_set_edit_map_info_command(popup, command) \
54
((popup)->cmd_edit_map_info = (command))
55
#define popup_set_grid_settings_command(popup, command) \
56
((popup)->cmd_grid_settings = (command))
57
#define popup_set_create_guides_command(popup, command) \
58
((popup)->cmd_create_guides = (command))
59
#define popup_set_paste_command(popup, command) \
60
((popup)->cmd_paste = (command))
62
PopupMenu_t *create_main_popup_menu(void);
63
void do_main_popup_menu(GdkEventButton *event);
64
void popup_set_zoom_sensitivity(gint factor);
65
void popup_select_arrow(void);
66
void popup_select_rectangle(void);
67
void popup_select_circle(void);
68
void popup_select_polygon(void);
69
void popup_check_grid(gint check);
71
#endif /* _IMAP_POPUP_H */