* make the shape export work again
[dia.git] / app / select.h
blob629666cc24f2fbde37014715b0433fb6f8aacfbf
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(GtkWidget *widget, gpointer data);
30 void select_none_callback(GtkWidget *widget, gpointer data);
31 void select_invert_callback(GtkWidget *widget, gpointer data);
32 void select_connected_callback(GtkWidget *widget, gpointer data);
33 void select_transitive_callback(GtkWidget *widget, gpointer data);
34 void select_same_type_callback(GtkWidget *widget, gpointer data);
35 void select_style_callback(GtkWidget *widget, gpointer data);
37 #endif