mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 08:31:48 +00:00
Display filename and full sheet name ("sheet path") in sheet references
This commit is contained in:
parent
4d9ea908f1
commit
e2abaa8109
@ -229,7 +229,7 @@ int UpperLimit = VARIABLE_BLOCK_START_POSITION;
|
||||
msg += screen->m_Revision;
|
||||
break;
|
||||
|
||||
case WS_LICENCE:
|
||||
case WS_KICAD_VERSION:
|
||||
msg += g_ProductName;
|
||||
break;
|
||||
|
||||
@ -241,6 +241,18 @@ int UpperLimit = VARIABLE_BLOCK_START_POSITION;
|
||||
msg << screen->m_ScreenNumber << wxT("/") << screen->m_NumberOfScreen;
|
||||
break;
|
||||
|
||||
case WS_FILENAME:
|
||||
{
|
||||
wxString fname, fext;
|
||||
wxFileName::SplitPath(screen->m_FileName, (wxString*)NULL, &fname, &fext);
|
||||
msg << fname << wxT(".") << fext;
|
||||
}
|
||||
break;
|
||||
|
||||
case WS_FULLSHEETNAME:
|
||||
// msg += GetScreenDesc();
|
||||
break;
|
||||
|
||||
case WS_COMPANY_NAME:
|
||||
msg += screen->m_Company;
|
||||
if ( ! msg.IsEmpty() )
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -95,7 +95,7 @@ typedef struct ListLabel
|
||||
{
|
||||
int m_LabelType;
|
||||
void * m_Label;
|
||||
char m_SheetPath[32];
|
||||
char m_SheetPath[64];
|
||||
} ListLabel;
|
||||
typedef struct ListComponent
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user