Index: crosshair.h =================================================================== --- crosshair.h (revision 29329) +++ crosshair.h (revision 29330) @@ -84,7 +84,18 @@ int tool_arrow, tool_line, tool_move, tool_arc, tool_poly, tool_poly_hole; } pcb_crosshair_t; +typedef struct { + pcb_coord_t X, Y; + pcb_cardinal_t Buffer; /* buffer number */ + pcb_bool Click; /* true if clicked somewhere with the arrow tool */ + pcb_bool Moving; /* true if clicked on an object of PCB_SELECT_TYPES */ + int Hit; /* type of a hit object of PCB_MOVE_TYPES; 0 if there was no PCB_MOVE_TYPES object under the crosshair */ + void *ptr1, *ptr2, *ptr3; +} pcb_crosshair_note_t; +extern pcb_crosshair_note_t pcb_crosshair_note; + + /*** all possible states of an attached object ***/ #define PCB_CH_STATE_FIRST 0 /* initial state */ #define PCB_CH_STATE_SECOND 1