#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include "libgeda_priv.h"
Go to the source code of this file.
Function Documentation
- Returns a pointer to a new SELECTION object.
- Returns:
- pointer to the new SELECTION object.
Definition at line 38 of file o_selection.c.
- Selects the given object and does the needed work to make the
- object visually selected. Skip objects that are already selected.
- Parameters:
-
[in] | toplevel | The TOPLEVEL object |
[in] | selection | Pointer to the selection list |
[in] | o_selected | Object to select. |
Definition at line 52 of file o_selection.c.
- Removes the given object from the selection list and does the
- needed work to make the object visually unselected. It's ok to call this function with an object which is not necessarily selected.
- Parameters:
-
[in] | toplevel | The TOPLEVEL object |
[in] | selection | Pointer to the selection list |
[in] | o_selected | Object to unselect and remove from the list. |
Definition at line 71 of file o_selection.c.
void o_selection_print_all |
( |
const SELECTION * |
selection | ) |
|
- Prints the given selection list.
- Parameters:
-
[in] | selection | Pointer to selection list to print. |
Definition at line 90 of file o_selection.c.
- Sets the select flag, saves the color, and then selects the
- given object
- Parameters:
-
[in] | toplevel | The TOPLEVEL object |
[in] | object | Object to select. |
Definition at line 114 of file o_selection.c.
- Unsets the select flag, restores the original color of the
- given object. This function should not be called by anybody outside of this file.
- Parameters:
-
[in] | toplevel | The TOPLEVEL object |
[in] | object | Object to unselect. |
Definition at line 132 of file o_selection.c.