gschem
|
00001 /* gEDA - GPL Electronic Design Automation 00002 * gschem - gEDA Schematic Capture 00003 * Copyright (C) 1998-2010 Ales Hvezda 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Library General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Library General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 00018 * MA 02111-1301 USA. 00019 */ 00020 00021 00022 #ifndef __X_PRINT_H__ 00023 #define __X_PRINT_H__ 00024 00025 /* 00026 * PrintDialog class 00027 */ 00028 00029 #define TYPE_PRINT_DIALOG (print_dialog_get_type()) 00030 #define PRINT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PRINT_DIALOG, PrintDialog)) 00031 #define PRINT_DIALOG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), TYPE_PRINT_DIALOG)) 00032 #define IS_PRINT_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PRINT_DIALOG)) 00033 00034 typedef struct _PrintDialogClass PrintDialogClass; 00035 typedef struct _PrintDialog PrintDialog; 00036 00037 struct _PrintDialogClass 00038 { 00039 GschemDialogClass parent_class; 00040 }; 00041 00042 struct _PrintDialog 00043 { 00044 GschemDialog parent_instance; 00045 00046 GtkEntry *fnfield, *cmdfield; 00047 GtkRadioButton *fileradio, *cmdradio; 00048 GtkButton *saveasbutton; 00049 GtkComboBox *orientcbox, *typecbox, *papercbox; 00050 }; 00051 00052 GType print_dialog_get_type (); 00053 00054 #endif /* !__X_PRINT_H__ */