libgeda: Enable use from C++ programs.
[geda-gaf/whiteaudio.git] / gschem / include / x_dialog.h
blobaad9a778785a99301ca954c741531b9473d51b6d
1 /* gEDA - GPL Electronic Design Automation
2 * gschem - gEDA Schematic Capture
3 * Copyright (C) 2006-2010 Dan McMahill
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #ifndef __X_DIALOG_H__
22 #define __X_DIALOG_H__
24 /*
25 * Flags for generic_filesel_dialog()
28 #define FSB_MAY_EXIST 1
29 #define FSB_MUST_EXIST 2
30 #define FSB_SHOULD_NOT_EXIST 4
32 #define FSB_SAVE 256
33 #define FSB_LOAD 512
36 * define spacings for dialogs
39 #define DIALOG_BORDER_SPACING 5
40 #define DIALOG_V_SPACING 8
41 #define DIALOG_H_SPACING 10
42 #define DIALOG_INDENTATION 10
44 #endif /* __X_DIALOG_H__ */