Index: obj_text.h =================================================================== --- obj_text.h (revision 4810) +++ obj_text.h (revision 4811) @@ -34,7 +34,7 @@ struct pcb_text_s { PCB_ANYOBJECTFIELDS; int Scale; /* text scaling in percent */ - Coord X, Y; /* origin */ + pcb_coord_t X, Y; /* origin */ pcb_uint8_t Direction; char *TextString; /* string */ void *Element; @@ -45,7 +45,7 @@ pcb_text_t *GetTextMemory(pcb_layer_t * layer); void RemoveFreeText(pcb_text_t * data); -pcb_text_t *CreateNewText(pcb_layer_t *Layer, pcb_font_t *PCBFont, Coord X, Coord Y, unsigned Direction, int Scale, char *TextString, pcb_flag_t Flags); +pcb_text_t *CreateNewText(pcb_layer_t *Layer, pcb_font_t *PCBFont, pcb_coord_t X, pcb_coord_t Y, unsigned Direction, int Scale, char *TextString, pcb_flag_t Flags); /* Add objects without creating them or making any "sanity modifications" to them */ void pcb_add_text_on_layer(pcb_layer_t *Layer, pcb_text_t *text, pcb_font_t *PCBFont); @@ -52,7 +52,7 @@ void SetTextBoundingBox(pcb_font_t *FontPtr, pcb_text_t *Text); void *RemoveText(pcb_layer_t *Layer, pcb_text_t *Text); -void RotateTextLowLevel(pcb_text_t *Text, Coord X, Coord Y, unsigned Number); +void RotateTextLowLevel(pcb_text_t *Text, pcb_coord_t X, pcb_coord_t Y, unsigned Number); #define MOVE_TEXT_LOWLEVEL(t,dx,dy) \ { \