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.
26 #include "gtkhwrapbox.h"
28 #include "interface.h"
30 #include "disp_callbacks.h"
33 #include "app_procs.h"
35 #include "color_area.h"
36 #include "linewidth_area.h"
37 #include "lineprops_area.h"
38 #include "attributes.h"
40 void create_display_shell(DDisplay
*ddisp
,
41 int width
, int height
,
42 char *title
, int use_mbar
, int top_level_window
);
44 void create_toolbox (void);
45 void toolbox_show(void);
46 void toolbox_hide(void);
48 GtkWidget
*interface_get_toolbox_shell(void);
50 void tool_select_callback(GtkWidget
*widget
, gpointer data
);
52 void create_tree_window(void);
54 GtkWidget
*popup_shell
;
55 void create_sheets(GtkWidget
*parent
);
56 GtkWidget
*modify_tool_button
;
58 typedef struct _ToolButton ToolButton
;
60 typedef struct _ToolButtonData ToolButtonData
;
62 struct _ToolButtonData
66 gpointer user_data
; /* Used by create_object_tool */
75 ToolButtonData callback_data
;
78 extern const int num_tools
;
79 extern ToolButton tool_data
[];
80 extern gchar
*interface_current_sheet_name
;
82 void tool_select_update (GtkWidget
*w
, gpointer data
);
83 void fill_sheet_menu(void);
85 extern GtkTooltips
*tool_tips
;
87 #endif /* INTERFACE_H */