4 void a_pan_general(TOPLEVEL
*w_current
, double world_cx
, double world_cy
,
5 double relativ_zoom_factor
, int flags
);
6 void a_pan_calc(TOPLEVEL
*w_current
, int x
, int y
);
7 void a_pan(TOPLEVEL
*w_current
, int x
, int y
);
8 void a_pan_mouse(TOPLEVEL
*w_current
, int diff_x
, int diff_y
);
10 void a_zoom(TOPLEVEL
*w_current
, int dir
, int selected_from
, int pan_flags
);
11 void a_zoom_extents(TOPLEVEL
*w_current
, OBJECT
*o_current
, int pan_flags
);
12 void a_zoom_box(TOPLEVEL
*w_current
, int pan_flags
);
13 void a_zoom_box_start(TOPLEVEL
*w_current
, int x
, int y
);
14 void a_zoom_box_end(TOPLEVEL
*w_current
, int x
, int y
);
15 void a_zoom_box_rubberband(TOPLEVEL
*w_current
, int x
, int y
);
16 void correct_aspect(TOPLEVEL
*w_current
);
18 SCM
g_funcs_print(SCM filename
);
19 SCM
g_funcs_postscript(SCM filename
);
20 SCM
g_funcs_image(SCM filename
);
21 SCM
g_funcs_exit(void);
22 SCM
g_funcs_log(SCM msg
);
23 SCM
g_funcs_msg(SCM msg
);
24 SCM
g_funcs_confirm(SCM msg
);
25 SCM
g_funcs_filesel(SCM msg
, SCM templ
, SCM flags
);
26 SCM
g_funcs_use_rc_values(void);
27 SCM
g_funcs_key_name(SCM keystring
);
28 SCM
g_funcs_key_value(SCM keystring
);
29 SCM
g_funcs_key_done(void);
30 SCM
get_selected_component_attributes(TOPLEVEL
*toplevel
);
31 SCM
get_selected_filename(TOPLEVEL
*toplevel
);
33 SCM
g_make_attrib_smob_list(TOPLEVEL
*curr_w
, OBJECT
*curr_object
);
34 SCM
g_set_attrib_value_x(SCM attrib_smob
, SCM scm_value
);
35 SCM
g_add_attrib(SCM object
, SCM attrib_name
,
36 SCM attrib_value
, SCM scm_vis
, SCM scm_show
);
37 SCM
g_get_pin_ends(SCM object
);
39 g_set_attrib_text_properties(SCM attrib_smob
, SCM scm_colorname
, SCM scm_size
,
40 SCM scm_alignment
, SCM scm_rotation
, SCM scm_x
,
42 SCM
g_get_object_bounds (SCM object_smob
, SCM scm_exclude_attribs
, SCM scm_exclude_object_type
);
43 SCM
g_get_object_pins (SCM object_smob
);
44 SCM
g_add_component(SCM page_smob
, SCM scm_comp_name
, SCM scm_x
, SCM scm_y
,
45 SCM scm_angle
, SCM scm_selectable
, SCM scm_mirror
);
46 SCM
g_get_objects_in_page(SCM page_smob
);
48 void set_window_current_key(TOPLEVEL
*w_current
);
49 int g_keys_execute(int state
, int keyval
);
50 SCM
g_keys_file_new(void);
51 SCM
g_keys_file_new_window(void);
52 SCM
g_keys_file_open(void);
53 SCM
g_keys_file_script(void);
54 SCM
g_keys_file_save(void);
55 SCM
g_keys_file_save_as(void);
56 SCM
g_keys_file_save_all(void);
57 SCM
g_keys_file_print(void);
58 SCM
g_keys_file_write_png(void);
59 SCM
g_keys_file_close(void);
60 SCM
g_keys_file_quit(void);
61 SCM
g_keys_edit_undo(void);
62 SCM
g_keys_edit_redo(void);
63 SCM
g_keys_edit_select(void);
64 SCM
g_keys_edit_copy(void);
65 SCM
g_keys_edit_copy_hotkey(void);
66 SCM
g_keys_edit_mcopy(void);
67 SCM
g_keys_edit_mcopy_hotkey(void);
68 SCM
g_keys_edit_move(void);
69 SCM
g_keys_edit_move_hotkey(void);
70 SCM
g_keys_edit_delete(void);
71 SCM
g_keys_edit_rotate_90(void);
72 SCM
g_keys_edit_rotate_90_hotkey(void);
73 SCM
g_keys_edit_mirror(void);
74 SCM
g_keys_edit_mirror_hotkey(void);
75 SCM
g_keys_edit_slot(void);
76 SCM
g_keys_edit_color(void);
77 SCM
g_keys_edit_edit(void);
78 SCM
g_keys_edit_text(void);
79 SCM
g_keys_edit_lock(void);
80 SCM
g_keys_edit_unlock(void);
81 SCM
g_keys_edit_linetype(void);
82 SCM
g_keys_edit_filltype(void);
83 SCM
g_keys_edit_translate(void);
84 SCM
g_keys_edit_embed(void);
85 SCM
g_keys_edit_unembed(void);
86 SCM
g_keys_edit_update(void);
87 SCM
g_keys_edit_show_hidden(void);
88 SCM
g_keys_edit_make_visible(void);
89 SCM
g_keys_edit_find(void);
90 SCM
g_keys_edit_show_text(void);
91 SCM
g_keys_edit_hide_text(void);
92 SCM
g_keys_edit_autonumber_text(void);
93 SCM
g_keys_buffer_copy1(void);
94 SCM
g_keys_buffer_copy2(void);
95 SCM
g_keys_buffer_copy3(void);
96 SCM
g_keys_buffer_copy4(void);
97 SCM
g_keys_buffer_copy5(void);
98 SCM
g_keys_buffer_cut1(void);
99 SCM
g_keys_buffer_cut2(void);
100 SCM
g_keys_buffer_cut3(void);
101 SCM
g_keys_buffer_cut4(void);
102 SCM
g_keys_buffer_cut5(void);
103 SCM
g_keys_buffer_paste1(void);
104 SCM
g_keys_buffer_paste2(void);
105 SCM
g_keys_buffer_paste3(void);
106 SCM
g_keys_buffer_paste4(void);
107 SCM
g_keys_buffer_paste5(void);
108 SCM
g_keys_buffer_paste1_hotkey(void);
109 SCM
g_keys_buffer_paste2_hotkey(void);
110 SCM
g_keys_buffer_paste3_hotkey(void);
111 SCM
g_keys_buffer_paste4_hotkey(void);
112 SCM
g_keys_buffer_paste5_hotkey(void);
113 SCM
g_keys_view_redraw(void);
114 SCM
g_keys_view_zoom_full(void);
115 SCM
g_keys_view_zoom_extents(void);
116 SCM
g_keys_view_zoom_in(void);
117 SCM
g_keys_view_zoom_out(void);
118 SCM
g_keys_view_zoom_in_hotkey(void);
119 SCM
g_keys_view_zoom_out_hotkey(void);
120 SCM
g_keys_view_zoom_box(void);
121 SCM
g_keys_view_zoom_box_hotkey(void);
122 SCM
g_keys_view_pan(void);
123 SCM
g_keys_view_pan_left(void);
124 SCM
g_keys_view_pan_right(void);
125 SCM
g_keys_view_pan_up(void);
126 SCM
g_keys_view_pan_down(void);
127 SCM
g_keys_view_pan_hotkey(void);
128 SCM
g_keys_view_update_cues(void);
129 SCM
g_keys_page_manager(void);
130 SCM
g_keys_page_next(void);
131 SCM
g_keys_page_prev(void);
132 SCM
g_keys_page_new(void);
133 SCM
g_keys_page_close(void);
134 SCM
g_keys_page_revert(void);
135 SCM
g_keys_page_discard(void);
136 SCM
g_keys_page_print(void);
137 SCM
g_keys_add_component(void);
138 SCM
g_keys_add_attribute(void);
139 SCM
g_keys_add_attribute_hotkey(void);
140 SCM
g_keys_add_net(void);
141 SCM
g_keys_add_net_hotkey(void);
142 SCM
g_keys_add_bus(void);
143 SCM
g_keys_add_bus_hotkey(void);
144 SCM
g_keys_add_text(void);
145 SCM
g_keys_add_line(void);
146 SCM
g_keys_add_line_hotkey(void);
147 SCM
g_keys_add_box(void);
148 SCM
g_keys_add_box_hotkey(void);
149 SCM
g_keys_add_picture(void);
150 SCM
g_keys_add_picture_hotkey(void);
151 SCM
g_keys_add_circle(void);
152 SCM
g_keys_add_circle_hotkey(void);
153 SCM
g_keys_add_arc(void);
154 SCM
g_keys_add_arc_hotkey(void);
155 SCM
g_keys_add_pin(void);
156 SCM
g_keys_add_pin_hotkey(void);
157 SCM
g_keys_hierarchy_down_schematic(void);
158 SCM
g_keys_hierarchy_down_symbol(void);
159 SCM
g_keys_hierarchy_up(void);
160 SCM
g_keys_hierarchy_documentation(void);
161 SCM
g_keys_attributes_attach(void);
162 SCM
g_keys_attributes_detach(void);
163 SCM
g_keys_attributes_show_name(void);
164 SCM
g_keys_attributes_show_value(void);
165 SCM
g_keys_attributes_show_both(void);
166 SCM
g_keys_attributes_visibility_toggle(void);
167 SCM
g_keys_script_console(void);
168 SCM
g_keys_options_text_size(void);
169 SCM
g_keys_options_afeedback(void);
170 SCM
g_keys_options_grid(void);
171 SCM
g_keys_options_snap(void);
172 SCM
g_keys_options_snap_size(void);
173 SCM
g_keys_options_rubberband(void);
174 SCM
g_keys_options_show_log_window(void);
175 SCM
g_keys_options_show_coord_window(void);
176 SCM
g_keys_misc(void);
177 SCM
g_keys_misc2(void);
178 SCM
g_keys_misc3(void);
179 SCM
g_keys_help_about(void);
180 SCM
g_keys_help_manual(void);
181 SCM
g_keys_help_hotkeys(void);
182 SCM
g_keys_cancel(void);
183 SCM
g_get_selected_filename(void);
184 SCM
g_get_selected_component_attributes(void);
186 void g_rc_parse_gtkrc();
187 SCM
g_rc_gschem_version(SCM version
);
188 SCM
g_rc_override_net_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
189 SCM
g_rc_override_bus_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
190 SCM
g_rc_override_pin_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
191 SCM
g_rc_attribute_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
192 SCM
g_rc_detachedattr_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
193 SCM
g_rc_text_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
194 SCM
g_rc_net_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
195 SCM
g_rc_bus_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
196 SCM
g_rc_pin_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
197 SCM
g_rc_graphic_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
198 SCM
g_rc_grid_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
199 SCM
g_rc_background_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
200 SCM
g_rc_select_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
201 SCM
g_rc_boundingbox_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
202 SCM
g_rc_zoom_box_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
203 SCM
g_rc_net_endpoint_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
204 SCM
g_rc_logic_bubble_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
205 SCM
g_rc_lock_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
206 SCM
g_rc_output_color_background(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
207 SCM
g_rc_stroke_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
208 SCM
g_rc_freestyle_color(SCM index
, SCM color
, SCM outline_color
, SCM ps_color
, SCM ir
, SCM ig
, SCM ib
);
209 SCM
g_rc_net_endpoint_mode(SCM mode
);
210 SCM
g_rc_net_midpoint_mode(SCM mode
);
211 SCM
g_rc_net_style(SCM mode
);
212 SCM
g_rc_bus_style(SCM mode
);
213 SCM
g_rc_pin_style(SCM mode
);
214 SCM
g_rc_line_style(SCM mode
);
215 SCM
g_rc_action_feedback_mode(SCM mode
);
216 SCM
g_rc_zoom_with_pan(SCM mode
);
217 SCM
g_rc_text_feedback(SCM mode
);
218 SCM
g_rc_text_display_zoomfactor(SCM zoomfactor
);
219 SCM
g_rc_scrollbar_update(SCM mode
);
220 SCM
g_rc_object_clipping(SCM mode
);
221 SCM
g_rc_logging(SCM mode
);
222 SCM
g_rc_embed_components(SCM mode
);
223 SCM
g_rc_text_size(SCM size
);
224 SCM
g_rc_text_caps_style(SCM mode
);
225 SCM
g_rc_snap_size(SCM size
);
226 SCM
g_rc_logging_destination(SCM mode
);
227 SCM
g_rc_default_series_name(SCM name
);
228 SCM
g_rc_untitled_name(SCM name
);
229 SCM
g_rc_attribute_name(SCM path
);
230 SCM
g_rc_scheme_directory(SCM path
);
231 SCM
g_rc_bitmap_directory(SCM path
);
232 SCM
g_rc_font_directory(SCM path
);
233 SCM
g_rc_scrollbars(SCM mode
);
234 SCM
g_rc_paper_size(SCM width
, SCM height
);
235 SCM
g_rc_paper_sizes(SCM papername
, SCM scm_width
, SCM scm_height
);
236 SCM
g_rc_output_text(SCM mode
);
237 SCM
g_rc_output_type(SCM mode
);
238 SCM
g_rc_output_orientation(SCM mode
);
239 SCM
g_rc_image_color(SCM mode
);
240 SCM
g_rc_image_size(SCM width
, SCM height
);
241 SCM
g_rc_output_color(SCM mode
);
242 SCM
g_rc_output_capstyle(SCM mode
);
243 SCM
g_rc_log_window(SCM mode
);
244 SCM
g_rc_log_window_type(SCM mode
);
245 SCM
g_rc_third_button(SCM mode
);
246 SCM
g_rc_middle_button(SCM mode
);
247 SCM
g_rc_net_consolidate(SCM mode
);
248 SCM
g_rc_file_preview(SCM mode
);
249 SCM
g_rc_enforce_hierarchy(SCM mode
);
250 SCM
g_rc_text_origin_marker(SCM mode
);
251 SCM
g_rc_fast_mousepan(SCM mode
);
252 SCM
g_rc_raise_dialog_boxes_on_expose(SCM mode
);
253 SCM
g_rc_attribute_promotion(SCM mode
);
254 SCM
g_rc_promote_invisible(SCM mode
);
255 SCM
g_rc_keep_invisible(SCM mode
);
256 SCM
g_rc_continue_component_place(SCM mode
);
257 SCM
g_rc_undo_levels(SCM levels
);
258 SCM
g_rc_undo_control(SCM mode
);
259 SCM
g_rc_undo_type(SCM mode
);
260 SCM
g_rc_draw_grips(SCM mode
);
261 SCM
g_rc_netconn_rubberband(SCM mode
);
262 SCM
g_rc_sort_component_library(SCM mode
);
263 SCM
g_rc_add_menu(SCM menu_name
, SCM menu_items
);
264 SCM
g_rc_window_size(SCM width
, SCM height
);
265 SCM
g_rc_warp_cursor(SCM mode
);
266 SCM
g_rc_toolbars(SCM mode
);
267 SCM
g_rc_handleboxes(SCM mode
);
268 SCM
g_rc_setpagedevice_orientation(SCM mode
);
269 SCM
g_rc_setpagedevice_pagesize(SCM mode
);
270 SCM
g_rc_bus_ripper_size(SCM size
);
271 SCM
g_rc_bus_ripper_type(SCM mode
);
272 SCM
g_rc_bus_ripper_symname(SCM scmsymname
);
273 SCM
g_rc_bus_ripper_rotation(SCM mode
);
274 SCM
g_rc_force_boundingbox(SCM mode
);
275 SCM
g_rc_grid_dot_size(SCM dotsize
);
276 SCM
g_rc_grid_mode(SCM mode
);
277 SCM
g_rc_grid_fixed_threshold(SCM spacing
);
278 SCM
g_rc_output_vector_threshold(SCM numlines
);
279 SCM
g_rc_add_attribute_offset(SCM offset
);
280 SCM
g_rc_auto_save_interval(SCM seconds
);
281 SCM
g_rc_drag_can_move(SCM mode
);
282 SCM
g_rc_mousepan_gain(SCM mode
);
283 SCM
g_rc_keyboardpan_gain(SCM mode
);
284 SCM
g_rc_print_command(SCM mode
);
286 void g_register_funcs(void);
289 void gschem_quit(void);
290 void main_prog(void *closure
, int argc
, char *argv
[]);
291 int main(int argc
, char *argv
[]);
293 void i_allow_expose(void);
294 void i_show_state(TOPLEVEL
*w_current
, const char *message
);
295 void i_set_state(TOPLEVEL
*w_current
, enum x_states newstate
);
296 void i_set_state_msg(TOPLEVEL
*w_current
, enum x_states newstate
, const char *message
);
297 void i_update_left_button(const char *string
);
298 void i_update_middle_button(TOPLEVEL
*w_current
, void (*func_ptr
)(gpointer
, guint
, GtkWidget
*), const char *string
);
299 void i_update_right_button(const char *string
);
300 void i_update_toolbar(TOPLEVEL
*w_current
);
301 void i_update_menus(TOPLEVEL
*w_current
);
302 void i_update_cursor(TOPLEVEL
*w_current
);
303 void i_set_filename(TOPLEVEL
*w_current
, const gchar
*string
);
304 void i_set_grid(TOPLEVEL
*w_current
, int visible_grid
);
306 void i_callback_file_new(gpointer data
, guint callback_action
, GtkWidget
*widget
);
307 void i_callback_toolbar_file_new(GtkWidget
*widget
, gpointer data
);
308 void i_callback_file_new_window(gpointer data
, guint callback_action
, GtkWidget
*widget
);
309 void i_callback_file_open(gpointer data
, guint callback_action
, GtkWidget
*widget
);
310 void i_callback_toolbar_file_open(GtkWidget
*widget
, gpointer data
);
311 void i_callback_file_script(gpointer data
, guint callback_action
, GtkWidget
*widget
);
312 void i_callback_file_save(gpointer data
, guint callback_action
, GtkWidget
*widget
);
313 void i_callback_toolbar_file_save(GtkWidget
*widget
, gpointer data
);
314 void i_callback_file_save_all(gpointer data
, guint callback_action
, GtkWidget
*widget
);
315 void i_callback_file_save_as(gpointer data
, guint callback_action
, GtkWidget
*widget
);
316 void i_callback_file_print(gpointer data
, guint callback_action
, GtkWidget
*widget
);
317 void i_callback_file_write_png(gpointer data
, guint callback_action
, GtkWidget
*widget
);
318 void i_callback_file_close(gpointer data
, guint callback_action
, GtkWidget
*widget
);
319 int i_callback_close(gpointer data
, guint callback_action
, GtkWidget
*widget
);
320 void i_callback_file_quit(gpointer data
, guint callback_action
, GtkWidget
*widget
);
321 void i_callback_edit_undo(gpointer data
, guint callback_action
, GtkWidget
*widget
);
322 void i_callback_toolbar_edit_undo(GtkWidget
*widget
, gpointer data
);
323 void i_callback_edit_redo(gpointer data
, guint callback_action
, GtkWidget
*widget
);
324 void i_callback_toolbar_edit_redo(GtkWidget
*widget
, gpointer data
);
325 void i_callback_edit_select(gpointer data
, guint callback_action
, GtkWidget
*widget
);
326 void i_callback_toolbar_edit_select(GtkWidget
*widget
, gpointer data
);
327 void i_callback_edit_copy(gpointer data
, guint callback_action
, GtkWidget
*widget
);
328 void i_callback_edit_copy_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
329 void i_callback_edit_mcopy(gpointer data
, guint callback_action
, GtkWidget
*widget
);
330 void i_callback_edit_mcopy_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
331 void i_callback_edit_move(gpointer data
, guint callback_action
, GtkWidget
*widget
);
332 void i_callback_edit_move_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
333 void i_callback_edit_delete(gpointer data
, guint callback_action
, GtkWidget
*widget
);
334 void i_callback_edit_edit(gpointer data
, guint callback_action
, GtkWidget
*widget
);
335 void i_callback_edit_text(gpointer data
, guint callback_action
, GtkWidget
*widget
);
336 void i_callback_edit_slot(gpointer data
, guint callback_action
, GtkWidget
*widget
);
337 void i_callback_edit_color(gpointer data
, guint callback_action
, GtkWidget
*widget
);
338 void i_callback_edit_rotate_90(gpointer data
, guint callback_action
, GtkWidget
*widget
);
339 void i_callback_edit_rotate_90_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
340 void i_callback_edit_mirror(gpointer data
, guint callback_action
, GtkWidget
*widget
);
341 void i_callback_edit_mirror_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
342 void i_callback_edit_lock(gpointer data
, guint callback_action
, GtkWidget
*widget
);
343 void i_callback_edit_unlock(gpointer data
, guint callback_action
, GtkWidget
*widget
);
344 void i_callback_edit_translate(gpointer data
, guint callback_action
, GtkWidget
*widget
);
345 void i_callback_edit_embed(gpointer data
, guint callback_action
, GtkWidget
*widget
);
346 void i_callback_edit_unembed(gpointer data
, guint callback_action
, GtkWidget
*widget
);
347 void i_callback_edit_update(gpointer data
, guint callback_action
, GtkWidget
*widget
);
348 void i_callback_edit_show_hidden(gpointer data
, guint callback_action
, GtkWidget
*widget
);
349 void i_callback_edit_make_visible(gpointer data
, guint callback_action
, GtkWidget
*widget
);
350 void i_callback_edit_find(gpointer data
, guint callback_action
, GtkWidget
*widget
);
351 void i_callback_edit_hide_text(gpointer data
, guint callback_action
, GtkWidget
*widget
);
352 void i_callback_edit_show_text(gpointer data
, guint callback_action
, GtkWidget
*widget
);
353 void i_callback_edit_autonumber_text(gpointer data
, guint callback_action
, GtkWidget
*widget
);
354 void i_callback_edit_linetype(gpointer data
, guint callback_action
, GtkWidget
*widget
);
355 void i_callback_edit_filltype(gpointer data
, guint callback_action
, GtkWidget
*widget
);
356 void i_callback_view_redraw(gpointer data
, guint callback_action
, GtkWidget
*widget
);
357 void i_callback_view_zoom_full(gpointer data
, guint callback_action
, GtkWidget
*widget
);
358 void i_callback_view_zoom_extents(gpointer data
, guint callback_action
, GtkWidget
*widget
);
359 void i_callback_view_zoom_box(gpointer data
, guint callback_action
, GtkWidget
*widget
);
360 void i_callback_view_zoom_box_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
361 void i_callback_view_zoom_in(gpointer data
, guint callback_action
, GtkWidget
*widget
);
362 void i_callback_view_zoom_out(gpointer data
, guint callback_action
, GtkWidget
*widget
);
363 void i_callback_view_zoom_in_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
364 void i_callback_view_zoom_out_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
365 void i_callback_view_pan(gpointer data
, guint callback_action
, GtkWidget
*widget
);
366 void i_callback_view_pan_left(gpointer data
, guint callback_action
, GtkWidget
*widget
);
367 void i_callback_view_pan_right(gpointer data
, guint callback_action
, GtkWidget
*widget
);
368 void i_callback_view_pan_up(gpointer data
, guint callback_action
, GtkWidget
*widget
);
369 void i_callback_view_pan_down(gpointer data
, guint callback_action
, GtkWidget
*widget
);
370 void i_callback_view_pan_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
371 void i_callback_view_update_cues(gpointer data
, guint callback_action
, GtkWidget
*widget
);
372 void i_callback_page_manager(gpointer data
, guint callback_action
, GtkWidget
*widget
);
373 void i_callback_page_next(gpointer data
, guint callback_action
, GtkWidget
*widget
);
374 void i_callback_page_prev(gpointer data
, guint callback_action
, GtkWidget
*widget
);
375 void i_callback_page_new(gpointer data
, guint callback_action
, GtkWidget
*widget
);
376 void i_callback_page_close(gpointer data
, guint callback_action
, GtkWidget
*widget
);
377 void i_callback_page_revert(gpointer data
, guint callback_action
, GtkWidget
*widget
);
378 void i_callback_page_discard(gpointer data
, guint callback_action
, GtkWidget
*widget
);
379 void i_callback_page_print(gpointer data
, guint callback_action
, GtkWidget
*widget
);
380 void i_callback_buffer_copy1(gpointer data
, guint callback_action
, GtkWidget
*widget
);
381 void i_callback_buffer_copy2(gpointer data
, guint callback_action
, GtkWidget
*widget
);
382 void i_callback_buffer_copy3(gpointer data
, guint callback_action
, GtkWidget
*widget
);
383 void i_callback_buffer_copy4(gpointer data
, guint callback_action
, GtkWidget
*widget
);
384 void i_callback_buffer_copy5(gpointer data
, guint callback_action
, GtkWidget
*widget
);
385 void i_callback_buffer_cut1(gpointer data
, guint callback_action
, GtkWidget
*widget
);
386 void i_callback_buffer_cut2(gpointer data
, guint callback_action
, GtkWidget
*widget
);
387 void i_callback_buffer_cut3(gpointer data
, guint callback_action
, GtkWidget
*widget
);
388 void i_callback_buffer_cut4(gpointer data
, guint callback_action
, GtkWidget
*widget
);
389 void i_callback_buffer_cut5(gpointer data
, guint callback_action
, GtkWidget
*widget
);
390 void i_callback_buffer_paste1(gpointer data
, guint callback_action
, GtkWidget
*widget
);
391 void i_callback_buffer_paste2(gpointer data
, guint callback_action
, GtkWidget
*widget
);
392 void i_callback_buffer_paste3(gpointer data
, guint callback_action
, GtkWidget
*widget
);
393 void i_callback_buffer_paste4(gpointer data
, guint callback_action
, GtkWidget
*widget
);
394 void i_callback_buffer_paste5(gpointer data
, guint callback_action
, GtkWidget
*widget
);
395 void i_callback_buffer_paste1_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
396 void i_callback_buffer_paste2_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
397 void i_callback_buffer_paste3_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
398 void i_callback_buffer_paste4_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
399 void i_callback_buffer_paste5_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
400 void i_callback_add_component(gpointer data
, guint callback_action
, GtkWidget
*widget
);
401 void i_callback_toolbar_add_component(GtkWidget
*widget
, gpointer data
);
402 void i_callback_add_attribute(gpointer data
, guint callback_action
, GtkWidget
*widget
);
403 void i_callback_add_attribute_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
404 void i_callback_add_net(gpointer data
, guint callback_action
, GtkWidget
*widget
);
405 void i_callback_add_net_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
406 void i_callback_toolbar_add_net(GtkWidget
*widget
, gpointer data
);
407 void i_callback_add_bus(gpointer data
, guint callback_action
, GtkWidget
*widget
);
408 void i_callback_add_bus_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
409 void i_callback_toolbar_add_bus(GtkWidget
*widget
, gpointer data
);
410 void i_callback_add_text(gpointer data
, guint callback_action
, GtkWidget
*widget
);
411 void i_callback_toolbar_add_text(GtkWidget
*widget
, gpointer data
);
412 void i_callback_add_line(gpointer data
, guint callback_action
, GtkWidget
*widget
);
413 void i_callback_add_line_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
414 void i_callback_add_box(gpointer data
, guint callback_action
, GtkWidget
*widget
);
415 void i_callback_add_box_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
416 void i_callback_add_picture(gpointer data
, guint callback_action
, GtkWidget
*widget
);
417 void i_callback_add_picture_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
418 void i_callback_add_circle(gpointer data
, guint callback_action
, GtkWidget
*widget
);
419 void i_callback_add_circle_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
420 void i_callback_add_arc(gpointer data
, guint callback_action
, GtkWidget
*widget
);
421 void i_callback_add_arc_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
422 void i_callback_add_pin(gpointer data
, guint callback_action
, GtkWidget
*widget
);
423 void i_callback_add_pin_hotkey(gpointer data
, guint callback_action
, GtkWidget
*widget
);
424 void i_callback_hierarchy_down_schematic(gpointer data
, guint callback_action
, GtkWidget
*widget
);
425 void i_callback_hierarchy_down_symbol(gpointer data
, guint callback_action
, GtkWidget
*widget
);
426 void i_callback_hierarchy_up(gpointer data
, guint callback_action
, GtkWidget
*widget
);
427 void i_callback_hierarchy_documentation(gpointer data
, guint callback_action
, GtkWidget
*widget
);
428 void i_callback_attributes_attach(gpointer data
, guint callback_action
, GtkWidget
*widget
);
429 void i_callback_attributes_detach(gpointer data
, guint callback_action
, GtkWidget
*widget
);
430 void i_callback_attributes_show_name(gpointer data
, guint callback_action
, GtkWidget
*widget
);
431 void i_callback_attributes_show_value(gpointer data
, guint callback_action
, GtkWidget
*widget
);
432 void i_callback_attributes_show_both(gpointer data
, guint callback_action
, GtkWidget
*widget
);
433 void i_callback_attributes_visibility_toggle(gpointer data
, guint callback_action
, GtkWidget
*widget
);
434 void i_callback_script_console(gpointer data
, guint callback_action
, GtkWidget
*widget
);
435 void i_callback_options_text_size(gpointer data
, guint callback_action
, GtkWidget
*widget
);
436 void i_callback_options_snap_size(gpointer data
, guint callback_action
, GtkWidget
*widget
);
437 void i_callback_options_afeedback(gpointer data
, guint callback_action
, GtkWidget
*widget
);
438 void i_callback_options_grid(gpointer data
, guint callback_action
, GtkWidget
*widget
);
439 void i_callback_options_snap(gpointer data
, guint callback_action
, GtkWidget
*widget
);
440 void i_callback_options_rubberband(gpointer data
, guint callback_action
, GtkWidget
*widget
);
441 void i_callback_options_show_log_window(gpointer data
, guint callback_action
, GtkWidget
*widget
);
442 void i_callback_misc(gpointer data
, guint callback_action
, GtkWidget
*widget
);
443 void i_callback_misc2(gpointer data
, guint callback_action
, GtkWidget
*widget
);
444 void i_callback_misc3(gpointer data
, guint callback_action
, GtkWidget
*widget
);
445 void i_callback_cancel(gpointer data
, guint callback_action
, GtkWidget
*widget
);
446 void i_callback_help_about(gpointer data
, guint callback_action
, GtkWidget
*widget
);
447 void i_callback_help_manual(gpointer data
, guint callback_action
, GtkWidget
*widget
);
448 void i_callback_help_hotkeys(gpointer data
, guint callback_action
, GtkWidget
*widget
);
449 void i_callback_options_show_coord_window(gpointer data
, guint callback_action
, GtkWidget
*widget
);
450 gboolean
i_callback_close_wm(GtkWidget
*widget
, GdkEvent
*event
, gpointer data
);
452 void i_vars_set(TOPLEVEL
*w_current
);
453 void i_vars_setnames(TOPLEVEL
*w_current
);
455 void o_arc_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
456 void o_arc_draw_solid(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x
, gint y
, gint radius
, gint angle1
, gint angle2
, gint arc_width
, gint length
, gint space
);
457 void o_arc_draw_dotted(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x
, gint y
, gint radius
, gint angle1
, gint angle2
, gint arc_width
, gint length
, gint space
);
458 void o_arc_draw_dashed(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x
, gint y
, gint radius
, gint angle1
, gint angle2
, gint arc_width
, gint length
, gint space
);
459 void o_arc_draw_center(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x
, gint y
, gint radius
, gint angle1
, gint angle2
, gint arc_width
, gint length
, gint space
);
460 void o_arc_draw_phantom(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x
, gint y
, gint radius
, gint angle1
, gint angle2
, gint arc_width
, gint length
, gint space
);
461 void o_arc_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
462 void o_arc_eraserubber(TOPLEVEL
*w_current
);
463 void o_arc_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
464 void o_arc_start(TOPLEVEL
*w_current
, int x
, int y
);
465 void o_arc_end1(TOPLEVEL
*w_current
, int x
, int y
);
466 void o_arc_end2(TOPLEVEL
*w_current
, int x
, int y
);
467 void o_arc_end3(TOPLEVEL
*w_current
, int x
, int y
);
468 void o_arc_end4(TOPLEVEL
*w_current
, int start_angle
, int end_angle
);
469 void o_arc_rubberarc(TOPLEVEL
*w_current
, int x
, int y
, int whichone
);
470 void o_arc_rubberarc_xor(TOPLEVEL
*w_current
);
471 void o_arc_draw_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
472 void o_arc_erase_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
474 void o_attrib_add_selected(TOPLEVEL
*w_current
, GList
**selection_list
, OBJECT
*selected
);
475 void o_attrib_toggle_visibility(TOPLEVEL
*w_current
, GList
*list
);
476 void o_attrib_toggle_show_name_value(TOPLEVEL
*w_current
, GList
*list
, int new_show_name_value
);
477 void o_attrib_start(TOPLEVEL
*w_current
, int screen_x
, int screen_y
);
478 void o_attrib_end(TOPLEVEL
*w_current
);
479 void o_attrib_rubberattrib(TOPLEVEL
*w_current
);
480 OBJECT
*o_attrib_add_attrib(TOPLEVEL
*w_current
, char *text_string
, int visibility
, int show_name_value
, OBJECT
*object
);
482 void o_redraw_all(TOPLEVEL
*w_current
);
483 void o_redraw_all_fast(TOPLEVEL
*w_current
);
484 void o_redraw(TOPLEVEL
*w_current
, OBJECT
*object_list
, gboolean draw_selected
);
485 void o_unselect_all(TOPLEVEL
*w_current
);
486 void o_draw_list(TOPLEVEL
*w_current
, GList
*list
);
487 void o_draw_selected(TOPLEVEL
*w_current
);
488 void o_erase_selected(TOPLEVEL
*w_current
);
489 void o_erase_single(TOPLEVEL
*w_current
, OBJECT
*object
);
490 void o_drawbounding(TOPLEVEL
*w_current
, OBJECT
*o_list
,
491 GList
*o_glist
, GdkColor
*color
, int firsttime
);
492 void o_erasebounding(TOPLEVEL
*w_current
, OBJECT
*o_list
, GList
*s_list
);
493 int o_erase_rubber(TOPLEVEL
*w_current
);
494 int o_redraw_cleanstates(TOPLEVEL
*w_current
);
496 void o_box_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
497 void o_box_draw_solid(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint filled
, gint x
, gint y
, gint width
, gint height
, gint line_width
, gint length
, gint space
);
498 void o_box_draw_dotted(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint filled
, gint x
, gint y
, gint width
, gint height
, gint line_width
, gint length
, gint space
);
499 void o_box_draw_dashed(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint filled
, gint x
, gint y
, gint width
, gint height
, gint line_width
, gint length
, gint space
);
500 void o_box_draw_center(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint filled
, gint x
, gint y
, gint width
, gint height
, gint line_width
, gint length
, gint space
);
501 void o_box_draw_phantom(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint filled
, gint x
, gint y
, gint width
, gint height
, gint line_width
, gint length
, gint space
);
502 void o_box_fill_hollow(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint width
, gint height
, gint fill_width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
503 void o_box_fill_fill(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint width
, gint height
, gint fill_width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
504 void o_box_fill_hatch(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint width
, gint height
, gint fill_width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
505 void o_box_fill_mesh(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint width
, gint height
, gint fill_width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
506 void o_box_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
507 void o_box_eraserubber(TOPLEVEL
*w_current
);
508 void o_box_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
509 void o_box_start(TOPLEVEL
*w_current
, int x
, int y
);
510 void o_box_end(TOPLEVEL
*w_current
, int x
, int y
);
511 void o_box_rubberbox(TOPLEVEL
*w_current
, int x
, int y
);
512 void o_box_rubberbox_xor(TOPLEVEL
*w_current
);
513 void o_box_draw_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
514 void o_box_erase_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
516 void o_buffer_copy(TOPLEVEL
*w_current
, int buf_num
);
517 void o_buffer_cut(TOPLEVEL
*w_current
, int buf_num
);
518 void o_buffer_paste_start(TOPLEVEL
*w_current
, int screen_x
, int screen_y
, int buf_num
);
519 void o_buffer_paste_end(TOPLEVEL
*w_current
, int screen_x
, int screen_y
, int buf_num
);
520 void o_buffer_paste_rubberpaste(TOPLEVEL
*w_current
, int buf_num
);
521 void o_buffer_init(void);
522 void o_buffer_free(TOPLEVEL
*w_current
);
524 void o_bus_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
525 void o_bus_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
526 void o_bus_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
527 void o_bus_draw_xor_single(TOPLEVEL
*w_current
, int dx
, int dy
, int whichone
, OBJECT
*o_current
);
528 void o_bus_start(TOPLEVEL
*w_current
, int x
, int y
);
529 int o_bus_end(TOPLEVEL
*w_current
, int x
, int y
);
530 void o_bus_rubberbus(TOPLEVEL
*w_current
, int x
, int y
);
531 void o_bus_eraserubber(TOPLEVEL
*w_current
);
532 void o_bus_xorrubber(TOPLEVEL
*w_current
);
534 void o_circle_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
535 void o_circle_fill_hollow(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint radius
, gint width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
536 void o_circle_fill_fill(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint radius
, gint width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
537 void o_circle_fill_hatch(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint radius
, gint width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
538 void o_circle_fill_mesh(GdkDrawable
*w
, GdkGC
*gc
, GdkColor
*color
, gint x
, gint y
, gint radius
, gint width
, gint angle1
, gint pitch1
, gint angle2
, gint pitch2
);
539 void o_circle_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
540 void o_circle_eraserubber(TOPLEVEL
*w_current
);
541 void o_circle_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
542 void o_circle_start(TOPLEVEL
*w_current
, int x
, int y
);
543 void o_circle_end(TOPLEVEL
*w_current
, int x
, int y
);
544 void o_circle_rubbercircle(TOPLEVEL
*w_current
, int x
, int y
);
545 void o_circle_rubbercircle_xor(TOPLEVEL
*w_current
);
546 void o_circle_draw_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
547 void o_circle_erase_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
549 void o_complex_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
550 void o_complex_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
551 void o_complex_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*complex);
552 void o_complex_start(TOPLEVEL
*w_current
, int screen_x
, int screen_y
);
553 void o_complex_place_rotate(TOPLEVEL
*w_current
);
554 void o_complex_end(TOPLEVEL
*w_current
, int screen_x
, int screen_y
);
555 void o_complex_rubbercomplex(TOPLEVEL
*w_current
);
556 void o_complex_translate_display_single_object(TOPLEVEL
*w_current
,
559 void o_complex_translate_display_object_glist(TOPLEVEL
*w_current
,
562 void o_complex_translate_display(TOPLEVEL
*w_current
, int x1
, int y1
, OBJECT
*complex);
563 void o_complex_translate_display_selection(TOPLEVEL
*w_current
, int x1
, int y1
, GList
*head
);
564 void o_complex_translate2(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*object
);
565 void o_complex_translate_all(TOPLEVEL
*w_current
, int offset
);
566 void o_complex_translate_selection(TOPLEVEL
*w_current
, int dx
, int dy
, GList
*head
);
567 void o_complex_rotate(TOPLEVEL
*w_current
, int centerx
, int centery
, int angle
, int angle_change
, OBJECT
*object
);
568 int o_complex_mirror(TOPLEVEL
*w_current
, int centerx
, int centery
, OBJECT
*object
);
569 OBJECT
*o_complex_mirror2(TOPLEVEL
*w_current
, OBJECT
*list
, int centerx
, int centery
, OBJECT
*object
);
571 void o_copy_start(TOPLEVEL
*w_current
, int x
, int y
);
572 void o_copy_end(TOPLEVEL
*w_current
);
574 void o_cue_redraw_all(TOPLEVEL
*w_current
, OBJECT
*head
, gboolean draw_selected
);
575 void o_cue_draw_lowlevel(TOPLEVEL
*w_current
, OBJECT
*object
, int whichone
);
576 void o_cue_erase_lowlevel(TOPLEVEL
*w_current
, OBJECT
*object
, int whichone
);
577 void o_cue_draw_lowlevel_midpoints(TOPLEVEL
*w_current
, OBJECT
*object
);
578 void o_cue_draw_single(TOPLEVEL
*w_current
, OBJECT
*object
);
579 void o_cue_erase_single(TOPLEVEL
*w_current
, OBJECT
*object
);
580 void o_cue_undraw(TOPLEVEL
*w_current
, OBJECT
*object
);
581 void o_cue_undraw_complex(TOPLEVEL
*w_current
, OBJECT
*object
);
582 void o_cue_draw_list(TOPLEVEL
*w_current
, GList
*object_list
);
583 void o_cue_undraw_list(TOPLEVEL
*w_current
, GList
*object_list
);
584 void o_cue_undraw_objects(TOPLEVEL
*w_current
, OBJECT
*list
);
586 void o_delete_net(TOPLEVEL
*w_current
, OBJECT
*obj
);
587 void o_delete_bus(TOPLEVEL
*w_current
, OBJECT
*obj
);
588 void o_delete_complex(TOPLEVEL
*w_current
, OBJECT
*obj
);
589 void o_delete_text(TOPLEVEL
*w_current
, OBJECT
*obj
);
590 void o_delete(TOPLEVEL
*w_current
);
592 gboolean
o_find_object(TOPLEVEL
*w_current
, int screen_x
, int screen_y
,
593 gboolean deselect_afterwards
);
594 gboolean
o_find_selected_object(TOPLEVEL
*w_current
, int screen_x
, int screen_y
);
596 OBJECT
*o_grips_search(TOPLEVEL
*w_current
, int x
, int y
, int *whichone
);
597 OBJECT
*o_grips_search_arc(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int size
, int *whichone
);
598 OBJECT
*o_grips_search_box(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int size
, int *whichone
);
599 OBJECT
*o_grips_search_picture(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int size
, int *whichone
);
600 OBJECT
*o_grips_search_circle(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int size
, int *whichone
);
601 OBJECT
*o_grips_search_line(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int size
, int *whichone
);
602 int o_grips_start(TOPLEVEL
*w_current
, int x
, int y
);
603 void o_grips_start_arc(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int whichone
);
604 void o_grips_start_box(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int whichone
);
605 void o_grips_start_picture(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int whichone
);
606 void o_grips_start_circle(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int whichone
);
607 void o_grips_start_line(TOPLEVEL
*w_current
, OBJECT
*o_current
, int x
, int y
, int whichone
);
608 void o_grips_motion(TOPLEVEL
*w_current
, int x
, int y
);
609 void o_grips_motion_arc(TOPLEVEL
*w_current
, int x
, int y
, int whichone
);
610 void o_grips_motion_box(TOPLEVEL
*w_current
, int x
, int y
, int whichone
);
611 void o_grips_motion_picture(TOPLEVEL
*w_current
, int x
, int y
, int whichone
);
612 void o_grips_motion_circle(TOPLEVEL
*w_current
, int x
, int y
, int whichone
);
613 void o_grips_motion_line(TOPLEVEL
*w_current
, int x
, int y
, int whichone
);
614 void o_grips_end(TOPLEVEL
*w_current
);
615 void o_grips_end_arc(TOPLEVEL
*w_current
, OBJECT
*o_current
, int whichone
);
616 void o_grips_end_box(TOPLEVEL
*w_current
, OBJECT
*o_current
, int whichone
);
617 void o_grips_end_picture(TOPLEVEL
*w_current
, OBJECT
*o_current
, int whichone
);
618 void o_grips_end_circle(TOPLEVEL
*w_current
, OBJECT
*o_current
, int whichone
);
619 void o_grips_end_line(TOPLEVEL
*w_current
, OBJECT
*o_current
, int whichone
);
620 int o_grips_size(TOPLEVEL
*w_current
);
621 void o_grips_draw(TOPLEVEL
*w_current
, int x
, int y
);
622 void o_grips_erase(TOPLEVEL
*w_current
, int x
, int y
);
624 void o_line_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
625 void o_line_draw_solid(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x1
, gint y1
, gint x2
, gint y2
, gint line_width
, gint length
, gint space
);
626 void o_line_draw_dotted(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x1
, gint y1
, gint x2
, gint y2
, gint line_width
, gint length
, gint space
);
627 void o_line_draw_dashed(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x1
, gint y1
, gint x2
, gint y2
, gint line_width
, gint length
, gint space
);
628 void o_line_draw_center(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x1
, gint y1
, gint x2
, gint y2
, gint line_width
, gint length
, gint space
);
629 void o_line_draw_phantom(GdkWindow
*w
, GdkGC
*gc
, GdkColor
*color
, GdkCapStyle cap
, gint x1
, gint y1
, gint x2
, gint y2
, gint line_width
, gint length
, gint space
);
630 void o_line_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
631 void o_line_eraserubber(TOPLEVEL
*w_current
);
632 void o_line_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
633 void o_line_start(TOPLEVEL
*w_current
, int x
, int y
);
634 void o_line_end(TOPLEVEL
*w_current
, int x
, int y
);
635 void o_line_rubberline(TOPLEVEL
*w_current
, int x
, int y
);
636 void o_line_rubberline_xor(TOPLEVEL
*w_current
);
637 void o_line_draw_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
638 void o_line_erase_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
640 void o_edit(TOPLEVEL
*w_current
, GList
*list
);
641 void o_lock(TOPLEVEL
*w_current
);
642 void o_unlock(TOPLEVEL
*w_current
);
643 void o_rotate_90(TOPLEVEL
*w_current
, GList
*list
,
644 int centerx
, int centery
);
645 void o_mirror(TOPLEVEL
*w_current
, GList
*list
, int centerx
, int centery
);
646 void o_edit_show_hidden_lowlevel(TOPLEVEL
*w_current
, OBJECT
*o_list
);
647 void o_edit_show_hidden(TOPLEVEL
*w_current
, OBJECT
*o_list
);
648 void o_edit_make_visible(TOPLEVEL
*w_current
, OBJECT
*o_list
);
649 int o_edit_find_text(TOPLEVEL
*w_current
, OBJECT
*o_list
, char *stext
, int descend
, int skip
);
650 void o_edit_hide_specific_text(TOPLEVEL
*w_current
, OBJECT
*o_list
, char *stext
);
651 void o_edit_show_specific_text(TOPLEVEL
*w_current
, OBJECT
*o_list
, char *stext
);
652 void o_update_component(TOPLEVEL
*w_current
, OBJECT
*o_current
);
653 void o_autosave_backups(TOPLEVEL
*toplevel
);
655 void o_move_start(TOPLEVEL
*w_current
, int x
, int y
);
656 void o_move_end_lowlevel(TOPLEVEL
*w_current
, OBJECT
*list
, int type
, int diff_x
, int diff_y
, int screen_diff_x
, int screen_diff_y
, GList
**other_objects
, GList
**connected_objects
);
657 void o_move_end(TOPLEVEL
*w_current
);
658 int o_move_return_whichone(OBJECT
*object
, int x
, int y
);
659 void o_move_check_endpoint(TOPLEVEL
*w_current
, OBJECT
*object
);
660 void o_move_prep_rubberband(TOPLEVEL
*w_current
);
661 int o_move_zero_length(OBJECT
*object
);
662 void o_move_end_rubberband(TOPLEVEL
*w_current
, int world_diff_x
, int world_diff_y
, GList
**objects
, GList
**other_objects
, GList
**connected_objects
);
663 void o_move_stretch_rubberband(TOPLEVEL
*w_current
);
665 void o_net_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
666 void o_net_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
667 void o_net_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
668 void o_net_draw_xor_single(TOPLEVEL
*w_current
, int dx
, int dy
, int whichone
, OBJECT
*o_current
);
669 void o_net_start(TOPLEVEL
*w_current
, int x
, int y
);
670 int o_net_end(TOPLEVEL
*w_current
, int x
, int y
);
671 void o_net_rubbernet(TOPLEVEL
*w_current
, int x
, int y
);
672 void o_net_eraserubber(TOPLEVEL
*w_current
);
673 void o_net_xorrubber(TOPLEVEL
*w_current
);
674 int o_net_add_busrippers(TOPLEVEL
*w_current
, OBJECT
*net_obj
, GList
*other_objects
);
676 void o_picture_start(TOPLEVEL
*w_current
, int x
, int y
);
677 void o_picture_end(TOPLEVEL
*w_current
, int x
, int y
);
678 void picture_selection_dialog (TOPLEVEL
*w_current
);
679 void o_picture_eraserubber(TOPLEVEL
*w_current
);
680 void o_picture_rubberbox_xor(TOPLEVEL
*w_current
);
681 void o_picture_rubberbox(TOPLEVEL
*w_current
, int x
, int y
);
682 void o_picture_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
683 void o_picture_draw_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
684 void o_picture_erase_grips(TOPLEVEL
*w_current
, OBJECT
*o_current
);
685 void o_picture_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
686 void o_picture_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
687 void o_picture_exchange(TOPLEVEL
*w_current
, GdkPixbuf
*pixbuf
, const gchar
*filename
);
688 void picture_change_filename_dialog (TOPLEVEL
*w_current
);
691 void o_pin_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
692 void o_pin_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
693 void o_pin_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
694 void o_pin_start(TOPLEVEL
*w_current
, int x
, int y
);
695 void o_pin_end(TOPLEVEL
*w_current
, int x
, int y
);
696 void o_pin_rubberpin(TOPLEVEL
*w_current
, int x
, int y
);
697 void o_pin_eraserubber(TOPLEVEL
*w_current
);
699 void o_select_run_hooks(TOPLEVEL
*w_current
, OBJECT
*o_current
, int flag
);
700 void o_select_object(TOPLEVEL
*w_current
, OBJECT
*o_current
, int type
, int count
);
701 void o_select_box_start(TOPLEVEL
*w_current
, int x
, int y
);
702 void o_select_box_end(TOPLEVEL
*w_current
, int x
, int y
);
703 void o_select_box_rubberband(TOPLEVEL
*w_current
, int x
, int y
);
704 void o_select_box_search(TOPLEVEL
*w_current
);
705 OBJECT
*o_select_return_first_object(TOPLEVEL
*w_current
);
706 int o_select_selected(TOPLEVEL
*w_current
);
707 void o_select_unselect_all(TOPLEVEL
*w_current
);
708 void o_select_move_to_place_list(TOPLEVEL
*w_current
);
710 void o_slot_start(TOPLEVEL
*w_current
, OBJECT
*list
);
711 void o_slot_end(TOPLEVEL
*w_current
, char *string
, int len
);
713 void o_text_draw_lowlevel(TOPLEVEL
*w_current
, OBJECT
*o_current
);
714 void o_text_draw_rectangle(TOPLEVEL
*w_current
, OBJECT
*o_current
);
715 void o_text_draw(TOPLEVEL
*w_current
, OBJECT
*o_current
);
716 void o_text_erase(TOPLEVEL
*w_current
, OBJECT
*o_current
);
717 void o_text_draw_xor(TOPLEVEL
*w_current
, int dx
, int dy
, OBJECT
*o_current
);
718 void o_text_input(TOPLEVEL
*w_current
);
719 void o_text_start(TOPLEVEL
*w_current
, int screen_x
, int screen_y
);
720 void o_text_end(TOPLEVEL
*w_current
);
721 void o_text_rubberattrib(TOPLEVEL
*w_current
);
722 void o_text_edit(TOPLEVEL
*w_current
, OBJECT
*o_current
);
723 void o_text_edit_end(TOPLEVEL
*w_current
, char *string
, int len
, int text_size
, int text_alignment
);
724 void o_text_change(TOPLEVEL
*w_current
, OBJECT
*object
, char *string
, int visibility
, int show
);
725 void o_text_place_rotate(TOPLEVEL
*w_current
);
727 void o_undo_init(void);
728 void o_undo_savestate(TOPLEVEL
*w_current
, int flag
);
729 char *o_undo_find_prev_filename(UNDO
*start
);
730 OBJECT
*o_undo_find_prev_object_head(UNDO
*start
);
731 void o_undo_callback(TOPLEVEL
*w_current
, int type
);
732 void o_undo_cleanup(void);
733 void o_undo_remove_last_undo(TOPLEVEL
*w_current
);
735 void usage(char *cmd
);
736 int parse_commandline(int argc
, char *argv
[]);
738 gint
option_menu_get_history(GtkOptionMenu
*option_menu
);
739 int attrib_edit_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
740 void attrib_edit_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
741 void attrib_edit_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
742 void attrib_edit_dialog_delete(GtkWidget
*w
, TOPLEVEL
*w_current
);
743 void attrib_edit_dialog(TOPLEVEL
*w_current
, OBJECT
*list
, int flag
);
745 void x_repaint_background(TOPLEVEL
*w_current
);
746 void x_hscrollbar_set_ranges(TOPLEVEL
*w_current
);
747 void x_hscrollbar_update(TOPLEVEL
*w_current
);
748 void x_vscrollbar_set_ranges(TOPLEVEL
*w_current
);
749 void x_vscrollbar_update(TOPLEVEL
*w_current
);
750 void x_scrollbars_update(TOPLEVEL
*w_current
);
751 GtkWidget
*x_create_dialog_box(GtkWidget
**out_vbox
, GtkWidget
**out_action_area
);
752 GtkWidget
*x_create_dialog_box_horiz(GtkWidget
**out_hbox
, GtkWidget
**out_action_area
);
753 void x_basic_warp_cursor(GtkWidget
*widget
, gint x
, gint y
, gboolean relative
);
755 void x_color_allocate_all(void);
756 GdkColor
*x_get_color(int color
);
757 GdkColor
*x_get_darkcolor(int color
);
758 gchar
*x_color_get_name(int index
);
760 int text_view_calculate_real_tab_width(GtkTextView
*textview
, int tab_size
);
761 void select_all_text_in_textview(GtkTextView
*textview
);
762 void destroy_window(GtkWidget
*widget
, GtkWidget
**window
);
763 int text_input_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
764 void text_input_dialog_apply(GtkWidget
*w
, TOPLEVEL
*w_current
);
765 void text_input_dialog_close(GtkWidget
*w
, TOPLEVEL
*w_current
);
766 void text_input_dialog(TOPLEVEL
*w_current
);
767 gint
change_alignment(GtkWidget
*w
, TOPLEVEL
*w_current
);
768 int text_edit_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
769 void text_edit_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
770 void text_edit_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
771 void text_edit_dialog(TOPLEVEL
*w_current
, char *string
, int text_size
, int text_alignment
);
772 void line_type_dialog(TOPLEVEL
*w_current
, GList
*objects
);
773 void fill_type_dialog(TOPLEVEL
*w_current
, GList
*objects
);
774 int arc_angles_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
775 void arc_angles_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
776 void arc_angles_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
777 void arc_angle_dialog(TOPLEVEL
*w_current
);
778 int translate_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
779 void translate_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
780 void translate_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
781 void translate_dialog(TOPLEVEL
*w_current
);
782 int text_size_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
783 void text_size_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
784 void text_size_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
785 void text_size_dialog(TOPLEVEL
*w_current
);
786 int snap_size_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
787 void snap_size_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
788 void snap_size_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
789 void snap_size_dialog(TOPLEVEL
*w_current
);
790 int slot_edit_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
791 void slot_edit_dialog_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
792 void slot_edit_dialog_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
793 void slot_edit_dialog(TOPLEVEL
*w_current
, char *string
);
794 int about_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
795 void about_dialog_close(GtkWidget
*w
, TOPLEVEL
*w_current
);
796 void about_dialog(TOPLEVEL
*w_current
);
797 int coord_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
798 void coord_dialog_close(GtkWidget
*w
, TOPLEVEL
*w_current
);
799 void coord_display_update(TOPLEVEL
*w_current
, int x
, int y
);
800 void coord_dialog(TOPLEVEL
*w_current
, int x
, int y
);
801 gint
color_set(GtkWidget
*w
, gpointer data
);
802 char *index2functionstring(int index
);
803 int color_edit_dialog_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
804 void color_edit_dialog_close(GtkWidget
*w
, TOPLEVEL
*w_current
);
805 void color_edit_dialog_apply(GtkWidget
*w
, TOPLEVEL
*w_current
);
806 void color_edit_dialog(TOPLEVEL
*w_current
);
807 int x_dialog_hotkeys_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
808 void x_dialog_hotkeys_close(GtkWidget
*w
, TOPLEVEL
*w_current
);
809 void x_dialog_hotkeys_free_all(void);
810 void x_dialog_hotkeys_fill(char *string
);
811 void x_dialog_hotkeys(TOPLEVEL
*w_current
);
812 void x_dialog_raise_all(TOPLEVEL
*w_current
);
814 void generic_msg_dialog(const char *);
815 int generic_confirm_dialog(const char *);
816 char * generic_filesel_dialog(const char *, const char *, gint
);
818 void generic_text_input_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
819 void generic_text_input_dialog(TOPLEVEL
*w_current
);
820 int find_text_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
821 void find_text_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
822 void find_text_done(GtkWidget
*w
, TOPLEVEL
*w_current
);
823 void find_text_dialog(TOPLEVEL
*w_current
);
824 int hide_text_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
825 void hide_text_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
826 void hide_text_done(GtkWidget
*w
, TOPLEVEL
*w_current
);
827 void hide_text_dialog(TOPLEVEL
*w_current
);
828 int show_text_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
829 void show_text_ok(GtkWidget
*w
, TOPLEVEL
*w_current
);
830 void show_text_done(GtkWidget
*w
, TOPLEVEL
*w_current
);
831 void show_text_dialog(TOPLEVEL
*w_current
);
832 void autonumber_text_dialog(TOPLEVEL
*w_current
);
833 void major_changed_dialog(TOPLEVEL
* w_current
);
834 void x_dialog_close_changed_page (TOPLEVEL
*toplevel
, PAGE
*page
);
835 gboolean
x_dialog_close_window (TOPLEVEL
*toplevel
);
837 gint
x_event_expose(GtkWidget
*widget
, GdkEventExpose
*event
, TOPLEVEL
*w_current
);
838 gint
x_event_button_pressed(GtkWidget
*widget
, GdkEventButton
*event
, TOPLEVEL
*w_current
);
839 gint
x_event_button_released(GtkWidget
*widget
, GdkEventButton
*event
, TOPLEVEL
*w_current
);
840 gint
x_event_motion(GtkWidget
*widget
, GdkEventMotion
*event
, TOPLEVEL
*w_current
);
841 gboolean
x_event_configure (GtkWidget
*widget
, GdkEventConfigure
*event
, gpointer user_data
);
842 void x_manual_resize(TOPLEVEL
*w_current
);
843 void x_event_hschanged(GtkAdjustment
*adj
, TOPLEVEL
*w_current
);
844 void x_event_vschanged(GtkAdjustment
*adj
, TOPLEVEL
*w_current
);
845 gint
x_event_enter(GtkWidget
*widget
, GdkEventCrossing
*event
, TOPLEVEL
*w_current
);
846 gboolean
x_event_key_press(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
847 gint
x_event_scroll(GtkWidget
*widget
, GdkEventScroll
*event
, TOPLEVEL
*w_current
);
849 void x_compselect_open (TOPLEVEL
*toplevel
);
850 void x_compselect_close (TOPLEVEL
*toplevel
);
852 void x_fileselect_open(TOPLEVEL
*toplevel
);
853 void x_fileselect_save(TOPLEVEL
*toplevel
);
854 int x_fileselect_load_backup(TOPLEVEL
*toplevel
, GString
*message
);
856 void x_grid_draw(TOPLEVEL
*w_current
);
857 void x_draw_tiles(TOPLEVEL
*w_current
);
859 gint
image_320(GtkWidget
*w
, TOPLEVEL
*w_current
);
860 gint
image_640(GtkWidget
*w
, TOPLEVEL
*w_current
);
861 gint
image_800(GtkWidget
*w
, TOPLEVEL
*w_current
);
862 gint
image_1024(GtkWidget
*w
, TOPLEVEL
*w_current
);
863 gint
image_1280(GtkWidget
*w
, TOPLEVEL
*w_current
);
864 gint
image_1600(GtkWidget
*w
, TOPLEVEL
*w_current
);
865 gint
image_3200(GtkWidget
*w
, TOPLEVEL
*w_current
);
866 void x_image_lowlevel(TOPLEVEL
*w_current
, const char* filename
);
867 gint
x_image_write(GtkWidget
*w
, TOPLEVEL
*w_current
);
868 gint
x_image_cancel(GtkWidget
*w
, TOPLEVEL
*w_current
);
869 int x_image_keypress(GtkWidget
*widget
, GdkEventKey
*event
, TOPLEVEL
*w_current
);
870 void x_image_setup(TOPLEVEL
*w_current
, char *filename
);
871 GdkPixbuf
*x_image_get_pixbuf (TOPLEVEL
*w_current
);
875 void x_log_message (const gchar
*message
);
877 void get_main_menu(TOPLEVEL
*w_current
, GtkWidget
**menubar
);
878 GtkWidget
*get_main_popup(TOPLEVEL
*w_current
);
879 gint
do_popup(TOPLEVEL
*w_current
, GdkEventButton
*event
);
880 void x_menus_sensitivity(TOPLEVEL
*w_current
, const char *buf
, int flag
);
881 void x_menus_popup_sensitivity(TOPLEVEL
*w_current
, const char *buf
, int flag
);
882 /* x_multiattrib.c */
883 void x_multiattrib_open (TOPLEVEL
*toplevel
, OBJECT
*object
);
886 void x_pagesel_open (TOPLEVEL
*toplevel
);
887 void x_pagesel_close (TOPLEVEL
*toplevel
);
888 void x_pagesel_update (TOPLEVEL
*toplevel
);
889 GtkWidget
*e_gtk_button_new_with_icon(const char *text
, const char *stock
);
892 void x_print_setup(TOPLEVEL
*w_current
, char *filename
);
894 void setup_script_selector(TOPLEVEL
*w_current
);
896 void x_stroke_add_point(TOPLEVEL
*w_current
, int x
, int y
);
897 void x_stroke_erase_all(TOPLEVEL
*w_current
);
898 void x_stroke_free_all(void);
899 int x_stroke_search_execute(char *sequence
);
901 void x_window_setup (TOPLEVEL
*toplevel
);
902 void x_window_setup_colors(void);
903 void x_window_free_colors(TOPLEVEL
*w_current
);
904 void x_window_setup_gc(TOPLEVEL
*w_current
);
905 void x_window_free_gc(TOPLEVEL
*w_current
);
906 void x_window_create_drawing(GtkWidget
*drawbox
, TOPLEVEL
*w_current
);
907 void x_window_setup_draw_events(TOPLEVEL
*w_current
);
908 void x_window_create_main(TOPLEVEL
*w_current
);
909 void x_window_close(TOPLEVEL
*w_current
);
910 void x_window_close_all(TOPLEVEL
*w_current
);
911 TOPLEVEL
*x_window_get_ptr(int wid
);
912 TOPLEVEL
*x_window_search_page_clist(GtkWidget
*findme
);
913 PAGE
*x_window_open_untitled_page (TOPLEVEL
*toplevel
);
914 PAGE
*x_window_open_page (TOPLEVEL
*toplevel
, const gchar
*filename
);
915 void x_window_set_current_page (TOPLEVEL
*toplevel
, PAGE
*page
);
916 gint
x_window_save_page (TOPLEVEL
*toplevel
, PAGE
*page
, const gchar
*filename
);
917 void x_window_close_page (TOPLEVEL
*toplevel
, PAGE
*page
);