42#include <wx/stattext.h> 
   58    m_preview->ShowScrollbars( wxSHOW_SB_NEVER, wxSHOW_SB_NEVER );
 
   59    m_preview->GetGAL()->SetAxesEnabled( 
false );
 
   65    m_preview->GetGAL()->SetGridVisibility( 
true );
 
   75    const COLOR4D& backgroundColor = settings->GetBackgroundColor();
 
   76    const COLOR4D& foregroundColor = settings->GetCursorColor();
 
   78    m_preview->GetGAL()->SetClearColor( backgroundColor );
 
 
  180    if( aDesignBlock && wxFileExists( aDesignBlock->
GetBoardFile() ) )
 
  187            pi->SetProgressReporter( &progressReporter );
 
  198                if( ioe.
Problem() != wxT( 
"CANCEL" ) )
 
  201                            wxString::Format( 
_( 
"Error loading board file:\n%s" ), aDesignBlock->
GetBoardFile() );
 
  222                    if( !
static_cast<const PCB_FIELD*
>( item )->IsVisible() )
 
  226                bBox.
Merge( item->GetBoundingBox() );
 
 
wxString m_ColorTheme
Active color theme name.
 
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
 
constexpr BOX2< Vec > & Merge(const BOX2< Vec > &aRect)
Modify the position and size of the rectangle in order to contain aRect.
 
Color settings are a bit different than most of the settings objects in that there can be more than o...
 
const wxString & GetBoardFile() const
 
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
 
virtual const wxString What() const
A composite of Problem() and Where()
 
virtual const wxString Problem() const
what was the problem?
 
A color representation with 4 components: red, green, blue, alpha.
 
wxColour ToColour() const
 
PCB specific render settings.
 
void LoadColors(const COLOR_SETTINGS *aSettings) override
 
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
 
virtual void SetScale(double aScale, VECTOR2D aAnchor={ 0, 0 })
Set the scaling factor, zooming around a given anchor point.
 
virtual void Add(VIEW_ITEM *aItem, int aDrawPriority=-1)
Add a VIEW_ITEM to the view.
 
void Clear()
Remove all items from the view.
 
VECTOR2D ToWorld(const VECTOR2D &aCoord, bool aAbsolute=true) const
Converts a screen space point/vector to a point/vector in world space coordinates.
 
PAINTER * GetPainter() const
Return the painter object used by the view for drawing #VIEW_ITEMS.
 
void SetCenter(const VECTOR2D &aCenter)
Set the center point of the VIEW (i.e.
 
KIWAY & Kiway() const
Return a reference to the KIWAY that this object has an opportunity to participate in.
 
The main frame for Pcbnew.
 
static PCB_IO * PluginFind(PCB_FILE_T aFileType)
Return a #PLUGIN which the caller can use to import, export, save, or load design documents.
 
@ KICAD_SEXP
S-expression Pcbnew file format.
 
virtual COMMON_SETTINGS * GetCommonSettings() const
 
Multi-thread safe progress reporter dialog, intended for use of tasks that parallel reporting back of...
 
void DisplayErrorMessage(wxWindow *aParent, const wxString &aText, const wxString &aExtraInfo)
Display an error message with aMessage.
 
This file is part of the common library.
 
std::unique_ptr< T > IO_RELEASER
Helper to hold and release an IO_BASE object when exceptions are thrown.
 
PGM_BASE & Pgm()
The global program "get" accessor.
 
COLOR_SETTINGS * GetColorSettings(const wxString &aName)
 
T * GetAppSettings(const char *aFilename)
 
@ PCB_FIELD_T
class PCB_FIELD, text associated with a footprint property
 
VECTOR2< double > VECTOR2D
 
VECTOR2D ToVECTOR2D(const wxPoint &aPoint)