2004-11-21 Hans Breuer <hans@breuer.org>
[dia.git] / app / select.h
blob8f5fdb669a0473ced85aae9964f1a32ed34d82ff
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 #ifndef SELECT_H
19 #define SELECT_H
21 #include "diagram.h"
22 #include "display.h"
24 enum SelectionStyle {SELECT_REPLACE, SELECT_UNION,
25 SELECT_INTERSECTION, SELECT_REMOVE, SELECT_INVERT};
27 extern enum SelectionStyle selection_style;
29 void select_all_callback(gpointer data, guint action, GtkWidget *widget);
30 void select_none_callback(gpointer data, guint action, GtkWidget *widget);
31 void select_invert_callback(gpointer data, guint action, GtkWidget *widget);
32 void select_connected_callback(gpointer data, guint action, GtkWidget *widget);
33 void select_transitive_callback(gpointer data, guint action, GtkWidget*widget);
34 void select_same_type_callback(gpointer data, guint action, GtkWidget *widget);
35 void select_style_callback(gpointer data, guint action, GtkWidget *widget);
37 #endif