fix build when defined KICAD_GOST
This commit is contained in:
@@ -319,7 +319,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
break;
|
||||
|
||||
case WS_COMPANY_NAME:
|
||||
msg = screen->m_Company;
|
||||
msg = GetTitleBlock().GetCompany();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
@@ -330,7 +330,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
break;
|
||||
|
||||
case WS_TITLE:
|
||||
msg = screen->m_Title;
|
||||
msg = GetTitleBlock().GetTitle();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
@@ -341,7 +341,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
break;
|
||||
|
||||
case WS_COMMENT1:
|
||||
msg = screen->m_Commentaire1;
|
||||
msg = GetTitleBlock().GetComment1();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
@@ -358,7 +358,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
break;
|
||||
|
||||
case WS_COMMENT2:
|
||||
msg = screen->m_Commentaire2;
|
||||
msg = GetTitleBlock().GetComment2();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
@@ -369,7 +369,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
break;
|
||||
|
||||
case WS_COMMENT3:
|
||||
msg = screen->m_Commentaire3;
|
||||
msg = GetTitleBlock().GetComment3();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
@@ -380,7 +380,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
break;
|
||||
|
||||
case WS_COMMENT4:
|
||||
msg = screen->m_Commentaire4;
|
||||
msg = GetTitleBlock().GetComment4();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
@@ -415,7 +415,7 @@ void EDA_DRAW_FRAME::PlotWorkSheet( PLOTTER* plotter, BASE_SCREEN* screen )
|
||||
{
|
||||
case WS_CADRE:
|
||||
// Begin list number > 1
|
||||
msg = screen->m_Commentaire1;
|
||||
msg = GetTitleBlock().GetComment1();
|
||||
if( !msg.IsEmpty() )
|
||||
{
|
||||
plotter->text( pos, color,
|
||||
|
||||
Reference in New Issue
Block a user