Index: trunk/src/flag.h =================================================================== --- trunk/src/flag.h (revision 12145) +++ trunk/src/flag.h (revision 12146) @@ -96,7 +96,8 @@ PCB_FLAG_TERMNAME = 0x80000, PCB_FLAG_DRC_INTCONN = 0x100000,/*!< Set for objects are put on the DRC mark because of an intconn */ PCB_FLAG_CLEARPOLYPOLY= 0x200000, - PCB_FLAG_DYNTEXT = 0x400000 + PCB_FLAG_DYNTEXT = 0x400000, + PCB_FLAG_FLOATER = 0x800000 /* PCB_FLAG_NOCOPY = (PCB_FLAG_FOUND | CONNECTEDFLAG | PCB_FLAG_ONPOINT)*/ } pcb_flag_values_t; Index: trunk/src/flag_str.c =================================================================== --- trunk/src/flag_str.c (revision 12145) +++ trunk/src/flag_str.c (revision 12146) @@ -79,7 +79,8 @@ {FN(PCB_FLAG_NONETLIST), N("nonetlist"), PCB_TYPEMASK_ALL, "element is not on the netlist and should not interfere with the netlist "}, {FN(PCB_FLAG_TERMNAME), N("termname"), PCB_TYPE_LINE | PCB_TYPE_ARC | PCB_TYPE_POLYGON | PCB_TYPE_TEXT | PCB_TYPE_PIN | PCB_TYPE_PAD | PCB_TYPE_SUBC, "when set the names of pins are shown."}, {FN(PCB_FLAG_CLEARPOLYPOLY), N("clearpolypoly"), PCB_TYPE_POLYGON, "For polygons, apply clearance to nearby polygons" }, - {FN(PCB_FLAG_DYNTEXT), N("dyntext"), PCB_TYPE_TEXT, "For text: dynamic string (substitute %patterns%)"} + {FN(PCB_FLAG_DYNTEXT), N("dyntext"), PCB_TYPE_TEXT, "For text: dynamic string (substitute %patterns%)"}, + {FN(PCB_FLAG_FLOATER), N("floater"), PCB_TYPEMASK_ALL, "subc part can be moved after subc placing"} }; #undef N #undef FN Index: trunk/src/pcb-menu-gtk.lht =================================================================== --- trunk/src/pcb-menu-gtk.lht (revision 12145) +++ trunk/src/pcb-menu-gtk.lht (revision 12146) @@ -268,9 +268,9 @@ ha:Crosshair snaps to off-grid points on lines = { checked=editor/snap_offgrid_line; action=conf(toggle, editor/snap_offgrid_line, design) } ha:Crosshair shows DRC clearance = { checked=editor/show_drc; action=conf(toggle, editor/show_drc, design) } ha:Auto enforce DRC clearance = { checked=editor/auto_drc; action=conf(toggle, editor/auto_drc, design) } - ha:Lock Names = { checked=editor/lock_names; action=conf(toggle, editor/lock_names, design) } - ha:Only Names = { checked=editor/only_names; action=conf(toggle, editor/only_names, design) } - ha:Hide Names = { checked=editor/hide_names; action=conf(toggle, editor/hide_names, design) } + ha:Lock floaters = { checked=editor/lock_names; action=conf(toggle, editor/lock_names, design) } + ha:Only floaters = { checked=editor/only_names; action=conf(toggle, editor/only_names, design) } + ha:Hide floaters = { checked=editor/hide_names; action=conf(toggle, editor/hide_names, design) } ha:Mincut on shorts = { checked=plugins/mincut/enable; action=conf(toggle, plugins/mincut/enable, design) } ha:Libstroke gestures on middle button = { checked=editor/enable_stroke; action=conf(toggle, editor/enable_stroke, design) } - Index: trunk/src/pcb-menu-lesstif.lht =================================================================== --- trunk/src/pcb-menu-lesstif.lht (revision 12145) +++ trunk/src/pcb-menu-lesstif.lht (revision 12146) @@ -92,9 +92,9 @@ ha:Description = { checked=ChkElementName(1); action=Display(Description) } ha:Reference Designator = { checked=ChkElementName(2); action=Display(NameOnPCB) } ha:Value = { checked=ChkElementName(3); action=Display(Value) } - ha:Lock Names = { checked=editor/lock_names; action=conf(toggle, editor/lock_names, design) } - ha:Only Names = { checked=editor/only_names; action=conf(toggle, editor/only_names, design) } - ha:Hide Names = { checked=editor/hide_names; action=conf(toggle, editor/hide_names, design) } + ha:Lock floaters = { checked=editor/lock_names; action=conf(toggle, editor/lock_names, design) } + ha:Only floaters = { checked=editor/only_names; action=conf(toggle, editor/only_names, design) } + ha:Hide floaters = { checked=editor/hide_names; action=conf(toggle, editor/hide_names, design) } ha:Mincut on shorts = { checked=plugins/mincut/enable; action=conf(toggle, plugins/mincut/enable, design) } - ha:Pinout shows number = { checked=editor/show_number; action=conf(toggle, editor/show_number, design) } Index: trunk/src/pcb-menu-mkey.lht =================================================================== --- trunk/src/pcb-menu-mkey.lht (revision 12145) +++ trunk/src/pcb-menu-mkey.lht (revision 12146) @@ -268,9 +268,9 @@ ha:Crosshair snaps to off-grid points on lines = { checked=editor/snap_offgrid_line; action=conf(toggle, editor/snap_offgrid_line, design) } ha:Crosshair shows DRC clearance = { checked=editor/show_drc; action=conf(toggle, editor/show_drc, design) } ha:Auto enforce DRC clearance = { checked=editor/auto_drc; action=conf(toggle, editor/auto_drc, design) } - ha:Lock Names = { checked=editor/lock_names; action=conf(toggle, editor/lock_names, design) } - ha:Only Names = { checked=editor/only_names; action=conf(toggle, editor/only_names, design) } - ha:Hide Names = { checked=editor/hide_names; action=conf(toggle, editor/hide_names, design) } + ha:Lock floaters = { checked=editor/lock_names; action=conf(toggle, editor/lock_names, design) } + ha:Only floaters = { checked=editor/only_names; action=conf(toggle, editor/only_names, design) } + ha:Hide floaters = { checked=editor/hide_names; action=conf(toggle, editor/hide_names, design) } ha:Mincut on shorts = { checked=enablemincut; action=Display(ToggleMinCut) } ha:Libstroke gestures on middle button = { checked=editor/enable_stroke; action=conf(toggle, editor/enable_stroke, design) } -