Move board characteristics and stackup to PCB_TABLEs.

This commit is contained in:
Jeff Young
2025-04-12 20:41:01 +01:00
parent aa1dbcba34
commit 159302063a
12 changed files with 299 additions and 832 deletions
+21
View File
@@ -407,6 +407,27 @@ wxString TitleCaps( const wxString& aString )
}
wxString InitialCaps( const wxString& aString )
{
wxArrayString words;
wxString result;
wxStringSplit( aString, words, ' ' );
result.reserve( aString.length() );
for( const wxString& word : words )
{
if( result.IsEmpty() )
result += word.Capitalize();
else
result += wxT( " " ) + word.Lower();
}
return result;
}
int ReadDelimitedText( wxString* aDest, const char* aSource )
{
std::string utf8; // utf8 but without escapes and quotes.