#include <config.h>
#include <stdio.h>
#include "libgeda_priv.h"
Go to the source code of this file.
Functions |
OBJECT * | o_object_copy (TOPLEVEL *toplevel, OBJECT *selected) |
GList * | o_glist_copy_all (TOPLEVEL *toplevel, const GList *src_list, GList *dest_list) |
void | o_glist_translate_world (TOPLEVEL *toplevel, int dx, int dy, const GList *list) |
void | o_glist_rotate_world (TOPLEVEL *toplevel, int x, int y, int angle, const GList *list) |
void | o_glist_mirror_world (TOPLEVEL *toplevel, int x, int y, const GList *list) |
void | o_glist_set_color (TOPLEVEL *toplevel, const GList *list, int color) |
| Change the color of a list of objects.
|
Variables |
int | global_sid |
Function Documentation
- Todo:
- Finish documentation!!!!
- Function Description
- returns head !!!!!!!!!!!!!!!!!!! look at above.. this returns what was passed in!!!! copies selected to list_head (!! returns new list)
- Parameters:
-
[in] | toplevel | The TOPLEVEL object. |
[in] | selected | |
- Returns:
- OBJECT pointer.
Definition at line 47 of file o_list.c.
GList* o_glist_copy_all |
( |
TOPLEVEL * |
toplevel, |
|
|
const GList * |
src_list, |
|
|
GList * |
dest_list |
|
) |
| |
- Todo:
- Finish function description!!!
- Function Description
- you need to pass in a head_node for dest_list_head flag is either NORMAL_FLAG or SELECTION_FLAG this function copies the objects in the src GList src_list to the destination GList dest_list this routine assumes that objects in src_list are selected objects are unselected before they are copied and then reselected this is necessary to preserve the color info
- Parameters:
-
[in] | toplevel | The TOPLEVEL object. |
[in] | src_list | The GList to copy from. |
[in] | dest_list | The GList to copy to. |
- Returns:
- the dest_list GList with objects appended to it.
Definition at line 137 of file o_list.c.
void o_glist_translate_world |
( |
TOPLEVEL * |
toplevel, |
|
|
int |
dx, |
|
|
int |
dy, |
|
|
const GList * |
list |
|
) |
| |
- Todo:
- Finish function description!!!
- Function Description
Definition at line 228 of file o_list.c.
void o_glist_rotate_world |
( |
TOPLEVEL * |
toplevel, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
angle, |
|
|
const GList * |
list |
|
) |
| |
- Todo:
- Finish function description!!!
- Function Description
Definition at line 245 of file o_list.c.
void o_glist_mirror_world |
( |
TOPLEVEL * |
toplevel, |
|
|
int |
x, |
|
|
int |
y, |
|
|
const GList * |
list |
|
) |
| |
- Todo:
- Finish function description!!!
- Function Description
Definition at line 262 of file o_list.c.
void o_glist_set_color |
( |
TOPLEVEL * |
toplevel, |
|
|
const GList * |
list, |
|
|
int |
color |
|
) |
| |
- Function Description
- This function changes the the new color of a list of objects
- Parameters:
-
[in] | toplevel | The TOPLEVEL structure. |
[in] | list | The list of OBJECTs to change color. |
[in] | color | The new color. |
Definition at line 284 of file o_list.c.
Variable Documentation
global which is used in o_list_copy_all
this is modified here and in o_list.c
Definition at line 48 of file s_basic.c.