Index: obj_common.h =================================================================== --- obj_common.h (revision 15037) +++ obj_common.h (revision 15038) @@ -172,6 +172,9 @@ /* Returns the first invalid character of an ID (terminal, refdes) or NULL */ const char *pcb_obj_id_invalid(const char *id); +#define pcb_hidden_floater(obj) (conf_core.editor.hide_names && PCB_FLAG_TEST(PCB_FLAG_FLOATER, (obj))) + + /* set const char *dst to a color, depending on the bound layer type: top silk and copper get the color of the first crresponding layer from current PCB, the rest get the far-side color;