more leaks plugged and more *_OPTIONAL
[dia.git] / app / lineprops_area.h
blob519728d63c6d0aa6f9a452f51a3a92fa934f8a30
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * lineprops_area.h -- Copyright (C) 1999 James Henstridge.
6 * This program 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 2 of the License, or
9 * (at your option) any later version.
11 * This program 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.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 #ifndef LINEPROPS_AREA_H
21 #define LINEPROPS_AREA_H
23 #include "arrows.h"
25 #include <gtk/gtk.h>
27 typedef void (*DiaChangeArrowCallback) (Arrow atype, gpointer user_data);
28 typedef void (*DiaChangeLineCallback) (LineStyle lstyle, real dash_length,
29 gpointer user_data);
31 GtkWidget *dia_arrow_chooser_new (gboolean left,
32 DiaChangeArrowCallback callback,
33 gpointer user_data);
34 GtkWidget *dia_line_chooser_new (DiaChangeLineCallback callback,
35 gpointer user_data);
37 #endif