eeschema-gal: post-rebase fixes
This commit is contained in:
parent
e439b17fa1
commit
5f7c923b8b
|
@ -1065,7 +1065,7 @@ bool EDA_DRAW_FRAME::SwitchCanvas( EDA_DRAW_PANEL_GAL::GAL_TYPE aCanvasType )
|
|||
}
|
||||
|
||||
|
||||
EDA_DRAW_PANEL_GAL::GAL_TYPE EDA_DRAW_FRAME::loadCanvasTypeSetting() const
|
||||
EDA_DRAW_PANEL_GAL::GAL_TYPE EDA_DRAW_FRAME::LoadCanvasTypeSetting()
|
||||
{
|
||||
EDA_DRAW_PANEL_GAL::GAL_TYPE canvasType = EDA_DRAW_PANEL_GAL::GAL_TYPE_NONE;
|
||||
wxConfigBase* cfg = Kiface().KifaceSettings();
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include <sch_screen.h>
|
||||
#include <sch_draw_panel.h>
|
||||
#include "template_fieldnames.h"
|
||||
|
||||
|
||||
class PAGE_INFO;
|
||||
class TITLE_BLOCK;
|
||||
|
@ -78,6 +80,8 @@ LIB_PART* SchGetLibPart( const LIB_ID& aLibId, SYMBOL_LIB_TABLE* aLibTable,
|
|||
class SCH_BASE_FRAME : public EDA_DRAW_FRAME
|
||||
{
|
||||
protected:
|
||||
TEMPLATES m_templateFieldNames;
|
||||
|
||||
wxPoint m_repeatStep; ///< the increment value of the position of an item
|
||||
///< when it is repeated
|
||||
int m_repeatDeltaLabel; ///< the increment value of labels like bus members
|
||||
|
@ -208,12 +212,26 @@ public:
|
|||
|
||||
void OnConfigurePaths( wxCommandEvent& aEvent );
|
||||
|
||||
virtual void OnEditSymbolLibTable( wxCommandEvent& aEvent );
|
||||
/**
|
||||
* Return a template field names list for read only access.
|
||||
*/
|
||||
const TEMPLATE_FIELDNAMES& GetTemplateFieldNames() const
|
||||
{
|
||||
return m_templateFieldNames.GetTemplateFieldNames();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows Eeschema to install the symbol library tables into the edit libraries dialog.
|
||||
* Search for \a aName in the the template field name list.
|
||||
*
|
||||
* @param aName A wxString object containing the field name to search for.
|
||||
* @return the template fieldname if found; NULL otherwise.
|
||||
*/
|
||||
void InstallLibraryTablesPanel( DIALOG_EDIT_LIBRARY_TABLES* aDialog ) override;
|
||||
const TEMPLATE_FIELDNAME* GetTemplateFieldName( const wxString& aName ) const
|
||||
{
|
||||
return m_templateFieldNames.GetFieldName( aName );
|
||||
}
|
||||
|
||||
virtual void OnEditSymbolLibTable( wxCommandEvent& aEvent );
|
||||
|
||||
/**
|
||||
* Load symbol from symbol library table.
|
||||
|
@ -225,7 +243,7 @@ public:
|
|||
* @return The symbol found in the library or NULL if the symbol was not found.
|
||||
*/
|
||||
LIB_ALIAS* GetLibAlias( const LIB_ID& aLibId, bool aUseCacheLib = false,
|
||||
bool aShowErrorMsg = false );
|
||||
bool aShowError = false );
|
||||
|
||||
LIB_PART* GetLibPart( const LIB_ID& aLibId, bool aUseCacheLib = false,
|
||||
bool aShowErrorMsg = false );
|
||||
|
|
Loading…
Reference in New Issue