Index: route_style.h =================================================================== --- route_style.h (revision 32777) +++ route_style.h (revision 32778) @@ -60,3 +60,9 @@ /* helper: get route style size for a function and selected object type. size_id: 0=main size; 1=2nd size (drill); 2=clearance */ int pcb_get_style_size(int funcid, rnd_coord_t * out, int type, int size_id); + + +/*** Undoable changes to route styles ***/ + +/* Change a field. Returns 0 on success. */ +int pcb_route_style_change(pcb_board_t *pcb, int rstidx, rnd_coord_t *thick, rnd_coord_t *textt, rnd_coord_t *texts, rnd_coord_t *clearance, rnd_cardinal_t *via_proto, rnd_bool undoable);