27#include <wx/popupwin.h> 
   28#include <wx/cmdline.h> 
   72    printf(
"TestFrameBase::SetBoard %p\n", b.get() );
 
   74    PROF_TIMER cntConnectivity( 
"connectivity-build" );
 
   77    cntConnectivity.
Show();
 
   84    m_board->GetConnectivity()->GetFromToCache()->Rebuild( 
m_board.get() );
 
   92#ifdef USE_TOOL_MANAGER 
  113            pcbTool->SetIsBoardEditor( 
true );
 
 
  129    BOARD* brd = 
nullptr;
 
  133        brd = pi->LoadBoard( wxString( filename.c_str() ), 
nullptr, 
nullptr );
 
  137        wxPrintf( 
"Board Loading Error: '%s'\n", ioe.
Problem() );
 
 
  161    m_galPanel = std::make_shared<PCB_DRAW_PANEL_GAL>( aParent, -1, wxPoint( 0, 0 ),
 
  173    gal->SetGridVisibility( 
true );
 
  174    gal->SetGridSize( 
VECTOR2D( 100000.0, 100000.0 ) );
 
  175    gal->SetGridOrigin( 
VECTOR2D( 0.0, 0.0 ) );
 
  180    m_galPanel->GetViewControls()->ShowCursor( 
true );
 
 
  211    auto tool = 
m_toolManager->FindTool( 
"common.InteractiveSelection" );
 
 
Information pertinent to a Pcbnew printed circuit board.
 
Class to handle configuration and automatic determination of the DPI scale to use for canvases.
 
double GetScaleFactor() const override
Get the DPI scale from all known sources in order:
 
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
 
virtual const wxString Problem() const
what was the problem?
 
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
 
A #PLUGIN derivation for saving and loading Pcbnew s-expression formatted files.
 
std::shared_ptr< BOARD > m_board
 
std::shared_ptr< PCB_TEST_SELECTION_TOOL > m_selectionTool
 
std::shared_ptr< PCB_DRAW_PANEL_GAL > m_galPanel
 
void createView(wxWindow *aParent, PCB_DRAW_PANEL_GAL::GAL_TYPE aGalType=PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL)
 
virtual void SetBoard(std::shared_ptr< BOARD > b)
 
virtual void createUserTools()
 
virtual ~PCB_TEST_FRAME_BASE()
 
void SetSelectionHook(std::function< void(PCB_TEST_FRAME_BASE *, PCB_SELECTION *)> aHook)
 
void SetSelectableItemTypes(const std::vector< KICAD_T > aTypes)
 
KIGFX::GAL_DISPLAY_OPTIONS m_displayOptions
 
virtual BOARD * LoadAndDisplayBoard(const std::string &filename)
 
virtual SETTINGS_MANAGER & GetSettingsManager() const
 
A small class to help profiling.
 
void Show(std::ostream &aStream=std::cerr)
Print the elapsed time (in a suitable unit) to a stream.
 
T * RegisterSettings(T *aSettings, bool aLoadNow=true)
Take ownership of the pointer passed in.
 
COLOR_SETTINGS * GetColorSettings(const wxString &aName)
Retrieve a color settings object that applications can read colors from.
 
const wxChar *const traceGalProfile
Flag to enable debug output of GAL performance profiling.
 
std::unique_ptr< T > IO_RELEASER
Helper to hold and release an IO_BASE object when exceptions are thrown.
 
The Cairo implementation of the graphics abstraction layer.
 
PGM_BASE & Pgm()
The global program "get" accessor.
 
wxLogTrace helper definitions.
 
#define KI_TRACE(aWhat,...)
 
VECTOR2< double > VECTOR2D
 
WX_VIEW_CONTROLS class definition.