Display filename and full sheet name ("sheet path") in sheet references

This commit is contained in:
CHARRAS 2008-02-29 15:31:32 +00:00
parent 4d9ea908f1
commit e2abaa8109
3 changed files with 963 additions and 854 deletions

View File

@ -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

View File

@ -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
{