[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: prototype.h
User: cnieves
Date: 06/10/21 18:20:42
Modified: . Tag: glist_dev prototype.h
Log:
Convert the SELECTION list into a GList. Added new functions
o_recalc_object_glist and get_object_glist_bounds to handle glists.
Revision Changes Path
No revision
No revision
1.148.2.1 +19 -11 eda/geda/gaf/gschem/include/prototype.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: prototype.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/include/prototype.h,v
retrieving revision 1.148
retrieving revision 1.148.2.1
diff -u -b -r1.148 -r1.148.2.1
--- prototype.h 21 Oct 2006 13:56:23 -0000 1.148
+++ prototype.h 21 Oct 2006 22:20:42 -0000 1.148.2.1
@@ -1,4 +1,4 @@
-/* $Id: prototype.h,v 1.148 2006/10/21 13:56:23 cnieves Exp $ */
+/* $Id: prototype.h,v 1.148.2.1 2006/10/21 22:20:42 cnieves Exp $ */
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy,
@@ -469,9 +469,9 @@
void o_arc_draw_grips(TOPLEVEL *w_current, OBJECT *o_current);
void o_arc_erase_grips(TOPLEVEL *w_current, OBJECT *o_current);
/* o_attrib.c */
-void o_attrib_add_selected(TOPLEVEL *w_current, SELECTION *selection_list, OBJECT *selected);
-void o_attrib_toggle_visibility(TOPLEVEL *w_current, SELECTION *list);
-void o_attrib_toggle_show_name_value(TOPLEVEL *w_current, SELECTION *list, int new_show_name_value);
+void o_attrib_add_selected(TOPLEVEL *w_current, GList **selection_list, OBJECT *selected);
+void o_attrib_toggle_visibility(TOPLEVEL *w_current, GList *list);
+void o_attrib_toggle_show_name_value(TOPLEVEL *w_current, GList *list, int new_show_name_value);
void o_attrib_start(TOPLEVEL *w_current, int screen_x, int screen_y);
void o_attrib_end(TOPLEVEL *w_current);
void o_attrib_rubberattrib(TOPLEVEL *w_current);
@@ -485,8 +485,9 @@
void o_draw_selected(TOPLEVEL *w_current);
void o_erase_selected(TOPLEVEL *w_current);
void o_erase_single(TOPLEVEL *w_current, OBJECT *object);
-void o_drawbounding(TOPLEVEL *w_current, OBJECT *o_list, SELECTION *s_list, GdkColor *color, int firsttime);
-void o_erasebounding(TOPLEVEL *w_current, OBJECT *o_list, SELECTION *s_list);
+void o_drawbounding(TOPLEVEL *w_current, OBJECT *o_list,
+ GList *o_glist, GdkColor *color, int firsttime);
+void o_erasebounding(TOPLEVEL *w_current, OBJECT *o_list, GList *s_list);
int o_erase_rubber(TOPLEVEL *w_current);
int o_redraw_cleanstates(TOPLEVEL *w_current);
/* o_box.c */
@@ -550,11 +551,17 @@
void o_complex_place_rotate(TOPLEVEL *w_current);
void o_complex_end(TOPLEVEL *w_current, int screen_x, int screen_y);
void o_complex_rubbercomplex(TOPLEVEL *w_current);
+void o_complex_translate_display_single_object(TOPLEVEL *w_current,
+ int x1, int y1,
+ OBJECT *o_current);
+void o_complex_translate_display_object_glist(TOPLEVEL *w_current,
+ int x1, int y1,
+ GList *object_list);
void o_complex_translate_display(TOPLEVEL *w_current, int x1, int y1, OBJECT *complex);
-void o_complex_translate_display_selection(TOPLEVEL *w_current, int x1, int y1, SELECTION *head);
+void o_complex_translate_display_selection(TOPLEVEL *w_current, int x1, int y1, GList *head);
void o_complex_translate2(TOPLEVEL *w_current, int dx, int dy, OBJECT *object);
void o_complex_translate_all(TOPLEVEL *w_current, int offset);
-void o_complex_translate_selection(TOPLEVEL *w_current, int dx, int dy, SELECTION *head);
+void o_complex_translate_selection(TOPLEVEL *w_current, int dx, int dy, GList *head);
void o_complex_rotate(TOPLEVEL *w_current, int centerx, int centery, int angle, int angle_change, OBJECT *object);
int o_complex_mirror(TOPLEVEL *w_current, int centerx, int centery, OBJECT *object);
OBJECT *o_complex_mirror2(TOPLEVEL *w_current, OBJECT *list, int centerx, int centery, OBJECT *object);
@@ -628,14 +635,14 @@
void o_line_draw_grips(TOPLEVEL *w_current, OBJECT *o_current);
void o_line_erase_grips(TOPLEVEL *w_current, OBJECT *o_current);
/* o_misc.c */
-void o_edit(TOPLEVEL *w_current, SELECTION *list);
+void o_edit(TOPLEVEL *w_current, GList *list);
void o_lock(TOPLEVEL *w_current);
void o_unlock(TOPLEVEL *w_current);
-void o_rotate_90(TOPLEVEL *w_current, SELECTION *list,
+void o_rotate_90(TOPLEVEL *w_current, GList *list,
int centerx, int centery);
void o_embed(TOPLEVEL *w_current, OBJECT *o_current);
void o_unembed(TOPLEVEL *w_current, OBJECT *o_current);
-void o_mirror(TOPLEVEL *w_current, SELECTION *list, int centerx, int centery);
+void o_mirror(TOPLEVEL *w_current, GList *list, int centerx, int centery);
void o_edit_show_hidden_lowlevel(TOPLEVEL *w_current, OBJECT *o_list);
void o_edit_show_hidden(TOPLEVEL *w_current, OBJECT *o_list);
void o_edit_make_visible(TOPLEVEL *w_current, OBJECT *o_list);
@@ -707,6 +714,7 @@
OBJECT *o_select_return_first_object(TOPLEVEL *w_current);
int o_select_selected(TOPLEVEL *w_current);
void o_select_unselect_all(TOPLEVEL *w_current);
+void o_select_move_to_place_list(TOPLEVEL *w_current);
/* o_slot.c */
void o_slot_start(TOPLEVEL *w_current, OBJECT *list);
void o_slot_end(TOPLEVEL *w_current, char *string, int len);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs