gschem

prototype.h

Go to the documentation of this file.
00001 /* $Id$ */
00002 
00003 /* gschem_toplevel.c */
00004 GSCHEM_TOPLEVEL *gschem_toplevel_new();
00005 void gschem_toplevel_alloc_libgeda_toplevel(GSCHEM_TOPLEVEL *w_current);
00006 
00007 /* a_pan.c */
00008 void a_pan_general(GSCHEM_TOPLEVEL *w_current, double world_cx, double world_cy,
00009            double relativ_zoom_factor, int flags);
00010 void a_pan(GSCHEM_TOPLEVEL *w_current, int x, int y);
00011 void a_pan_mouse(GSCHEM_TOPLEVEL *w_current, int diff_x, int diff_y);
00012 /* a_zoom.c */
00013 void a_zoom(GSCHEM_TOPLEVEL *w_current, int dir, int selected_from, int pan_flags);
00014 void a_zoom_extents(GSCHEM_TOPLEVEL *w_current, const GList *list, int pan_flags);
00015 void a_zoom_box(GSCHEM_TOPLEVEL *w_current, int pan_flags);
00016 void a_zoom_box_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00017 void a_zoom_box_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00018 void a_zoom_box_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00019 void a_zoom_box_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00020 void a_zoom_box_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00021 void correct_aspect(GSCHEM_TOPLEVEL *w_current);
00022 /* g_attrib.c */
00023 void g_init_attrib ();
00024 /* g_funcs.c */
00025 SCM g_funcs_print(SCM filename);
00026 SCM g_funcs_postscript(SCM filename);
00027 SCM g_funcs_image(SCM filename);
00028 SCM g_funcs_exit(void);
00029 SCM g_funcs_log(SCM msg);
00030 SCM g_funcs_msg(SCM msg);
00031 SCM g_funcs_confirm(SCM msg);
00032 SCM g_funcs_filesel(SCM msg, SCM templ, SCM flags);
00033 SCM g_funcs_use_rc_values(void);
00034 SCM get_selected_component_attributes(GSCHEM_TOPLEVEL *w_current);
00035 /* g_hook.c */
00036 void g_init_hook ();
00037 void g_run_hook_object (GSCHEM_TOPLEVEL *w_current, const char *name, OBJECT *obj);
00038 void g_run_hook_object_list (GSCHEM_TOPLEVEL *w_current, const char *name, GList *obj_lst);
00039 void g_run_hook_page (GSCHEM_TOPLEVEL *w_current, const char *name, PAGE *page);
00040 /* g_keys.c */
00041 void g_keys_reset (GSCHEM_TOPLEVEL *w_current);
00042 int g_keys_execute(GSCHEM_TOPLEVEL *w_current, GdkEventKey *event);
00043 GtkListStore *g_keys_to_list_store (void);
00044 SCM g_keys_file_new(SCM rest);
00045 SCM g_keys_file_new_window(SCM rest);
00046 SCM g_keys_file_open(SCM rest);
00047 SCM g_keys_file_script(SCM rest);
00048 SCM g_keys_file_save(SCM rest);
00049 SCM g_keys_file_save_as(SCM rest);
00050 SCM g_keys_file_save_all(SCM rest);
00051 SCM g_keys_file_print(SCM rest);
00052 SCM g_keys_file_write_png(SCM rest);
00053 SCM g_keys_file_close(SCM rest);
00054 SCM g_keys_file_quit(SCM rest);
00055 SCM g_keys_edit_undo(SCM rest);
00056 SCM g_keys_edit_redo(SCM rest);
00057 SCM g_keys_edit_select(SCM rest);
00058 SCM g_keys_edit_select_all(SCM rest);
00059 SCM g_keys_edit_deselect(SCM rest);
00060 SCM g_keys_edit_copy(SCM rest);
00061 SCM g_keys_edit_copy_hotkey(SCM rest);
00062 SCM g_keys_edit_mcopy(SCM rest);
00063 SCM g_keys_edit_mcopy_hotkey(SCM rest);
00064 SCM g_keys_edit_move(SCM rest);
00065 SCM g_keys_edit_move_hotkey(SCM rest);
00066 SCM g_keys_edit_delete(SCM rest);
00067 SCM g_keys_edit_rotate_90(SCM rest);
00068 SCM g_keys_edit_rotate_90_hotkey(SCM rest);
00069 SCM g_keys_edit_mirror(SCM rest);
00070 SCM g_keys_edit_mirror_hotkey(SCM rest);
00071 SCM g_keys_edit_slot(SCM rest);
00072 SCM g_keys_edit_color(SCM rest);
00073 SCM g_keys_edit_edit(SCM rest);
00074 SCM g_keys_edit_pin_type(SCM rest);
00075 SCM g_keys_edit_text(SCM rest);
00076 SCM g_keys_edit_lock(SCM rest);
00077 SCM g_keys_edit_unlock(SCM rest);
00078 SCM g_keys_edit_linetype(SCM rest);
00079 SCM g_keys_edit_filltype(SCM rest);
00080 SCM g_keys_edit_translate(SCM rest);
00081 SCM g_keys_edit_invoke_macro(SCM rest);
00082 SCM g_keys_edit_embed(SCM rest);
00083 SCM g_keys_edit_unembed(SCM rest);
00084 SCM g_keys_edit_update(SCM rest);
00085 SCM g_keys_edit_show_hidden(SCM rest);
00086 SCM g_keys_edit_find(SCM rest);
00087 SCM g_keys_edit_show_text(SCM rest);
00088 SCM g_keys_edit_hide_text(SCM rest);
00089 SCM g_keys_edit_autonumber_text(SCM rest);
00090 SCM g_keys_clipboard_copy(SCM rest);
00091 SCM g_keys_clipboard_cut(SCM rest);
00092 SCM g_keys_clipboard_paste(SCM rest);
00093 SCM g_keys_clipboard_paste_hotkey(SCM rest);
00094 SCM g_keys_buffer_copy1(SCM rest);
00095 SCM g_keys_buffer_copy2(SCM rest);
00096 SCM g_keys_buffer_copy3(SCM rest);
00097 SCM g_keys_buffer_copy4(SCM rest);
00098 SCM g_keys_buffer_copy5(SCM rest);
00099 SCM g_keys_buffer_cut1(SCM rest);
00100 SCM g_keys_buffer_cut2(SCM rest);
00101 SCM g_keys_buffer_cut3(SCM rest);
00102 SCM g_keys_buffer_cut4(SCM rest);
00103 SCM g_keys_buffer_cut5(SCM rest);
00104 SCM g_keys_buffer_paste1(SCM rest);
00105 SCM g_keys_buffer_paste2(SCM rest);
00106 SCM g_keys_buffer_paste3(SCM rest);
00107 SCM g_keys_buffer_paste4(SCM rest);
00108 SCM g_keys_buffer_paste5(SCM rest);
00109 SCM g_keys_buffer_paste1_hotkey(SCM rest);
00110 SCM g_keys_buffer_paste2_hotkey(SCM rest);
00111 SCM g_keys_buffer_paste3_hotkey(SCM rest);
00112 SCM g_keys_buffer_paste4_hotkey(SCM rest);
00113 SCM g_keys_buffer_paste5_hotkey(SCM rest);
00114 SCM g_keys_view_redraw(SCM rest);
00115 SCM g_keys_view_zoom_full(SCM rest);
00116 SCM g_keys_view_zoom_extents(SCM rest);
00117 SCM g_keys_view_zoom_in(SCM rest);
00118 SCM g_keys_view_zoom_out(SCM rest);
00119 SCM g_keys_view_zoom_in_hotkey(SCM rest);
00120 SCM g_keys_view_zoom_out_hotkey(SCM rest);
00121 SCM g_keys_view_zoom_box(SCM rest);
00122 SCM g_keys_view_zoom_box_hotkey(SCM rest);
00123 SCM g_keys_view_pan(SCM rest);
00124 SCM g_keys_view_pan_left(SCM rest);
00125 SCM g_keys_view_pan_right(SCM rest);
00126 SCM g_keys_view_pan_up(SCM rest);
00127 SCM g_keys_view_pan_down(SCM rest);
00128 SCM g_keys_view_pan_hotkey(SCM rest);
00129 SCM g_keys_view_dark_colors(SCM rest);
00130 SCM g_keys_view_light_colors(SCM rest);
00131 SCM g_keys_view_bw_colors(SCM rest);
00132 SCM g_keys_page_manager(SCM rest);
00133 SCM g_keys_page_next(SCM rest);
00134 SCM g_keys_page_prev(SCM rest);
00135 SCM g_keys_page_new(SCM rest);
00136 SCM g_keys_page_close(SCM rest);
00137 SCM g_keys_page_revert(SCM rest);
00138 SCM g_keys_page_discard(SCM rest);
00139 SCM g_keys_page_print(SCM rest);
00140 SCM g_keys_add_component(SCM rest);
00141 SCM g_keys_add_attribute(SCM rest);
00142 SCM g_keys_add_attribute_hotkey(SCM rest);
00143 SCM g_keys_add_net(SCM rest);
00144 SCM g_keys_add_net_hotkey(SCM rest);
00145 SCM g_keys_add_bus(SCM rest);
00146 SCM g_keys_add_bus_hotkey(SCM rest);
00147 SCM g_keys_add_text(SCM rest);
00148 SCM g_keys_add_line(SCM rest);
00149 SCM g_keys_add_line_hotkey(SCM rest);
00150 SCM g_keys_add_box(SCM rest);
00151 SCM g_keys_add_box_hotkey(SCM rest);
00152 SCM g_keys_add_picture(SCM rest);
00153 SCM g_keys_add_picture_hotkey(SCM rest);
00154 SCM g_keys_add_circle(SCM rest);
00155 SCM g_keys_add_circle_hotkey(SCM rest);
00156 SCM g_keys_add_arc(SCM rest);
00157 SCM g_keys_add_arc_hotkey(SCM rest);
00158 SCM g_keys_add_pin(SCM rest);
00159 SCM g_keys_add_pin_hotkey(SCM rest);
00160 SCM g_keys_hierarchy_down_schematic(SCM rest);
00161 SCM g_keys_hierarchy_down_symbol(SCM rest);
00162 SCM g_keys_hierarchy_up(SCM rest);
00163 SCM g_keys_attributes_attach(SCM rest);
00164 SCM g_keys_attributes_detach(SCM rest);
00165 SCM g_keys_attributes_show_name(SCM rest);
00166 SCM g_keys_attributes_show_value(SCM rest);
00167 SCM g_keys_attributes_show_both(SCM rest);
00168 SCM g_keys_attributes_visibility_toggle(SCM rest);
00169 SCM g_keys_script_console(SCM rest);
00170 SCM g_keys_options_text_size(SCM rest);
00171 SCM g_keys_options_afeedback(SCM rest);
00172 SCM g_keys_options_grid(SCM rest);
00173 SCM g_keys_options_snap(SCM rest);
00174 SCM g_keys_options_snap_size(SCM rest);
00175 SCM g_keys_options_scale_up_snap_size(SCM rest);
00176 SCM g_keys_options_scale_down_snap_size(SCM rest);
00177 SCM g_keys_options_rubberband(SCM rest);
00178 SCM g_keys_options_magneticnet(SCM rest);
00179 SCM g_keys_options_show_log_window(SCM rest);
00180 SCM g_keys_options_show_coord_window(SCM rest);
00181 SCM g_keys_misc(SCM rest);
00182 SCM g_keys_misc2(SCM rest);
00183 SCM g_keys_misc3(SCM rest);
00184 SCM g_keys_help_about(SCM rest);
00185 SCM g_keys_help_hotkeys(SCM rest);
00186 SCM g_keys_cancel(SCM rest);
00187 void g_init_keys ();
00188 /* g_rc.c */
00189 void g_rc_parse_gtkrc();
00190 SCM g_rc_gschem_version(SCM version);
00191 SCM g_rc_net_endpoint_mode(SCM mode);
00192 SCM g_rc_net_midpoint_mode(SCM mode);
00193 SCM g_rc_net_direction_mode(SCM mode);
00194 SCM g_rc_net_selection_mode(SCM mode);
00195 SCM g_rc_net_style(SCM mode);
00196 SCM g_rc_bus_style(SCM mode);
00197 SCM g_rc_pin_style(SCM mode);
00198 SCM g_rc_line_style(SCM mode);
00199 SCM g_rc_action_feedback_mode(SCM mode);
00200 SCM g_rc_zoom_with_pan(SCM mode);
00201 SCM g_rc_text_feedback(SCM mode);
00202 SCM g_rc_text_display_zoomfactor(SCM zoomfactor);
00203 SCM g_rc_scrollbar_update(SCM mode);
00204 SCM g_rc_object_clipping(SCM mode);
00205 SCM g_rc_logging(SCM mode);
00206 SCM g_rc_embed_components(SCM mode);
00207 SCM g_rc_component_dialog_attributes(SCM stringlist);
00208 SCM g_rc_text_size(SCM size);
00209 SCM g_rc_text_caps_style(SCM mode);
00210 SCM g_rc_snap_size(SCM size);
00211 SCM g_rc_logging_destination(SCM mode);
00212 SCM g_rc_attribute_name(SCM path);
00213 SCM g_rc_scrollbars(SCM mode);
00214 SCM g_rc_paper_size(SCM width, SCM height);
00215 SCM g_rc_paper_sizes(SCM papername, SCM scm_width, SCM scm_height);
00216 SCM g_rc_output_type(SCM mode);
00217 SCM g_rc_output_orientation(SCM mode);
00218 SCM g_rc_image_color(SCM mode);
00219 SCM g_rc_image_size(SCM width, SCM height);
00220 SCM g_rc_output_color(SCM mode);
00221 SCM g_rc_output_capstyle(SCM mode);
00222 SCM g_rc_log_window(SCM mode);
00223 SCM g_rc_log_window_type(SCM mode);
00224 SCM g_rc_third_button(SCM mode);
00225 SCM g_rc_middle_button(SCM mode);
00226 SCM g_rc_scroll_wheel(SCM mode);
00227 SCM g_rc_net_consolidate(SCM mode);
00228 SCM g_rc_file_preview(SCM mode);
00229 SCM g_rc_enforce_hierarchy(SCM mode);
00230 SCM g_rc_text_origin_marker(SCM mode);
00231 SCM g_rc_fast_mousepan(SCM mode);
00232 SCM g_rc_raise_dialog_boxes_on_expose(SCM mode);
00233 SCM g_rc_continue_component_place(SCM mode);
00234 SCM g_rc_undo_levels(SCM levels);
00235 SCM g_rc_undo_control(SCM mode);
00236 SCM g_rc_undo_type(SCM mode);
00237 SCM g_rc_undo_panzoom(SCM mode);
00238 SCM g_rc_draw_grips(SCM mode);
00239 SCM g_rc_netconn_rubberband(SCM mode);
00240 SCM g_rc_magnetic_net_mode(SCM mode);
00241 SCM g_rc_sort_component_library(SCM mode);
00242 SCM g_rc_add_menu(SCM menu_name, SCM menu_items);
00243 SCM g_rc_window_size(SCM width, SCM height);
00244 SCM g_rc_warp_cursor(SCM mode);
00245 SCM g_rc_toolbars(SCM mode);
00246 SCM g_rc_handleboxes(SCM mode);
00247 SCM g_rc_setpagedevice_orientation(SCM mode);
00248 SCM g_rc_setpagedevice_pagesize(SCM mode);
00249 SCM g_rc_bus_ripper_size(SCM size);
00250 SCM g_rc_bus_ripper_type(SCM mode);
00251 SCM g_rc_bus_ripper_rotation(SCM mode);
00252 SCM g_rc_force_boundingbox(SCM mode);
00253 SCM g_rc_dots_grid_dot_size(SCM dotsize);
00254 SCM g_rc_dots_grid_mode(SCM mode);
00255 SCM g_rc_dots_grid_fixed_threshold(SCM spacing);
00256 SCM g_rc_mesh_grid_display_threshold(SCM spacing);
00257 SCM g_rc_add_attribute_offset(SCM offset);
00258 SCM g_rc_auto_save_interval(SCM seconds);
00259 SCM g_rc_mousepan_gain(SCM mode);
00260 SCM g_rc_keyboardpan_gain(SCM mode);
00261 SCM g_rc_print_command(SCM mode);
00262 SCM g_rc_select_slack_pixels(SCM pixels);
00263 SCM g_rc_zoom_gain(SCM gain);
00264 SCM g_rc_scrollpan_steps(SCM steps);
00265 SCM g_rc_display_color_map (SCM scm_map);
00266 SCM g_rc_display_outline_color_map (SCM scm_map);
00267 /* g_register.c */
00268 void g_register_funcs(void);
00269 /* g_select.c */
00270 void g_init_select ();
00271 /* g_util.c */
00272 void g_init_util ();
00273 /* g_window.c */
00274 GSCHEM_TOPLEVEL *g_current_window ();
00275 void g_dynwind_window (GSCHEM_TOPLEVEL *w_current);
00276 void g_init_window ();
00277 /* globals.c */
00278 /* gschem.c */
00279 typedef void (*gschem_atexit_func)(gpointer data);
00280 void gschem_atexit(gschem_atexit_func func, gpointer data);
00281 void gschem_quit(void);
00282 void main_prog(void *closure, int argc, char *argv[]);
00283 int main(int argc, char *argv[]);
00284 /* gschem_cairo.c */
00285 void gschem_cairo_line(GSCHEM_TOPLEVEL *w_current, int line_end, int line_width, int x1, int y1, int x2, int y2);
00286 void gschem_cairo_box(GSCHEM_TOPLEVEL *w_current, int line_width, int x1, int y1, int x2, int y2);
00287 void gschem_cairo_center_box(GSCHEM_TOPLEVEL *w_current, int center_width, int line_width, int x1, int y1, int x2, int y2);
00288 void gschem_cairo_arc(GSCHEM_TOPLEVEL *w_current, int line_width, int x, int y, int radius, int start_angle, int end_angle);
00289 void gschem_cairo_center_arc(GSCHEM_TOPLEVEL *w_current, int center_width, int line_width, int x, int y, int radius, int start_angle, int end_angle);
00290 void gschem_cairo_stroke(GSCHEM_TOPLEVEL *w_current, int line_type, int line_end, int width, int length, int space);
00291 void gschem_cairo_set_source_color(GSCHEM_TOPLEVEL *w_current, COLOR *color);
00292 /* i_basic.c */
00293 void i_show_state(GSCHEM_TOPLEVEL *w_current, const char *message);
00294 void i_set_state(GSCHEM_TOPLEVEL *w_current, enum x_states newstate);
00295 void i_set_state_msg(GSCHEM_TOPLEVEL *w_current, enum x_states newstate, const char *message);
00296 void i_update_middle_button(GSCHEM_TOPLEVEL *w_current, void (*func_ptr)(), const char *string);
00297 void i_update_toolbar(GSCHEM_TOPLEVEL *w_current);
00298 void i_update_menus(GSCHEM_TOPLEVEL *w_current);
00299 void i_set_filename(GSCHEM_TOPLEVEL *w_current, const gchar *string);
00300 void i_update_grid_info(GSCHEM_TOPLEVEL *w_current);
00301 /* i_callbacks.c */
00302 void i_callback_file_new(gpointer data, guint callback_action, GtkWidget *widget);
00303 void i_callback_toolbar_file_new(GtkWidget *widget, gpointer data);
00304 void i_callback_file_new_window(gpointer data, guint callback_action, GtkWidget *widget);
00305 void i_callback_file_open(gpointer data, guint callback_action, GtkWidget *widget);
00306 void i_callback_toolbar_file_open(GtkWidget *widget, gpointer data);
00307 void i_callback_file_script(gpointer data, guint callback_action, GtkWidget *widget);
00308 void i_callback_file_save(gpointer data, guint callback_action, GtkWidget *widget);
00309 void i_callback_toolbar_file_save(GtkWidget *widget, gpointer data);
00310 void i_callback_file_save_all(gpointer data, guint callback_action, GtkWidget *widget);
00311 void i_callback_file_save_as(gpointer data, guint callback_action, GtkWidget *widget);
00312 void i_callback_file_print(gpointer data, guint callback_action, GtkWidget *widget);
00313 void i_callback_file_write_png(gpointer data, guint callback_action, GtkWidget *widget);
00314 void i_callback_file_close(gpointer data, guint callback_action, GtkWidget *widget);
00315 int i_callback_close(gpointer data, guint callback_action, GtkWidget *widget);
00316 void i_callback_file_quit(gpointer data, guint callback_action, GtkWidget *widget);
00317 void i_callback_edit_undo(gpointer data, guint callback_action, GtkWidget *widget);
00318 void i_callback_toolbar_edit_undo(GtkWidget *widget, gpointer data);
00319 void i_callback_edit_redo(gpointer data, guint callback_action, GtkWidget *widget);
00320 void i_callback_toolbar_edit_redo(GtkWidget *widget, gpointer data);
00321 void i_callback_edit_select(gpointer data, guint callback_action, GtkWidget *widget);
00322 void i_callback_toolbar_edit_select(GtkWidget *widget, gpointer data);
00323 void i_callback_edit_select_all(gpointer data, guint callback_action, GtkWidget *widget);
00324 void i_callback_edit_deselect(gpointer data, guint callback_action, GtkWidget *widget);
00325 void i_callback_edit_copy(gpointer data, guint callback_action, GtkWidget *widget);
00326 void i_callback_edit_copy_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00327 void i_callback_edit_mcopy(gpointer data, guint callback_action, GtkWidget *widget);
00328 void i_callback_edit_mcopy_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00329 void i_callback_edit_move(gpointer data, guint callback_action, GtkWidget *widget);
00330 void i_callback_edit_move_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00331 void i_callback_edit_delete(gpointer data, guint callback_action, GtkWidget *widget);
00332 void i_callback_edit_edit(gpointer data, guint callback_action, GtkWidget *widget);
00333 void i_callback_edit_pin_type(gpointer data, guint callback_action, GtkWidget *widget);
00334 void i_callback_edit_text(gpointer data, guint callback_action, GtkWidget *widget);
00335 void i_callback_edit_slot(gpointer data, guint callback_action, GtkWidget *widget);
00336 void i_callback_edit_color(gpointer data, guint callback_action, GtkWidget *widget);
00337 void i_callback_edit_rotate_90(gpointer data, guint callback_action, GtkWidget *widget);
00338 void i_callback_edit_rotate_90_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00339 void i_callback_edit_mirror(gpointer data, guint callback_action, GtkWidget *widget);
00340 void i_callback_edit_mirror_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00341 void i_callback_edit_lock(gpointer data, guint callback_action, GtkWidget *widget);
00342 void i_callback_edit_unlock(gpointer data, guint callback_action, GtkWidget *widget);
00343 void i_callback_edit_translate(gpointer data, guint callback_action, GtkWidget *widget);
00344 void i_callback_edit_invoke_macro(gpointer data, guint callback_action, GtkWidget *widget);
00345 void i_callback_edit_embed(gpointer data, guint callback_action, GtkWidget *widget);
00346 void i_callback_edit_unembed(gpointer data, guint callback_action, GtkWidget *widget);
00347 void i_callback_edit_update(gpointer data, guint callback_action, GtkWidget *widget);
00348 void i_callback_edit_show_hidden(gpointer data, guint callback_action, GtkWidget *widget);
00349 void i_callback_edit_find(gpointer data, guint callback_action, GtkWidget *widget);
00350 void i_callback_edit_hide_text(gpointer data, guint callback_action, GtkWidget *widget);
00351 void i_callback_edit_show_text(gpointer data, guint callback_action, GtkWidget *widget);
00352 void i_callback_edit_autonumber_text(gpointer data, guint callback_action, GtkWidget *widget);
00353 void i_callback_edit_linetype(gpointer data, guint callback_action, GtkWidget *widget);
00354 void i_callback_edit_filltype(gpointer data, guint callback_action, GtkWidget *widget);
00355 void i_callback_view_redraw(gpointer data, guint callback_action, GtkWidget *widget);
00356 void i_callback_view_zoom_full(gpointer data, guint callback_action, GtkWidget *widget);
00357 void i_callback_view_zoom_extents(gpointer data, guint callback_action, GtkWidget *widget);
00358 void i_callback_view_zoom_box(gpointer data, guint callback_action, GtkWidget *widget);
00359 void i_callback_view_zoom_box_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00360 void i_callback_view_zoom_in(gpointer data, guint callback_action, GtkWidget *widget);
00361 void i_callback_view_zoom_out(gpointer data, guint callback_action, GtkWidget *widget);
00362 void i_callback_view_zoom_in_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00363 void i_callback_view_zoom_out_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00364 void i_callback_view_pan(gpointer data, guint callback_action, GtkWidget *widget);
00365 void i_callback_view_pan_left(gpointer data, guint callback_action, GtkWidget *widget);
00366 void i_callback_view_pan_right(gpointer data, guint callback_action, GtkWidget *widget);
00367 void i_callback_view_pan_up(gpointer data, guint callback_action, GtkWidget *widget);
00368 void i_callback_view_pan_down(gpointer data, guint callback_action, GtkWidget *widget);
00369 void i_callback_view_pan_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00370 void i_callback_view_dark_colors(gpointer data, guint callback_action, GtkWidget *widget);
00371 void i_callback_view_light_colors(gpointer data, guint callback_action, GtkWidget *widget);
00372 void i_callback_view_bw_colors(gpointer data, guint callback_action, GtkWidget *widget);
00373 void i_callback_page_manager(gpointer data, guint callback_action, GtkWidget *widget);
00374 void i_callback_page_next(gpointer data, guint callback_action, GtkWidget *widget);
00375 void i_callback_page_prev(gpointer data, guint callback_action, GtkWidget *widget);
00376 void i_callback_page_new(gpointer data, guint callback_action, GtkWidget *widget);
00377 void i_callback_page_close(gpointer data, guint callback_action, GtkWidget *widget);
00378 void i_callback_page_revert(gpointer data, guint callback_action, GtkWidget *widget);
00379 void i_callback_page_discard(gpointer data, guint callback_action, GtkWidget *widget);
00380 void i_callback_page_print(gpointer data, guint callback_action, GtkWidget *widget);
00381 void i_callback_clipboard_copy(gpointer data, guint callback_action, GtkWidget *widget);
00382 void i_callback_clipboard_cut(gpointer data, guint callback_action, GtkWidget *widget);
00383 void i_callback_clipboard_paste(gpointer data, guint callback_action, GtkWidget *widget);
00384 void i_callback_clipboard_paste_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00385 void i_callback_buffer_copy1(gpointer data, guint callback_action, GtkWidget *widget);
00386 void i_callback_buffer_copy2(gpointer data, guint callback_action, GtkWidget *widget);
00387 void i_callback_buffer_copy3(gpointer data, guint callback_action, GtkWidget *widget);
00388 void i_callback_buffer_copy4(gpointer data, guint callback_action, GtkWidget *widget);
00389 void i_callback_buffer_copy5(gpointer data, guint callback_action, GtkWidget *widget);
00390 void i_callback_buffer_cut1(gpointer data, guint callback_action, GtkWidget *widget);
00391 void i_callback_buffer_cut2(gpointer data, guint callback_action, GtkWidget *widget);
00392 void i_callback_buffer_cut3(gpointer data, guint callback_action, GtkWidget *widget);
00393 void i_callback_buffer_cut4(gpointer data, guint callback_action, GtkWidget *widget);
00394 void i_callback_buffer_cut5(gpointer data, guint callback_action, GtkWidget *widget);
00395 void i_callback_buffer_paste1(gpointer data, guint callback_action, GtkWidget *widget);
00396 void i_callback_buffer_paste2(gpointer data, guint callback_action, GtkWidget *widget);
00397 void i_callback_buffer_paste3(gpointer data, guint callback_action, GtkWidget *widget);
00398 void i_callback_buffer_paste4(gpointer data, guint callback_action, GtkWidget *widget);
00399 void i_callback_buffer_paste5(gpointer data, guint callback_action, GtkWidget *widget);
00400 void i_callback_buffer_paste1_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00401 void i_callback_buffer_paste2_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00402 void i_callback_buffer_paste3_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00403 void i_callback_buffer_paste4_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00404 void i_callback_buffer_paste5_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00405 void i_callback_add_component(gpointer data, guint callback_action, GtkWidget *widget);
00406 void i_callback_toolbar_add_component(GtkWidget *widget, gpointer data);
00407 void i_callback_add_attribute(gpointer data, guint callback_action, GtkWidget *widget);
00408 void i_callback_add_attribute_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00409 void i_callback_add_net(gpointer data, guint callback_action, GtkWidget *widget);
00410 void i_callback_add_net_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00411 void i_callback_toolbar_add_net(GtkWidget *widget, gpointer data);
00412 void i_callback_add_bus(gpointer data, guint callback_action, GtkWidget *widget);
00413 void i_callback_add_bus_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00414 void i_callback_toolbar_add_bus(GtkWidget *widget, gpointer data);
00415 void i_callback_add_text(gpointer data, guint callback_action, GtkWidget *widget);
00416 void i_callback_toolbar_add_text(GtkWidget *widget, gpointer data);
00417 void i_callback_add_line(gpointer data, guint callback_action, GtkWidget *widget);
00418 void i_callback_add_line_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00419 void i_callback_add_box(gpointer data, guint callback_action, GtkWidget *widget);
00420 void i_callback_add_box_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00421 void i_callback_add_picture(gpointer data, guint callback_action, GtkWidget *widget);
00422 void i_callback_add_picture_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00423 void i_callback_add_circle(gpointer data, guint callback_action, GtkWidget *widget);
00424 void i_callback_add_circle_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00425 void i_callback_add_arc(gpointer data, guint callback_action, GtkWidget *widget);
00426 void i_callback_add_arc_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00427 void i_callback_add_pin(gpointer data, guint callback_action, GtkWidget *widget);
00428 void i_callback_add_pin_hotkey(gpointer data, guint callback_action, GtkWidget *widget);
00429 void i_callback_hierarchy_down_schematic(gpointer data, guint callback_action, GtkWidget *widget);
00430 void i_callback_hierarchy_down_symbol(gpointer data, guint callback_action, GtkWidget *widget);
00431 void i_callback_hierarchy_up(gpointer data, guint callback_action, GtkWidget *widget);
00432 void i_callback_attributes_attach(gpointer data, guint callback_action, GtkWidget *widget);
00433 void i_callback_attributes_detach(gpointer data, guint callback_action, GtkWidget *widget);
00434 void i_callback_attributes_show_name(gpointer data, guint callback_action, GtkWidget *widget);
00435 void i_callback_attributes_show_value(gpointer data, guint callback_action, GtkWidget *widget);
00436 void i_callback_attributes_show_both(gpointer data, guint callback_action, GtkWidget *widget);
00437 void i_callback_attributes_visibility_toggle(gpointer data, guint callback_action, GtkWidget *widget);
00438 void i_callback_script_console(gpointer data, guint callback_action, GtkWidget *widget);
00439 void i_callback_options_text_size(gpointer data, guint callback_action, GtkWidget *widget);
00440 void i_callback_options_snap_size(gpointer data, guint callback_action, GtkWidget *widget);
00441 void i_callback_options_scale_up_snap_size(gpointer data, guint callback_action, GtkWidget *widget);
00442 void i_callback_options_scale_down_snap_size(gpointer data, guint callback_action, GtkWidget *widget);
00443 void i_callback_options_afeedback(gpointer data, guint callback_action, GtkWidget *widget);
00444 void i_callback_options_grid(gpointer data, guint callback_action, GtkWidget *widget);
00445 void i_callback_options_snap(gpointer data, guint callback_action, GtkWidget *widget);
00446 void i_callback_options_rubberband(gpointer data, guint callback_action, GtkWidget *widget);
00447 void i_callback_options_magneticnet(gpointer data, guint callback_action, GtkWidget *widget);
00448 void i_callback_options_show_log_window(gpointer data, guint callback_action, GtkWidget *widget);
00449 void i_callback_misc(gpointer data, guint callback_action, GtkWidget *widget);
00450 void i_callback_misc2(gpointer data, guint callback_action, GtkWidget *widget);
00451 void i_callback_misc3(gpointer data, guint callback_action, GtkWidget *widget);
00452 void i_callback_cancel(gpointer data, guint callback_action, GtkWidget *widget);
00453 void i_callback_help_about(gpointer data, guint callback_action, GtkWidget *widget);
00454 void i_callback_help_hotkeys(gpointer data, guint callback_action, GtkWidget *widget);
00455 void i_callback_options_show_coord_window(gpointer data, guint callback_action, GtkWidget *widget);
00456 gboolean i_callback_close_wm(GtkWidget *widget, GdkEvent *event, gpointer data);
00457 /* i_vars.c */
00458 void i_vars_set(GSCHEM_TOPLEVEL *w_current);
00459 void i_vars_freenames();
00460  /* m_basic.c */
00461 int mil_x(GSCHEM_TOPLEVEL *w_current, int val);
00462 int mil_y(GSCHEM_TOPLEVEL *w_current, int val);
00463 int pix_x(GSCHEM_TOPLEVEL *w_current, int val);
00464 int pix_y(GSCHEM_TOPLEVEL *w_current, int val);
00465 void WORLDtoSCREEN(GSCHEM_TOPLEVEL *w_current, int x, int y, int *px, int *py);
00466 void SCREENtoWORLD(GSCHEM_TOPLEVEL *w_current, int mx, int my, int *x, int *y);
00467 int snap_grid(GSCHEM_TOPLEVEL *w_current, int input);
00468 int SCREENabs(GSCHEM_TOPLEVEL *w_current, int val);
00469 int WORLDabs(GSCHEM_TOPLEVEL *w_current, int val);
00470 int WORLDclip_change(GSCHEM_TOPLEVEL *w_current, int *x1, int *y1, int *x2, int *y2);
00471 int clip_nochange(GSCHEM_TOPLEVEL *w_current, int x1, int y1, int x2, int y2);
00472 int visible(GSCHEM_TOPLEVEL *w_current, int wleft, int wtop, int wright, int wbottom);
00473 double round_5_2_1(double unrounded);
00474 /* o_arc.c */
00475 void o_arc_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00476 void o_arc_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00477 void o_arc_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00478 void o_arc_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00479 void o_arc_end1(GSCHEM_TOPLEVEL *w_current, int x, int y);
00480 void o_arc_end4(GSCHEM_TOPLEVEL *w_current, int radius, int start_angle, int end_angle);
00481 void o_arc_motion(GSCHEM_TOPLEVEL *w_current, int x, int y, int whichone);
00482 void o_arc_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00483 void o_arc_draw_grips(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00484 /* o_attrib.c */
00485 void o_attrib_add_selected(GSCHEM_TOPLEVEL *w_current, SELECTION *selection, OBJECT *selected);
00486 void o_attrib_deselect_invisible(GSCHEM_TOPLEVEL *w_current, SELECTION *selection, OBJECT *selected);
00487 void o_attrib_select_invisible(GSCHEM_TOPLEVEL *w_current, SELECTION *selection, OBJECT *selected);
00488 void o_attrib_toggle_visibility(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00489 void o_attrib_toggle_show_name_value(GSCHEM_TOPLEVEL *w_current, OBJECT *object, int new_show_name_value);
00490 OBJECT *o_attrib_add_attrib(GSCHEM_TOPLEVEL *w_current, const char *text_string, int visibility, int show_name_value, OBJECT *object);
00491 /* o_basic.c */
00492 void o_redraw_rects(GSCHEM_TOPLEVEL *w_current, GdkRectangle *rectangles, int n_rectangles);
00493 void o_redraw(GSCHEM_TOPLEVEL *w_current, GList *object_list, gboolean draw_selected);
00494 void o_redraw_single(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00495 int o_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00496 int o_redraw_cleanstates(GSCHEM_TOPLEVEL *w_current);
00497 void o_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *object);
00498 void o_glist_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, GList *list);
00499 void o_invalidate_rect(GSCHEM_TOPLEVEL *w_current, int x1, int y1, int x2, int y2);
00500 void o_invalidate_all(GSCHEM_TOPLEVEL *w_current);
00501 void o_invalidate(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00502 void o_invalidate_glist(GSCHEM_TOPLEVEL *w_current, GList *list);
00503 COLOR *o_drawing_color(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00504 /* o_box.c */
00505 void o_box_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00506 void o_box_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00507 void o_box_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00508 void o_box_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00509 void o_box_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00510 void o_box_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00511 void o_box_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00512 void o_box_draw_grips(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00513 /* o_buffer.c */
00514 void o_buffer_copy(GSCHEM_TOPLEVEL *w_current, int buf_num);
00515 void o_buffer_cut(GSCHEM_TOPLEVEL *w_current, int buf_num);
00516 void o_buffer_paste_start(GSCHEM_TOPLEVEL *w_current, int x, int y, int buf_num);
00517 void o_buffer_init(void);
00518 void o_buffer_free(GSCHEM_TOPLEVEL *w_current);
00519 /* o_bus.c */
00520 void o_bus_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00521 void o_bus_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00522 void o_bus_draw_stretch(GSCHEM_TOPLEVEL *w_current, int dx, int dy, int whichone, OBJECT *o_current);
00523 void o_bus_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00524 int o_bus_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00525 void o_bus_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00526 void o_bus_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00527 void o_bus_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00528 /* o_circle.c */
00529 void o_circle_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00530 void o_circle_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00531 void o_circle_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00532 void o_circle_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00533 void o_circle_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00534 void o_circle_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00535 void o_circle_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00536 void o_circle_draw_grips(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00537 /* o_complex.c */
00538 void o_complex_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00539 void o_complex_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *complex);
00540 void o_complex_prepare_place(GSCHEM_TOPLEVEL *w_current, const CLibSymbol *sym);
00541 void o_complex_place_changed_run_hook(GSCHEM_TOPLEVEL *w_current);
00542 void o_complex_translate_all(GSCHEM_TOPLEVEL *w_current, int offset);
00543 /* o_copy.c */
00544 void o_copy_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00545 void o_copy_end(GSCHEM_TOPLEVEL *w_current);
00546 void o_copy_multiple_end(GSCHEM_TOPLEVEL *w_current);
00547 /* o_cue.c */
00548 void o_cue_redraw_all(GSCHEM_TOPLEVEL *w_current, GList *list, gboolean draw_selected);
00549 void o_cue_draw_lowlevel(GSCHEM_TOPLEVEL *w_current, OBJECT *object, int whichone);
00550 void o_cue_draw_lowlevel_midpoints(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00551 void o_cue_draw_single(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00552 void o_cue_draw_list(GSCHEM_TOPLEVEL *w_current, GList *object_list);
00553 /* o_delete.c */
00554 void o_delete(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00555 void o_delete_selected(GSCHEM_TOPLEVEL *w_current);
00556 /* o_find.c */
00557 gboolean o_find_object(GSCHEM_TOPLEVEL *w_current, int x, int y,
00558                gboolean deselect_afterwards);
00559 gboolean o_find_selected_object(GSCHEM_TOPLEVEL *w_current, int x, int y);
00560 /* o_grips.c */
00561 OBJECT *o_grips_search_world(GSCHEM_TOPLEVEL *w_current, int x, int y, int *whichone);
00562 OBJECT *o_grips_search_arc_world(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
00563 OBJECT *o_grips_search_box_world(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
00564 OBJECT *o_grips_search_path_world(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
00565 OBJECT *o_grips_search_picture_world(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
00566 OBJECT *o_grips_search_circle_world(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
00567 OBJECT *o_grips_search_line_world(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone);
00568 int o_grips_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00569 void o_grips_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00570 void o_grips_end(GSCHEM_TOPLEVEL *w_current);
00571 void o_grips_cancel(GSCHEM_TOPLEVEL *w_current);
00572 int o_grips_size(GSCHEM_TOPLEVEL *w_current);
00573 void o_grips_draw(GSCHEM_TOPLEVEL *w_current, int x, int y);
00574 void o_grips_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00575 /* o_line.c */
00576 void o_line_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00577 void o_line_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00578 void o_line_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00579 void o_line_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00580 void o_line_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00581 void o_line_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00582 void o_line_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00583 void o_line_draw_grips(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00584 int o_line_visible(GSCHEM_TOPLEVEL *w_current, LINE *line, int *x1, int *y1, int *x2, int *y2);
00585 /* o_misc.c */
00586 void o_edit(GSCHEM_TOPLEVEL *w_current, GList *list);
00587 void o_lock(GSCHEM_TOPLEVEL *w_current);
00588 void o_unlock(GSCHEM_TOPLEVEL *w_current);
00589 void o_rotate_world_update(GSCHEM_TOPLEVEL *w_current, int centerx, int centery, int angle, GList *list);
00590 void o_mirror_world_update(GSCHEM_TOPLEVEL *w_current, int centerx, int centery, GList *list);
00591 void o_edit_show_hidden_lowlevel(GSCHEM_TOPLEVEL *w_current, const GList *o_list);
00592 void o_edit_show_hidden(GSCHEM_TOPLEVEL *w_current, const GList *o_list);
00593 int o_edit_find_text(GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext, int descend, int skip);
00594 void o_edit_hide_specific_text(GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext);
00595 void o_edit_show_specific_text(GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext);
00596 OBJECT *o_update_component(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00597 void o_autosave_backups(GSCHEM_TOPLEVEL *w_current);
00598 /* o_move.c */
00599 void o_move_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00600 void o_move_end_lowlevel(GSCHEM_TOPLEVEL *w_current, OBJECT *object, int diff_x, int diff_y);
00601 void o_move_end(GSCHEM_TOPLEVEL *w_current);
00602 void o_move_cancel(GSCHEM_TOPLEVEL *w_current);
00603 void o_move_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00604 void o_move_invalidate_rubber(GSCHEM_TOPLEVEL *w_current, int drawing);
00605 void o_move_draw_rubber(GSCHEM_TOPLEVEL *w_current, int drawing);
00606 int o_move_return_whichone(OBJECT *object, int x, int y);
00607 void o_move_check_endpoint(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00608 void o_move_prep_rubberband(GSCHEM_TOPLEVEL *w_current);
00609 int o_move_zero_length(OBJECT *object);
00610 void o_move_end_rubberband(GSCHEM_TOPLEVEL *w_current, int world_diff_x, int world_diff_y, GList **objects);
00611 /* o_net.c */
00612 void o_net_reset(GSCHEM_TOPLEVEL *w_current); 
00613 void o_net_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00614 void o_net_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00615 void o_net_draw_stretch(GSCHEM_TOPLEVEL *w_current, int dx, int dy, int whichone, OBJECT *o_current);
00616 void o_net_guess_direction(GSCHEM_TOPLEVEL *w_current, int x, int y);
00617 void o_net_find_magnetic(GSCHEM_TOPLEVEL *w_current, int event_x, int event_y);
00618 void o_net_finishmagnetic(GSCHEM_TOPLEVEL *w_current);
00619 void o_net_start_magnetic(GSCHEM_TOPLEVEL *w_current, int x, int y);
00620 void o_net_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00621 int o_net_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00622 void o_net_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00623 void o_net_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00624 void o_net_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00625 int o_net_add_busrippers(GSCHEM_TOPLEVEL *w_current, OBJECT *net_obj, GList *other_objects);
00626 /* o_picture.c */
00627 void o_picture_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00628 void o_picture_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00629 void o_picture_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00630 void picture_selection_dialog (GSCHEM_TOPLEVEL *w_current);
00631 void o_picture_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00632 void o_picture_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00633 void o_picture_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00634 void o_picture_draw_grips(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00635 void o_picture_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00636 gboolean o_picture_exchange(GSCHEM_TOPLEVEL *w_current, const gchar *filename, GError **error);
00637 void picture_change_filename_dialog (GSCHEM_TOPLEVEL *w_current);
00638 void o_picture_set_pixbuf(GSCHEM_TOPLEVEL *w_current, GdkPixbuf *pixbuf, char *filename);
00639 
00640 /* o_path.c */
00641 void o_path_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00642 void o_path_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00643 void o_path_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00644 void o_path_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00645 void o_path_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00646 void o_path_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00647 void o_path_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00648 void o_path_draw_grips(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00649 
00650 /* o_pin.c */
00651 void o_pin_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00652 void o_pin_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00653 void o_pin_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00654 void o_pin_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00655 void o_pin_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00656 void o_pin_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00657 void o_pin_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00658 /* o_place.c */
00659 void o_place_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00660 void o_place_end(GSCHEM_TOPLEVEL *w_current, int x, int y, int continue_placing, GList **ret_new_objects, const char *hook_name);
00661 void o_place_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00662 void o_place_invalidate_rubber(GSCHEM_TOPLEVEL *w_current, int drawing);
00663 void o_place_draw_rubber(GSCHEM_TOPLEVEL *w_current, int drawing);
00664 void o_place_rotate(GSCHEM_TOPLEVEL *w_current);
00665 /* o_select.c */
00666 void o_select_run_hooks(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int flag);
00667 void o_select_object(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int type, int count);
00668 int o_select_box_start(GSCHEM_TOPLEVEL *w_current, int x, int y);
00669 void o_select_box_end(GSCHEM_TOPLEVEL *w_current, int x, int y);
00670 void o_select_box_motion(GSCHEM_TOPLEVEL *w_current, int x, int y);
00671 void o_select_box_invalidate_rubber(GSCHEM_TOPLEVEL *w_current);
00672 void o_select_box_draw_rubber(GSCHEM_TOPLEVEL *w_current);
00673 void o_select_box_search(GSCHEM_TOPLEVEL *w_current);
00674 void o_select_connected_nets(GSCHEM_TOPLEVEL *w_current, OBJECT* o_current);
00675 OBJECT *o_select_return_first_object(GSCHEM_TOPLEVEL *w_current);
00676 int o_select_selected(GSCHEM_TOPLEVEL *w_current);
00677 void o_select_unselect_all(GSCHEM_TOPLEVEL *w_current);
00678 void o_select_visible_unlocked(GSCHEM_TOPLEVEL *w_current);
00679 void o_select_move_to_place_list(GSCHEM_TOPLEVEL *w_current);
00680 /* o_slot.c */
00681 void o_slot_start(GSCHEM_TOPLEVEL *w_current, OBJECT *object);
00682 void o_slot_end(GSCHEM_TOPLEVEL *w_current, OBJECT *object, const char *string);
00683 /* o_text.c */
00684 int o_text_get_rendered_bounds(void *user_data, OBJECT *object, int *min_x, int *min_y, int *max_x, int *max_y);
00685 void o_text_draw(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00686 void o_text_draw_place(GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current);
00687 void o_text_prepare_place(GSCHEM_TOPLEVEL *w_current, char *text);
00688 void o_text_edit(GSCHEM_TOPLEVEL *w_current, OBJECT *o_current);
00689 void o_text_edit_end(GSCHEM_TOPLEVEL *w_current, char *string, int len, int text_size, int text_alignment);
00690 void o_text_change(GSCHEM_TOPLEVEL *w_current, OBJECT *object, char *string, int visibility, int show);
00691 /* o_undo.c */
00692 void o_undo_init(void);
00693 void o_undo_savestate(GSCHEM_TOPLEVEL *w_current, int flag);
00694 char *o_undo_find_prev_filename(UNDO *start);
00695 GList *o_undo_find_prev_object_head(UNDO *start);
00696 void o_undo_callback(GSCHEM_TOPLEVEL *w_current, int type);
00697 void o_undo_cleanup(void);
00698 void o_undo_remove_last_undo(GSCHEM_TOPLEVEL *w_current);
00699 /* parsecmd.c */
00700 int parse_commandline(int argc, char *argv[]);
00701 /* s_stretch.c */
00702 GList *s_stretch_add(GList *list, OBJECT *object, int whichone);
00703 GList *s_stretch_remove(GList *list, OBJECT *object);
00704 void s_stretch_print_all(GList *list);
00705 void s_stretch_destroy_all(GList *list);
00706 /* x_attribedit.c */
00707 gint option_menu_get_history(GtkOptionMenu *option_menu);
00708 void attrib_edit_dialog_ok(GtkWidget *w, GSCHEM_TOPLEVEL *w_current);
00709 void attrib_edit_dialog(GSCHEM_TOPLEVEL *w_current, OBJECT *attr_obj, int flag);
00710 /* x_autonumber.c */
00711 void autonumber_text_dialog(GSCHEM_TOPLEVEL *w_current);
00712 /* x_basic.c */
00713 void x_repaint_background_region(GSCHEM_TOPLEVEL *w_current, int x, int y, int width, int height);
00714 void x_hscrollbar_set_ranges(GSCHEM_TOPLEVEL *w_current);
00715 void x_hscrollbar_update(GSCHEM_TOPLEVEL *w_current);
00716 void x_vscrollbar_set_ranges(GSCHEM_TOPLEVEL *w_current);
00717 void x_vscrollbar_update(GSCHEM_TOPLEVEL *w_current);
00718 void x_scrollbars_update(GSCHEM_TOPLEVEL *w_current);
00719 void x_basic_warp_cursor(GtkWidget *widget, gint x, gint y);
00720 /* x_clipboard.c */
00721 void x_clipboard_init (GSCHEM_TOPLEVEL *w_current);
00722 void x_clipboard_finish (GSCHEM_TOPLEVEL *w_current);
00723 void x_clipboard_query_usable (GSCHEM_TOPLEVEL *w_current, void (*callback) (int, void *), void *userdata);
00724 gboolean x_clipboard_set (GSCHEM_TOPLEVEL *w_current, const GList *object_list);
00725 GList *x_clipboard_get (GSCHEM_TOPLEVEL *w_current);
00726 /* x_color.c */
00727 void x_color_init (void);
00728 void x_color_free (void);
00729 void x_color_allocate (void);
00730 GdkColor *x_get_color(int color);
00731 GdkColor *x_get_darkcolor(int color);
00732 COLOR *x_color_lookup(int color);
00733 COLOR *x_color_lookup_dark(int color);
00734 gchar *x_color_get_name(int index);
00735 gboolean x_color_display_enabled (int index);
00736 /* x_dialog.c */
00737 int text_view_calculate_real_tab_width(GtkTextView *textview, int tab_size);
00738 void select_all_text_in_textview(GtkTextView *textview);
00739 void destroy_window(GtkWidget *widget, GtkWidget **window);
00740 void text_input_dialog_apply(GtkWidget *w, GSCHEM_TOPLEVEL *w_current);
00741 void text_input_dialog(GSCHEM_TOPLEVEL *w_current);
00742 gint change_alignment(GtkComboBox *w, GSCHEM_TOPLEVEL *w_current);
00743 void text_edit_dialog_ok(GtkWidget *w, GSCHEM_TOPLEVEL *w_current);
00744 void text_edit_dialog(GSCHEM_TOPLEVEL *w_current, const char *string, int text_size, int text_alignment);
00745 void line_type_dialog(GSCHEM_TOPLEVEL *w_current);
00746 void fill_type_dialog(GSCHEM_TOPLEVEL *w_current);
00747 void arc_angle_dialog(GSCHEM_TOPLEVEL *w_current, OBJECT *arc_object);
00748 void translate_dialog(GSCHEM_TOPLEVEL *w_current);
00749 void text_size_dialog(GSCHEM_TOPLEVEL *w_current);
00750 void snap_size_dialog(GSCHEM_TOPLEVEL *w_current);
00751 void slot_edit_dialog(GSCHEM_TOPLEVEL *w_current, const char *string);
00752 void about_dialog(GSCHEM_TOPLEVEL *w_current);
00753 void coord_display_update(GSCHEM_TOPLEVEL *w_current, int x, int y);
00754 void coord_dialog(GSCHEM_TOPLEVEL *w_current, int x, int y);
00755 gint color_set(GtkWidget *w, gpointer data);
00756 char *index2functionstring(int index);
00757 void color_edit_dialog_apply(GtkWidget *w, GSCHEM_TOPLEVEL *w_current);
00758 void color_edit_dialog(GSCHEM_TOPLEVEL *w_current);
00759 void x_dialog_hotkeys(GSCHEM_TOPLEVEL *w_current);
00760 void x_dialog_raise_all(GSCHEM_TOPLEVEL *w_current);
00761 
00762 void generic_msg_dialog(const char *);
00763 int generic_confirm_dialog(const char *);
00764 char * generic_filesel_dialog(const char *, const char *, gint);
00765 
00766 void find_text_dialog(GSCHEM_TOPLEVEL *w_current);
00767 void hide_text_dialog(GSCHEM_TOPLEVEL *w_current);
00768 void show_text_dialog(GSCHEM_TOPLEVEL *w_current);
00769 void major_changed_dialog(GSCHEM_TOPLEVEL* w_current);
00770 void x_dialog_close_changed_page (GSCHEM_TOPLEVEL *w_current, PAGE *page);
00771 gboolean x_dialog_close_window (GSCHEM_TOPLEVEL *w_current);
00772 int x_dialog_validate_attribute(GtkWindow* parent, char *attribute);
00773 void x_dialog_edit_pin_type(GSCHEM_TOPLEVEL *w_current, const GList *obj_list);
00774 /* x_event.c */
00775 gint x_event_expose(GtkWidget *widget, GdkEventExpose *event, GSCHEM_TOPLEVEL *w_current);
00776 gint x_event_button_pressed(GtkWidget *widget, GdkEventButton *event, GSCHEM_TOPLEVEL *w_current);
00777 gint x_event_button_released(GtkWidget *widget, GdkEventButton *event, GSCHEM_TOPLEVEL *w_current);
00778 gint x_event_motion(GtkWidget *widget, GdkEventMotion *event, GSCHEM_TOPLEVEL *w_current);
00779 gboolean x_event_configure (GtkWidget *widget, GdkEventConfigure *event, gpointer user_data);
00780 void x_manual_resize(GSCHEM_TOPLEVEL *w_current);
00781 void x_event_hschanged(GtkAdjustment *adj, GSCHEM_TOPLEVEL *w_current);
00782 void x_event_vschanged(GtkAdjustment *adj, GSCHEM_TOPLEVEL *w_current);
00783 gint x_event_enter(GtkWidget *widget, GdkEventCrossing *event, GSCHEM_TOPLEVEL *w_current);
00784 gboolean x_event_key(GtkWidget *widget, GdkEventKey *event, GSCHEM_TOPLEVEL *w_current);
00785 gint x_event_scroll(GtkWidget *widget, GdkEventScroll *event, GSCHEM_TOPLEVEL *w_current);
00786 gboolean x_event_get_pointer_position (GSCHEM_TOPLEVEL *w_current, gboolean snapped, gint *wx, gint *wy);
00787 /* x_compselect.c */
00788 void x_compselect_open (GSCHEM_TOPLEVEL *w_current);
00789 void x_compselect_close (GSCHEM_TOPLEVEL *w_current);
00790 void x_compselect_deselect (GSCHEM_TOPLEVEL *w_current);
00791 /* x_fileselect.c */
00792 void x_fileselect_open(GSCHEM_TOPLEVEL *w_current);
00793 void x_fileselect_save(GSCHEM_TOPLEVEL *w_current);
00794 int x_fileselect_load_backup(void *user_data, GString *message);
00795 /* x_grid.c */
00796 void x_grid_draw_region(GSCHEM_TOPLEVEL *w_current, int x, int y, int width, int height);
00797 int x_grid_query_drawn_spacing(GSCHEM_TOPLEVEL *w_current);
00798 void x_draw_tiles(GSCHEM_TOPLEVEL *w_current);
00799 /* x_image.c */
00800 void x_image_lowlevel(GSCHEM_TOPLEVEL *w_current, const char* filename,
00801               int desired_width, int desired_height, char *filetype);
00802 void x_image_setup(GSCHEM_TOPLEVEL *w_current);
00803 GdkPixbuf *x_image_get_pixbuf (GSCHEM_TOPLEVEL *w_current);
00804 /* x_log.c */
00805 void x_log_open ();
00806 void x_log_close ();
00807 void x_log_message (const gchar *log_domain,
00808                     GLogLevelFlags log_level,
00809                     const gchar *message);
00810 /* x_misc.c */
00811 gboolean x_show_uri (GSCHEM_TOPLEVEL *w_current, const gchar *buf, GError **err);
00812 /* x_menus.c */
00813 GtkWidget *get_main_menu(GSCHEM_TOPLEVEL *w_current);
00814 GtkWidget *get_main_popup(GSCHEM_TOPLEVEL *w_current);
00815 gint do_popup(GSCHEM_TOPLEVEL *w_current, GdkEventButton *event);
00816 void x_menus_sensitivity(GSCHEM_TOPLEVEL *w_current, const char *buf, int flag);
00817 void x_menus_popup_sensitivity(GSCHEM_TOPLEVEL *w_current, const char *buf, int flag);
00818 void x_menu_attach_recent_files_submenu(GSCHEM_TOPLEVEL *w_current);
00819 /* x_multiattrib.c */
00820 void x_multiattrib_open (GSCHEM_TOPLEVEL *w_current);
00821 void x_multiattrib_close (GSCHEM_TOPLEVEL *w_current);
00822 void x_multiattrib_update (GSCHEM_TOPLEVEL *w_current);
00823 /* x_multimulti.c */
00824 /* x_pagesel.c */
00825 void x_pagesel_open (GSCHEM_TOPLEVEL *w_current);
00826 void x_pagesel_close (GSCHEM_TOPLEVEL *w_current);
00827 void x_pagesel_update (GSCHEM_TOPLEVEL *w_current);
00828 /* x_preview.c */
00829 /* x_print.c */
00830 void x_print_setup(GSCHEM_TOPLEVEL *w_current, char *filename);
00831 /* x_rc.c */
00832 void x_rc_parse_gschem (GSCHEM_TOPLEVEL *w_current, const gchar *rcfile);
00833 /* x_script.c */
00834 void setup_script_selector(GSCHEM_TOPLEVEL *w_current);
00835 /* x_stroke.c */
00836 void x_stroke_init (void);
00837 void x_stroke_free (void);
00838 void x_stroke_record (GSCHEM_TOPLEVEL *w_current, gint x, gint y);
00839 gint x_stroke_translate_and_execute (GSCHEM_TOPLEVEL *w_current);
00840 /* x_window.c */
00841 void x_window_setup (GSCHEM_TOPLEVEL *w_current);
00842 void x_window_setup_gc(GSCHEM_TOPLEVEL *w_current);
00843 void x_window_free_gc(GSCHEM_TOPLEVEL *w_current);
00844 void x_window_create_drawing(GtkWidget *drawbox, GSCHEM_TOPLEVEL *w_current);
00845 void x_window_setup_draw_events(GSCHEM_TOPLEVEL *w_current);
00846 void x_window_create_main(GSCHEM_TOPLEVEL *w_current);
00847 void x_window_close(GSCHEM_TOPLEVEL *w_current);
00848 void x_window_close_all(GSCHEM_TOPLEVEL *w_current);
00849 PAGE *x_window_open_page (GSCHEM_TOPLEVEL *w_current, const gchar *filename);
00850 void x_window_set_current_page (GSCHEM_TOPLEVEL *w_current, PAGE *page);
00851 gint x_window_save_page (GSCHEM_TOPLEVEL *w_current, PAGE *page, const gchar *filename);
00852 void x_window_close_page (GSCHEM_TOPLEVEL *w_current, PAGE *page);
00853 void x_window_set_default_icon (void);
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines