66    std::vector <GERBER_FILE_IMAGE*> gbrCandidates;
 
   76            gbrCandidates.push_back( gbrImage );
 
   81        for( 
unsigned layer = 0; layer < images->
ImagesMaxCount(); ++layer )
 
   86                gbrCandidates.push_back( gbrImage );
 
   91        for( 
unsigned layer = 0; layer < images->
ImagesMaxCount(); ++layer )
 
   95            if( gbrImage && 
m_parent->IsLayerVisible( layer ) )
 
   96                gbrCandidates.push_back( gbrImage );
 
  102    for( 
unsigned ii = 0; ii < gbrCandidates.size(); ++ii )
 
  104        gbrImage = gbrCandidates[ii];
 
 
constexpr EDA_IU_SCALE gerbIUScale
 
wxStaticText * m_stOffsetY
 
wxTextCtrl * m_tcRotation
 
wxStaticText * m_stUnitRot
 
DIALOG_DRAW_LAYERS_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Layers Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
wxStaticText * m_stLayerRot
 
wxStaticText * m_stOffsetX
 
wxStaticText * m_stLayerName
 
DIALOG_DRAW_LAYERS_SETTINGS(GERBVIEW_FRAME *aParent)
 
bool TransferDataFromWindow() override
Update layerset basing on the selected layers.
 
bool TransferDataToWindow() override
 
GERBVIEW_FRAME * m_parent
 
void SetupStandardButtons(std::map< int, wxString > aLabels={})
 
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
 
GERBER_FILE_IMAGE_LIST is a helper class to handle a list of GERBER_FILE_IMAGE files which are loaded...
 
unsigned ImagesMaxCount()
 
GERBER_FILE_IMAGE * GetGbrImage(int aIdx)
 
Hold the image data and parameters for one gerber file and layer parameters.
 
void SetDrawOffetAndRotation(VECTOR2D aOffsetMM, EDA_ANGLE aRotation)
Set the offset and rotation to draw a file image Does not change any coordinate od draw items.
 
EDA_ANGLE m_DisplayRotation
 
wxString m_FileName
Full File Name for this layer.
 
VECTOR2I m_DisplayOffset
< Parameters used only to draw (display) items on this layer.
 
VECTOR2< double > VECTOR2D