24#include <wx/display.h> 
   30static std::map<JOB_PCB_RENDER::BG_STYLE, wxString> 
bgStyleMap = {
 
 
   36static std::map<JOB_PCB_RENDER::SIDE, wxString> 
sideMap = {
 
 
   74    std::advance( it, selIndx );
 
 
   95    std::advance( it, selIndx );
 
 
  102    auto it = 
sideMap.find( aSide );
 
  106        int idx = std::distance( 
sideMap.begin(), it );
 
 
  116    std::advance( it, selIndx );
 
 
  127        int idx = std::distance( 
bgStyleMap.begin(), it );
 
 
  141        m_job->m_appearancePreset = 
"";
 
  182                                           : 
m_job->m_perspective = 
false;
 
 
  194    if( 
m_job->m_appearancePreset == wxString( 
FOLLOW_PCB ).ToStdString() )
 
  212    int width = 
m_job->m_width;
 
  213    int height = 
m_job->m_height;
 
  217    if (width == 0 || height == 0)
 
  219        int disp = wxDisplay::GetFromWindow( 
this );
 
  220        wxRect rect = wxDisplay( disp ).GetGeometry();
 
  223            width = rect.GetWidth();
 
  226            height = rect.GetHeight();
 
 
wxSpinCtrlDouble * m_spinCtrlLightsBottom
 
wxSpinCtrl * m_spinCtrlHeight
 
wxChoice * m_choiceBgStyle
 
wxSpinCtrlDouble * m_spinCtrlRotX
 
wxCheckBox * m_cbUseBoardStackupColors
 
wxCheckBox * m_cbRaytracing_postProcessing
 
wxRadioBox * m_radioProjection
 
wxSpinCtrlDouble * m_spinCtrlLightsSides
 
wxCheckBox * m_cbRaytracing_antiAliasing
 
wxSpinCtrl * m_spinCtrlLightsSideElevation
 
wxCheckBox * m_cbRaytracing_proceduralTextures
 
wxSpinCtrlDouble * m_spinCtrlZoom
 
wxSpinCtrlDouble * m_spinCtrlPanX
 
wxSpinCtrlDouble * m_spinCtrlPivotY
 
wxSpinCtrlDouble * m_spinCtrlLightsTop
 
wxSpinCtrlDouble * m_spinCtrlRotY
 
wxSpinCtrlDouble * m_spinCtrlPanZ
 
wxSpinCtrlDouble * m_spinCtrlPivotX
 
wxSpinCtrlDouble * m_spinCtrlPanY
 
wxSpinCtrl * m_spinCtrlWidth
 
DIALOG_RENDER_JOB_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Render PCB Job Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
wxSpinCtrlDouble * m_spinCtrlPivotZ
 
wxSpinCtrlDouble * m_spinCtrlLightsCamera
 
wxCheckBox * m_cbRaytracing_addFloor
 
wxTextCtrl * m_textCtrlOutputFile
 
wxSpinCtrlDouble * m_spinCtrlRotZ
 
wxChoice * m_choiceFormat
 
JOB_PCB_RENDER::FORMAT getSelectedFormat()
 
DIALOG_RENDER_JOB(wxWindow *aParent, JOB_PCB_RENDER *aJob)
 
void setSelectedFormat(JOB_PCB_RENDER::FORMAT aFormat)
 
void setSelectedBgStyle(JOB_PCB_RENDER::BG_STYLE aBgStyle)
 
JOB_PCB_RENDER::SIDE getSelectedSide()
 
JOB_PCB_RENDER::BG_STYLE getSelectedBgStyle()
 
bool TransferDataFromWindow() override
 
void setSelectedSide(JOB_PCB_RENDER::SIDE aSide)
 
bool TransferDataToWindow() override
 
void SetupStandardButtons(std::map< int, wxString > aLabels={})
 
static std::map< JOB_PCB_RENDER::FORMAT, wxString > & GetFormatNameMap()
 
wxString GetSettingsDialogTitle() const override
 
static std::map< JOB_PCB_RENDER::BG_STYLE, wxString > bgStyleMap
 
static std::map< JOB_PCB_RENDER::SIDE, wxString > sideMap
 
#define FOLLOW_PLOT_SETTINGS
 
Some functions to handle hotkeys in KiCad.
 
T * GetAppSettings(const char *aFilename)
 
wxString name
A name for this layer set.