Contents of /trunk/src/iconbar.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations)
Wed Dec 10 00:00:05 2008 UTC (15 years, 5 months ago) by achadwick
File MIME type: text/plain
File size: 1402 byte(s)
Begin trunk. No code changes.
1 /*
2 * Copyright (C) 2008 Till Harbaum <till@harbaum.org>.
3 *
4 * This file is part of OSM2Go.
5 *
6 * OSM2Go is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * OSM2Go is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with OSM2Go. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef ICONBAR_H
21 #define ICONBAR_H
22
23 typedef struct iconbar_s {
24 GtkWidget *toolbar;
25
26 GtkWidget *info;
27 GtkWidget *trash;
28 GtkWidget *node_add;
29 GtkWidget *way_add;
30 GtkWidget *way_node_add;
31 GtkWidget *way_cut;
32 GtkWidget *way_reverse;
33 GtkWidget *relation_add;
34
35 GtkWidget *cancel;
36 GtkWidget *ok;
37 } iconbar_t;
38
39 GtkWidget *iconbar_new(appdata_t *appdata);
40 void icon_bar_map_item_selected(appdata_t *appdata, map_item_t *map_item,
41 gboolean selected);
42 void icon_bar_map_cancel_ok(appdata_t *appdata, gboolean cancel, gboolean ok);
43 void icon_bar_map_action_idle(appdata_t *appdata, gboolean idle);
44 void iconbar_free(iconbar_t *iconbar);
45
46 #endif // ICONBAR_H