Index: tool_arc.c =================================================================== --- tool_arc.c (revision 30980) +++ tool_arc.c (revision 30981) @@ -51,7 +51,7 @@ void pcb_tool_arc_init(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); if (pcb_tool_prev_id == pcb_crosshair.tool_line && pcb_crosshair.AttachedLine.State != PCB_CH_STATE_FIRST) { pcb_crosshair.AttachedLine.State = PCB_CH_STATE_FIRST; pcb_crosshair.AttachedBox.State = PCB_CH_STATE_SECOND; @@ -59,12 +59,12 @@ pcb_crosshair.AttachedBox.Point1.Y = pcb_crosshair.AttachedBox.Point2.Y = pcb_crosshair.AttachedLine.Point1.Y; pcb_tool_adjust_attached(NULL); } - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } void pcb_tool_arc_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_added_lines = 0; if (pcb_tool_next_id != pcb_crosshair.tool_line) { pcb_crosshair.AttachedBox.State = PCB_CH_STATE_FIRST; @@ -71,7 +71,7 @@ if (!pcb_marked.user_placed) pcb_crosshair_set_local_ref(0, 0, pcb_false); } - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } void pcb_tool_arc_notify_mode(rnd_hidlib_t *hl) @@ -175,7 +175,7 @@ { if (pcb_crosshair.AttachedBox.State == PCB_CH_STATE_SECOND) { pcb_crosshair.AttachedBox.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); return pcb_false; } if (pcb_crosshair.AttachedBox.State == PCB_CH_STATE_THIRD) { Index: tool_arrow.c =================================================================== --- tool_arrow.c (revision 30980) +++ tool_arrow.c (revision 30981) @@ -52,11 +52,11 @@ void pcb_tool_arrow_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedObject.Type = PCB_OBJ_VOID; pcb_crosshair.AttachedObject.State = PCB_CH_STATE_FIRST; pcb_crosshair.AttachedBox.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } /* Called some time after the click if there was a release but no second click @@ -68,7 +68,7 @@ pcb_board_t *pcb = hv.ptr; if (hl->tool_click) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); hl->tool_click = pcb_false; if (pcb_crosshair_note.Moving && !rnd_gui->shift_is_pressed(rnd_gui)) { hl->tool_grabbed.status = pcb_true; @@ -125,7 +125,7 @@ pcb_crosshair.AttachedBox.Point1.X = hl->tool_x; pcb_crosshair.AttachedBox.Point1.Y = hl->tool_y; } - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } if (pcb_crosshair.extobj_edit != NULL) { Index: tool_copy.c =================================================================== --- tool_copy.c (revision 30980) +++ tool_copy.c (revision 30981) @@ -43,10 +43,10 @@ void pcb_tool_copy_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedObject.Type = PCB_OBJ_VOID; pcb_crosshair.AttachedObject.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); pcb_crosshair.extobj_edit = NULL; } Index: tool_insert.c =================================================================== --- tool_insert.c (revision 30980) +++ tool_insert.c (revision 30981) @@ -54,11 +54,11 @@ void pcb_tool_insert_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedObject.Type = PCB_OBJ_VOID; pcb_crosshair.AttachedObject.State = PCB_CH_STATE_FIRST; pcb_crosshair.extobj_edit = NULL; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } void pcb_tool_insert_notify_mode(rnd_hidlib_t *hl) Index: tool_line.c =================================================================== --- tool_line.c (revision 30980) +++ tool_line.c (revision 30981) @@ -64,7 +64,7 @@ void pcb_tool_line_init(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); if (pcb_tool_prev_id == pcb_crosshair.tool_arc && pcb_crosshair.AttachedBox.State != PCB_CH_STATE_FIRST) { pcb_crosshair.AttachedBox.State = PCB_CH_STATE_FIRST; pcb_crosshair.AttachedLine.State = PCB_CH_STATE_SECOND; @@ -80,12 +80,12 @@ } } } - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } void pcb_tool_line_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_added_lines = 0; pcb_route_reset(&pcb_crosshair.Route); if (pcb_tool_next_id != pcb_crosshair.tool_arc) { @@ -93,7 +93,7 @@ if (!pcb_marked.user_placed) pcb_crosshair_set_local_ref(0, 0, pcb_false); } - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } /* creates points of a line (when clicked) */ Index: tool_move.c =================================================================== --- tool_move.c (revision 30980) +++ tool_move.c (revision 30981) @@ -45,10 +45,10 @@ void pcb_tool_move_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedObject.Type = PCB_OBJ_VOID; pcb_crosshair.AttachedObject.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); pcb_crosshair.extobj_edit = NULL; } Index: tool_poly.c =================================================================== --- tool_poly.c (revision 30980) +++ tool_poly.c (revision 30981) @@ -44,10 +44,10 @@ void pcb_tool_poly_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedPolygon.PointN = 0; pcb_crosshair.AttachedLine.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } TODO("remove this when pcb_tool_poly_notify_mode() loses PCB") Index: tool_polyhole.c =================================================================== --- tool_polyhole.c (revision 30980) +++ tool_polyhole.c (revision 30981) @@ -45,10 +45,10 @@ void pcb_tool_polyhole_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedPolygon.PointN = 0; pcb_crosshair.AttachedLine.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } TODO("remove this when pcb_tool_polyhole_notify_mode() loses PCB") Index: tool_rectangle.c =================================================================== --- tool_rectangle.c (revision 30980) +++ tool_rectangle.c (revision 30981) @@ -48,9 +48,9 @@ void pcb_tool_rectangle_uninit(void) { - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_false); pcb_crosshair.AttachedBox.State = PCB_CH_STATE_FIRST; - pcb_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); + rnd_hid_notify_crosshair_change(&PCB->hidlib, pcb_true); } void pcb_tool_rectangle_notify_mode(rnd_hidlib_t *hl) Index: tool_text.c =================================================================== --- tool_text.c (revision 30980) +++ tool_text.c (revision 30981) @@ -50,7 +50,7 @@ pcb_board_t *pcb = (pcb_board_t *)hl; char *string; - if ((string = pcb_hid_prompt_for(hl, "Enter text:", "", "text")) != NULL) { + if ((string = rnd_hid_prompt_for(hl, "Enter text:", "", "text")) != NULL) { if (strlen(string) > 0) { pcb_text_t *text; int flag = PCB_FLAG_CLEARLINE;