Index: trunk/src/global_objs.h =================================================================== --- trunk/src/global_objs.h (revision 4570) +++ trunk/src/global_objs.h (revision 4571) @@ -81,16 +81,6 @@ ANYLINEFIELDS; } AnyLineObjectType, *AnyLineObjectTypePtr; -struct pcb_text_s { - ANYOBJECTFIELDS; - int Scale; /* text scaling in percent */ - Coord X, Y; /* origin */ - pcb_uint8_t Direction; - char *TextString; /* string */ - void *Element; - gdl_elem_t link; /* a text is in a list of a layer or an element */ -}; - struct polygon_st { /* holds information about a polygon */ ANYOBJECTFIELDS; pcb_cardinal_t PointN, /* number of points in polygon */ Index: trunk/src/obj_text.h =================================================================== --- trunk/src/obj_text.h (revision 4570) +++ trunk/src/obj_text.h (revision 4571) @@ -29,6 +29,17 @@ #ifndef PCB_OBJ_TEXT_H #define PCB_OBJ_TEXT_H +struct pcb_text_s { + ANYOBJECTFIELDS; + int Scale; /* text scaling in percent */ + Coord X, Y; /* origin */ + pcb_uint8_t Direction; + char *TextString; /* string */ + void *Element; + gdl_elem_t link; /* a text is in a list of a layer or an element */ +}; + + TextTypePtr GetTextMemory(LayerType * layer); void RemoveFreeText(TextType * data);