Rework on TEXTE_PCB, SCH_TEXT and EDA_TextStruct classes.
Code seriously cleaned, obscure and duplicated code removed, and some oddities removed. Better support of multiline texts.
This commit is contained in:
parent
756f191a7b
commit
1f01cd50aa
|
@ -193,7 +193,7 @@ void TEXTE_PCB::Draw( WinEDA_DrawPanel* panel, wxDC* DC,
|
||||||
|
|
||||||
GRFillMode fillmode = FILLED;
|
GRFillMode fillmode = FILLED;
|
||||||
if ( DisplayOpt.DisplayDrawItems == SKETCH)
|
if ( DisplayOpt.DisplayDrawItems == SKETCH)
|
||||||
GRFillMode fillmode = SKETCH;
|
fillmode = SKETCH;
|
||||||
|
|
||||||
EDA_TextStruct::Draw(
|
EDA_TextStruct::Draw(
|
||||||
panel, DC,
|
panel, DC,
|
||||||
|
|
Loading…
Reference in New Issue