kicad_curl.cpp: fix a compil warning on Windows (regression)

pcb_calculator: fix incorrect formulas shown in attenuators panel. Png files are no more used, and formulas are now html doc files.
This commit is contained in:
jean-pierre charras 2016-01-16 15:27:42 +01:00
parent bc614a5e0b
commit 6155cba077
29 changed files with 438 additions and 1184 deletions

View File

@ -23,12 +23,15 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
// kicad_curl.h must be included before xw headers, to avoid
// conflicts for some defines, at least on Windows
#include <kicad_curl/kicad_curl.h>
#include <wx/log.h> #include <wx/log.h>
#include <wx/dynlib.h> #include <wx/dynlib.h>
#include <macros.h> #include <macros.h>
#include <fctsys.h> #include <fctsys.h>
#include <kicad_curl/kicad_curl.h>
#include <ki_mutex.h> // MUTEX and MUTLOCK #include <ki_mutex.h> // MUTEX and MUTLOCK
#include <richio.h> #include <richio.h>

View File

@ -162,4 +162,35 @@ add_custom_target(
${CMAKE_CURRENT_SOURCE_DIR}/pcb_calculator_datafile_keywords.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pcb_calculator_datafile_keywords.cpp
) )
#
# Conversion of .html doc source files to .h files included in cpp sources
#
# Function html_doc2h : converts a single *.html text file to a *.h header
function( html_doc2h inputFile )
add_custom_command(
OUTPUT ${inputFile}.h
COMMAND ${CMAKE_COMMAND} -DinputFile=${inputFile}.html -DoutputFile=${inputFile}.h
-P ${CMAKE_MODULE_PATH}/Html2C.cmake
DEPENDS ${inputFile}.html ${CMAKE_MODULE_PATH}/Html2C.cmake
COMMENT "creating ${inputFile}.h from ${inputFile}.html"
)
endfunction()
html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/bridget_tee_formula )
html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/splitter_formula )
html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula )
html_doc2h( ${CMAKE_CURRENT_SOURCE_DIR}/attenuators/tee_formula )
set( DOCS_LIST
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/pi_formula.h
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/tee_formula.h
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/bridget_tee_formula.h
${CMAKE_CURRENT_SOURCE_DIR}/attenuators/splitter_formula.h
)
set_source_files_properties( attenuators/attenuator_classes.cpp
PROPERTIES OBJECT_DEPENDS "${DOCS_LIST}"
)
add_dependencies( pcb_calculator_kiface pcb_calculator_lexer_source_files ) add_dependencies( pcb_calculator_kiface pcb_calculator_lexer_source_files )

View File

@ -30,6 +30,7 @@
#include <pcb_calculator.h> #include <pcb_calculator.h>
#include <attenuator_classes.h> #include <attenuator_classes.h>
extern double DoubleFromString( const wxString& TextValue ); extern double DoubleFromString( const wxString& TextValue );
// Called on a attenuator selection // Called on a attenuator selection
@ -44,6 +45,7 @@ void PCB_CALCULATOR_FRAME::SetAttenuator( unsigned aIdx )
{ {
if( aIdx >=m_attenuator_list.size() ) if( aIdx >=m_attenuator_list.size() )
aIdx = m_attenuator_list.size() - 1; aIdx = m_attenuator_list.size() - 1;
m_currAttenuator = m_attenuator_list[aIdx]; m_currAttenuator = m_attenuator_list[aIdx];
TransfAttenuatorDataToPanel(); TransfAttenuatorDataToPanel();
m_Attenuator_Messages->SetPage( wxEmptyString ); m_Attenuator_Messages->SetPage( wxEmptyString );
@ -93,6 +95,11 @@ void PCB_CALCULATOR_FRAME::TransfAttenuatorDataToPanel()
msg.Printf( wxT( "%g" ), m_currAttenuator->m_Zout ); msg.Printf( wxT( "%g" ), m_currAttenuator->m_Zout );
m_ZoutValueCtrl->SetValue( msg ); m_ZoutValueCtrl->SetValue( msg );
if( m_currAttenuator->m_FormulaName )
m_panelAttFormula->SetPage( *m_currAttenuator->m_FormulaName );
else
m_panelAttFormula->SetPage( wxEmptyString );
} }
@ -148,19 +155,3 @@ void PCB_CALCULATOR_FRAME::OnPaintAttenuatorPanel( wxPaintEvent& event )
event.Skip(); event.Skip();
} }
void PCB_CALCULATOR_FRAME::OnPaintAttFormulaPanel( wxPaintEvent& event )
{
wxPaintDC dc( m_panelAttFormula );
if( m_currAttenuator && m_currAttenuator->m_FormulaBitMap )
{
wxSize size = m_panelAttFormula->GetSize();
size.x -= m_currAttenuator->m_FormulaBitMap->GetWidth();
size.y -= m_currAttenuator->m_FormulaBitMap->GetHeight();
dc.DrawBitmap( *m_currAttenuator->m_FormulaBitMap, size.x / 2, size.y / 2 );
}
event.Skip();
}

View File

@ -14,10 +14,25 @@
#include <att_tee.xpm> #include <att_tee.xpm>
#include <att_bridge.xpm> #include <att_bridge.xpm>
#include <att_splitter.xpm> #include <att_splitter.xpm>
#include <pi_formula.xpm>
#include <tee_formula.xpm>
#include <bridged_tee_formula.xpm> // Html texts showing the formulas
#include <splitter_formula.xpm> wxString pi_formula(
#include <pi_formula.h>
);
wxString tee_formula(
#include <tee_formula.h>
);
wxString bridget_tee_formula(
#include <bridget_tee_formula.h>
);
wxString splitter_formula(
#include <splitter_formula.h>
);
#ifndef NULL #ifndef NULL
#define NULL 0 #define NULL 0
@ -36,7 +51,7 @@ ATTENUATOR::ATTENUATOR( ATTENUATORS_TYPE aTopology )
m_Attenuation_Enable = true; m_Attenuation_Enable = true;
m_MinimumATT = 0.0; // dB m_MinimumATT = 0.0; // dB
m_SchBitMap = NULL; m_SchBitMap = NULL;
m_FormulaBitMap = NULL; m_FormulaName = NULL;
// Initialize these variables mainly to avoid warnings from a static analyzer // Initialize these variables mainly to avoid warnings from a static analyzer
m_R1 = 0.0; m_R1 = 0.0;
@ -49,7 +64,6 @@ ATTENUATOR::ATTENUATOR( ATTENUATORS_TYPE aTopology )
ATTENUATOR::~ATTENUATOR() ATTENUATOR::~ATTENUATOR()
{ {
delete m_SchBitMap; delete m_SchBitMap;
delete m_FormulaBitMap;
} }
@ -83,7 +97,7 @@ ATTENUATOR_PI::ATTENUATOR_PI() : ATTENUATOR( PI_TYPE )
{ {
m_Name = wxT("att_pi"); m_Name = wxT("att_pi");
m_SchBitMap = new wxBitmap( att_pi_xpm ); m_SchBitMap = new wxBitmap( att_pi_xpm );
m_FormulaBitMap = new wxBitmap( pi_formula_xpm ); m_FormulaName = &pi_formula;
} }
@ -104,7 +118,7 @@ ATTENUATOR_TEE::ATTENUATOR_TEE() : ATTENUATOR( TEE_TYPE )
{ {
m_Name = wxT("att_tee"); m_Name = wxT("att_tee");
m_SchBitMap = new wxBitmap( att_tee_xpm ); m_SchBitMap = new wxBitmap( att_tee_xpm );
m_FormulaBitMap = new wxBitmap( tee_formula_xpm ); m_FormulaName = &tee_formula;
} }
@ -127,7 +141,7 @@ ATTENUATOR_BRIDGE::ATTENUATOR_BRIDGE() : ATTENUATOR( BRIDGE_TYPE )
m_Zin_Enable = false; m_Zin_Enable = false;
m_ResultCount = 2; m_ResultCount = 2;
m_SchBitMap = new wxBitmap( att_bridge_xpm ); m_SchBitMap = new wxBitmap( att_bridge_xpm );
m_FormulaBitMap = new wxBitmap( bridged_tee_formula_xpm ); m_FormulaName = &bridget_tee_formula;
} }
@ -153,7 +167,7 @@ ATTENUATOR_SPLITTER::ATTENUATOR_SPLITTER() : ATTENUATOR( SPLITTER_TYPE )
m_MinimumATT = 6.0; m_MinimumATT = 6.0;
m_Zin_Enable = false; m_Zin_Enable = false;
m_SchBitMap = new wxBitmap( att_splitter_xpm ); m_SchBitMap = new wxBitmap( att_splitter_xpm );
m_FormulaBitMap = new wxBitmap( splitter_formula_xpm ); m_FormulaName = &splitter_formula;
} }

View File

@ -40,7 +40,7 @@ public:
double m_R2; // value of R2 double m_R2; // value of R2
double m_R3; // value of R3 (if any) double m_R3; // value of R3 (if any)
wxBitmap* m_SchBitMap; // The schema of this attenuator wxBitmap* m_SchBitMap; // The schema of this attenuator
wxBitmap* m_FormulaBitMap; // The formula used to calcualte this attenuator wxString* m_FormulaName; // The HTML text name of the formula used to calculate this attenuator
protected: protected:
double Lmin, L, A; // internal variable for temporary use double Lmin, L, A; // internal variable for temporary use

View File

@ -0,0 +1,33 @@
// Do not edit this file, it is autogenerated by CMake from an HTML file
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n"
"<html>\n"
"<head>\n"
" <meta http-equiv=\"content-type\" content=\"text/html charset=windows-1252\"/>\n"
" <title></title>\n"
" <meta name=\"generator\" content=\"LibreOffice 5.0.3.2 (Windows)\"/>\n"
" <meta name=\"created\" content=\"00:00:00\"/>\n"
" <meta name=\"changed\" content=\"2016-01-16T13:33:30.802000000\"/>\n"
" <meta name=\"created\" content=\"00:00:00\">\n"
" <meta name=\"changed\" content=\"2016-01-16T10:18:56.932000000\">\n"
" <meta name=\"created\" content=\"2016-01-16T10:09:46.840000000\">\n"
" <meta name=\"changed\" content=\"2016-01-16T10:10:55.745000000\">\n"
"</head>\n"
"<body lang=\"fr-FR\" dir=\"ltr\">\n"
"<p style=\"margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\">Z<sub>in</sub>\n"
"desired input impedance in <b>&#8486</b></font></font></p>\n"
"<p style=\"margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\">Z<sub>out</sub>\n"
"desired output impedance <b>Z in = Z out</b></font></font></p>\n"
"<p style=\"margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\"><i><b>a</b></i>\n"
"attenuation in dB</font></font></p>\n"
"<p style=\"margin-left: 1.25cm margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\"><b>L\n"
"= 10</b><sup><b>a/20</b></sup> (the loss)</font></font></p>\n"
"<p style=\"margin-bottom: 0cm\"><br/>\n"
"</p>\n"
"<p style=\"margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\"><b>Bridged\n"
"tee attenuator</b></font></font></p>\n"
"<p style=\"margin-left: 1.25cm margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 24pt\"><i><b>R1\n"
"= Z<sub>in</sub> * (L &minus 1)</b></i></font></font></p>\n"
"<p style=\"margin-left: 1.25cm margin-bottom: 0cm\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 24pt\"><i><b>R2\n"
"= Z<sub>in</sub>/(L &minus 1)</b></i></font></font></p>\n"
"</body>\n"
"</html>\n"

View File

@ -0,0 +1,33 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
<title></title>
<meta name="generator" content="LibreOffice 5.0.3.2 (Windows)"/>
<meta name="created" content="00:00:00"/>
<meta name="changed" content="2016-01-16T13:33:30.802000000"/>
<meta name="created" content="00:00:00">
<meta name="changed" content="2016-01-16T10:18:56.932000000">
<meta name="created" content="2016-01-16T10:09:46.840000000">
<meta name="changed" content="2016-01-16T10:10:55.745000000">
</head>
<body lang="fr-FR" dir="ltr">
<p style="margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt">Z<sub>in</sub>
desired input impedance in <b>&#8486;</b></font></font></p>
<p style="margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt">Z<sub>out</sub>
desired output impedance <b>Z in = Z out</b></font></font></p>
<p style="margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt"><i><b>a</b></i>
attenuation in dB</font></font></p>
<p style="margin-left: 1.25cm; margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt"><b>L
= 10</b><sup><b>a/20</b></sup> (the loss)</font></font></p>
<p style="margin-bottom: 0cm"><br/>
</p>
<p style="margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt"><b>Bridged
tee attenuator</b></font></font></p>
<p style="margin-left: 1.25cm; margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="6" style="font-size: 24pt"><i><b>R1
= Z<sub>in</sub> * (L &minus; 1)</b></i></font></font></p>
<p style="margin-left: 1.25cm; margin-bottom: 0cm"><font face="Times New Roman, serif"><font size="6" style="font-size: 24pt"><i><b>R2
= Z<sub>in</sub>/(L &minus; 1)</b></i></font></font></p>
</body>
</html>

View File

@ -0,0 +1,44 @@
// Do not edit this file, it is autogenerated by CMake from an HTML file
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n"
"<html>\n"
"<head>\n"
" <meta http-equiv=\"content-type\" content=\"text/html charset=windows-1252\"/>\n"
" <title></title>\n"
" <meta name=\"generator\" content=\"LibreOffice 5.0.3.2 (Windows)\"/>\n"
" <meta name=\"created\" content=\"00:00:00\"/>\n"
" <meta name=\"changed\" content=\"2016-01-16T13:32:32.474000000\"/>\n"
" <style type=\"text/css\">\n"
" @page { margin: 2cm }\n"
" p { margin-bottom: 0.25cm line-height: 120% }\n"
" a:link { so-language: zxx }\n"
" </style>\n"
"</head>\n"
"<body lang=\"fr-FR\" dir=\"ltr\">\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\"><b>Z</b><sub><b>in</b></sub>\n"
" desired input impedance in &#8486</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\"><b>Z</b><sub><b>out</b></sub><sub>\n"
" </sub> desired output impedance in &#8486</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\">a\n"
" attenuation in dB</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\">L\n"
"= 10<sup>a/10</sup> (the loss)</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\">A\n"
"= (L + 1)/(L &minus 1)</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<br/>\n"
"</p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><b>Pi\n"
"attenuator</b></font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i><b>R2\n"
"= (L &minus 1)/2 * &radic ((Z<sub>in</sub> * Z<sub>out</sub>)/L)</b></i></font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i><b>R1\n"
"= 1/( A/Z<sub>in</sub> &minus 1/R2)</b></i></font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i><b>R3\n"
"= 1/ (A/Z<sub>out</sub> &minus 1/R2)</b></i></font></font></p>\n"
"</body>\n"
"</html>\n"

View File

@ -0,0 +1,44 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
<title></title>
<meta name="generator" content="LibreOffice 5.0.3.2 (Windows)"/>
<meta name="created" content="00:00:00"/>
<meta name="changed" content="2016-01-16T13:32:32.474000000"/>
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
a:link { so-language: zxx }
</style>
</head>
<body lang="fr-FR" dir="ltr">
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><b>Z</b><sub><b>in</b></sub>
desired input impedance in &#8486;</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><b>Z</b><sub><b>out</b></sub><sub>
</sub> desired output impedance in &#8486;</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">a
attenuation in dB</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">L
= 10<sup>a/10</sup> (the loss)</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">A
= (L + 1)/(L &minus; 1)</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<br/>
</p>
<p style="margin-bottom: 0cm; font-style: normal; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><b>Pi
attenuator</b></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R2
= (L &minus; 1)/2 * &radic; ((Z<sub>in</sub> * Z<sub>out</sub>)/L)</b></i></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R1
= 1/( A/Z<sub>in</sub> &minus; 1/R2)</b></i></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R3
= 1/ (A/Z<sub>out</sub> &minus; 1/R2)</b></i></font></font></p>
</body>
</html>

View File

@ -0,0 +1,36 @@
// Do not edit this file, it is autogenerated by CMake from an HTML file
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n"
"<html>\n"
"<head>\n"
" <meta http-equiv=\"content-type\" content=\"text/html charset=windows-1252\"/>\n"
" <title></title>\n"
" <meta name=\"generator\" content=\"LibreOffice 5.0.3.2 (Windows)\"/>\n"
" <meta name=\"created\" content=\"00:00:00\"/>\n"
" <meta name=\"changed\" content=\"2016-01-16T13:35:05.776000000\"/>\n"
" <meta name=\"created\" content=\"2016-01-16T12:43:25.862000000\">\n"
" <meta name=\"changed\" content=\"2016-01-16T12:46:35.137000000\">\n"
" <style type=\"text/css\">\n"
" @page { margin: 2cm }\n"
" p { margin-bottom: 0.25cm line-height: 120% }\n"
" a:link { so-language: zxx }\n"
" </style>\n"
"</head>\n"
"<body lang=\"fr-FR\" dir=\"ltr\">\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\">Z<sub>in</sub>\n"
"desired input impedance in &#8486</font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"5\" style=\"font-size: 18pt\">Z<sub>out</sub>\n"
"desired output impedance in &#8486</font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i><b>Z<sub>in</sub>\n"
"= Z<sub>out</sub></b></i></font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><br/>\n"
"</p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\"><b>Attenuation\n"
"is 6dB</b></font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><br/>\n"
"</p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><b>Splitted\n"
"attenuator</b></font></font></p>\n"
"<p style=\"margin-bottom: 0cm line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i><b>R1\n"
"= R2 = R3 = Z<sub>out</sub>/3</b></i></font></font></p>\n"
"</body>\n"
"</html>\n"

View File

@ -0,0 +1,37 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
<title></title>
<meta name="generator" content="LibreOffice 5.0.3.2 (Windows)"/>
<meta name="created" content="00:00:00"/>
<meta name="changed" content="2016-01-16T13:35:05.776000000"/>
<meta name="created" content="2016-01-16T12:43:25.862000000">
<meta name="changed" content="2016-01-16T12:46:35.137000000">
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
a:link { so-language: zxx }
</style>
</head>
<body lang="fr-FR" dir="ltr">
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt">Z<sub>in</sub>
desired input impedance in &#8486;</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="5" style="font-size: 18pt">Z<sub>out</sub>
desired output impedance in &#8486;</font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>Z<sub>in</sub>
= Z<sub>out</sub></b></i></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><b>Attenuation
is 6dB</b></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><b>Splitted
attenuator</b></font></font></p>
<p style="margin-bottom: 0cm; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i><b>R1
= R2 = R3 = Z<sub>out</sub>/3</b></i></font></font></p>
</body>
</html>

View File

@ -0,0 +1,47 @@
// Do not edit this file, it is autogenerated by CMake from an HTML file
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n"
"<html>\n"
"<head>\n"
" <meta http-equiv=\"content-type\" content=\"text/html charset=windows-1252\"/>\n"
" <title></title>\n"
" <meta name=\"generator\" content=\"LibreOffice 5.0.3.2 (Windows)\"/>\n"
" <meta name=\"created\" content=\"00:00:00\"/>\n"
" <meta name=\"changed\" content=\"2016-01-16T13:25:20.291000000\"/>\n"
" <style type=\"text/css\">\n"
" @page { margin: 2cm }\n"
" p { margin-bottom: 0.25cm line-height: 120% }\n"
" a:link { so-language: zxx }\n"
" </style>\n"
"</head>\n"
"<body lang=\"fr-FR\" dir=\"ltr\">\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\">Z<sub>in</sub>\n"
"desired input impedance in &#8486</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\">Z<sub>out</sub>\n"
"desired output impedance in &#8486</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\">a\n"
"attenuation in dB</font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\"><i>L\n"
"= 10 <sup>a/10</sup> (the loss)</i></font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 22pt\"><i>A\n"
"= (L + 1)/(L &minus 1)</i></font></font></p>\n"
"<p style=\"margin-bottom: 0cm font-weight: normal line-height: 100%\">\n"
"<br/>\n"
"</p>\n"
"<p style=\"margin-bottom: 0cm font-style: normal line-height: 100%\"><font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><b>Tee\n"
"attenuator</b></font></font></p>\n"
"<p style=\"margin-left: 2cm margin-bottom: 0cm font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i>R2\n"
"= 2*&radic (L * Z<sub>in</sub> * Z<sub>out</sub> )/(L &minus 1)</i></font></font></p>\n"
"<p style=\"margin-left: 2cm margin-bottom: 0cm font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i>R1\n"
"= Z<sub>in</sub> * A &minus R2</i></font></font></p>\n"
"<p style=\"margin-left: 2cm margin-bottom: 0cm font-weight: normal line-height: 100%\">\n"
"<font face=\"Times New Roman, serif\"><font size=\"6\" style=\"font-size: 28pt\"><i>R3\n"
"= Z<sub>out</sub> * A &minus R2</i></font></font></p>\n"
"</body>\n"
"</html>\n"

View File

@ -0,0 +1,47 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252"/>
<title></title>
<meta name="generator" content="LibreOffice 5.0.3.2 (Windows)"/>
<meta name="created" content="00:00:00"/>
<meta name="changed" content="2016-01-16T13:25:20.291000000"/>
<style type="text/css">
@page { margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120% }
a:link { so-language: zxx }
</style>
</head>
<body lang="fr-FR" dir="ltr">
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">Z<sub>in</sub>
desired input impedance in &#8486;</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">Z<sub>out</sub>
desired output impedance in &#8486;</font></font></p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt">a
attenuation in dB</font></font></p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><i>L
= 10 <sup>a/10</sup> (the loss)</i></font></font></p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 22pt"><i>A
= (L + 1)/(L &minus; 1)</i></font></font></p>
<p style="margin-bottom: 0cm; font-weight: normal; line-height: 100%">
<br/>
</p>
<p style="margin-bottom: 0cm; font-style: normal; line-height: 100%"><font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><b>Tee
attenuator</b></font></font></p>
<p style="margin-left: 2cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i>R2
= 2*&radic; (L * Z<sub>in</sub> * Z<sub>out</sub> )/(L &minus; 1)</i></font></font></p>
<p style="margin-left: 2cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i>R1
= Z<sub>in</sub> * A &minus; R2</i></font></font></p>
<p style="margin-left: 2cm; margin-bottom: 0cm; font-weight: normal; line-height: 100%">
<font face="Times New Roman, serif"><font size="6" style="font-size: 28pt"><i>R3
= Z<sub>out</sub> * A &minus; R2</i></font></font></p>
</body>
</html>

View File

@ -1,216 +0,0 @@
/* XPM */
static const char *bridged_tee_formula_xpm[] = {
/* columns rows colors chars-per-pixel */
"255 193 17 1",
"X c Black",
"> c #D9D9D9",
"* c #E1E1E1",
"- c #F0F0F0",
" c #FFFFFF",
"o c #E9E9E9",
": c #BDBDBD",
"O c #4D4D4D",
"+ c #A7A7A7",
"# c #7C7C7C",
"& c #9A9A9A",
"@ c #C7C7C7",
". c #C0C0C0",
"= c #8C8C8C",
"; c #B2B2B2",
"% c #D0D0D0",
"$ c #686868",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" .............................................................. ",
" . . ",
" . X . ",
" . XX . ",
" . X X . ",
" . X X . ",
" . XXXX . ",
" . X X . ",
" . XXX XXX . ",
" . . ",
" . . ",
" . XXXXXXXXXXXX . ",
" . XX XX . ",
" . X X X X . ",
" . X X X . ",
" . X X X . ",
" . XXX X X XXX X X X . X X oO X X X XXXXXX ",
" . XX XXX XX X X X X X X . XX +X@ XX X X ",
" . X X X X X XXXX XX . X X #X$ X X X X X X ",
" . X X X X X . X X %@&X% X X X X X X ",
" . X *XXXXXXXXX= X X X . XXX XXX XXX X XXXX X XX #-*X= XXXXXXXXX XXX XXXXXXXX XXX X XX XX XX XXX XXXX X XX X XX X X XX XX X X X ",
" . X XXXX X X X . X X X XX X XX X o& #X* X X X X X X XXX X X X X X X XX X X XXX X XX XXX X X XX XXXXX ",
" . X X *XXXXXXXXX= X X X . X X X X X X X +% %X+ XX X X XXXXX X X X X XX X X X X X X X X X X X X X ",
" . X X X X X . X X X X X X X X OXXXXXX- XXXXXXXXX XX X X X X X X X X XX X X X X X X X X X X X X X X ",
" . X X X X X . X X X X X X X X @; ;X+ X X X X X X X X X X X X X X X X X X X X X X X X ",
" . XXXXX XXX XXX . XX XX X X X X X *O* -XX% X XX X X X X X X X X X XXX X XX X X X X X X X X X X X XXX X X ",
" . . X X XXX XX XXX XXX *XXX: *XXXX: XXX XX XX XX XXX XXX XXX XX X XXX XX XX XXX XX XXX XXX XXX XXX XXX XX X XXXXXXX ",
" . . ",
" . . ",
" .............................................................. ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXX& ## XXXXXXX& XXXXXXX& ",
" X$* oXO- ## X$* oXO- : X$* oXO- ",
" X> #X: X> #X: -O X> #X: ",
" : @X$ : @X$ #X : @X$ ",
" OX* XXX XXX%OX% XXXXXXXX OX* -+XX+- XXX XXX #XXXX XXXXXXXX OX* ",
" +X+ XX XX% XO +X+ OX%%XO XX XX XX +X+ ",
" *XO XX XX XX *XO XX XX XX XX XX *XO XX ",
" $X@ X XX XX XX XXXXXXXX $X@ X XX XX XX XX XX XXXXXXXX $X@ X XX X ",
" :X= %# XX XX XX :X= %# XX XX XX XX XX :X= %# XX X ",
" -OXo @O= XX XX XX -OXo @O= OX%%XO OX %XX XX>= -OXo @O= XX X ",
" &XXXXXXX= XXXX XXXX XXX &XXXXXXX= -+XX+- %OO:XXX %O$o &XXXXXXX= XX X ",
" XX X ",
" XX ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXXX+- ##XX XXXXXXX& :X: $ o= %$XO:-X ##XX =o ",
" -XX %XO XX X$* oXO- o#X+X#o X oO% ;X@ -+XX XX %O- ",
" XX XX XX X> #X: XX% %XX $XXX$ #= *X; &X XX == ",
" XX XX XX : @X$ XX XX -&&&- %X> &X* -X XX %X> ",
" XX %XO XX XXXXXXXX OX* XX XX O# #O &X- OX XX -X& ",
" XXXXXX+- XX +X+ XX XX $X XX XX X$ ",
" XX $X* XX *XO XX XX XX XX XXXX XX XX ",
" XX %X# XX XXXXXXXX $X@ X XX XX XX &Xo XX XXXXXXXX XX XX ",
" XX =X@ XX :X= %# XX% %XX $X *X: XX XX X$ ",
" -XX- *XOo -XX- -OXo @O= o#X+X#o &X- +X: -XO -XX- -X& ",
" XXXXXX =XXX XXXXXX &XXXXXXX= :X: >X% >#XX$; XXXXXX >X% ",
" == =# ",
" -O% %Oo ",
" o= =o ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXXX+- >$X& XXXXXXX& :X: -$ o= %$XO:-X ##XX =o ",
" -XX %XO -XXXX+ X$* oXO- o#X+X#o @; oO% ;X@ -+XX XX %O- ",
" XX XX ++ @XX X> #X: XX% %XX &> #= *X; &X XX == ",
" XX XX o XO : @X$ XX XX O %X> &X* -X XX %X> ",
" XX %XO X+ XXXXXXXX OX* XX XX *= &X- OX XX -X& ",
" XXXXXX+- *Xo +X+ XX XX :: $X XX XX X$ ",
" XX $X* +; *XO XX XX #o XX XX XXXX XX XX ",
" XX %X# *# XXXXXXXX $X@ X XX XX O XX &Xo XX XXXX XX XX ",
" XX =X@ -$- & :X= %# XX% %XX >& $X *X: XX XX X$ ",
" -XX- *XOo #XXXX@ -OXo @O= o#X+X#o +% &X- +X: -XO -XX- -X& ",
" XXXXXX =XXX&XXXXX- &XXXXXXX= :X: $- >X% >#XX$; XXXXXX >X% ",
" == =# ",
" -O% %Oo ",
" o= =o ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

View File

@ -1,301 +0,0 @@
/* XPM */
static const char *pi_formula_xpm[] = {
/* columns rows colors chars-per-pixel */
"259 278 17 1",
"X c Black",
"> c #D9D9D9",
"* c #E1E1E1",
"= c #F0F0F0",
" c #FFFFFF",
"o c #E9E9E9",
": c #BDBDBD",
"O c #4D4D4D",
"+ c #A7A7A7",
"# c #7C7C7C",
"& c #9A9A9A",
"@ c #C7C7C7",
". c #C0C0C0",
"- c #8C8C8C",
"; c #B2B2B2",
"% c #D0D0D0",
"$ c #686868",
/* pixels */
" ",
" ",
" ............................................................. ",
" . . ",
" . X . ",
" . XX . ",
" . X X . ",
" . X X . ",
" . XXX . ",
" . X X . ",
" . XXX XXX . ",
" . . ",
" . . ",
" . XXXXXXXXXXXX . ",
" . . ",
" . XX XX . ",
" . X X X X . ",
" . X X X . ",
" . XXXX X X XX X X X . X X oO X X X XXXXXX ",
" . XX XXX XXX X X X X X . XX +X@ XX X X ",
" . X X X X X X X X X . X X #X$ X X X X X X ",
" . X X X X X XXXX XX . X X %@&X% X X X X X X ",
" . X *XXXXXXXXX X X X . XXX XXX XXX X XXXX X XX #=*X- XXXXXXXXX XXX XXXXXXXX XXX X XX XX XX XXX XXXX X XX X XX X X XX XX X X X ",
" . X XXXX X X X . X X X XX X XX X o& #X* X X X X X X XXX X X X X X X XX X X XXX X XX XXX X X XX XXXXX ",
" . X X X X X . X X X X X X X +% %X+ XX X X XXXXX X X X X XX X X X X X X X X X X X X X ",
" . X X *XXXXXXXXX X X X . X X X X X X X X OXXXXXX= XXXXXXXXX XX X X X X X X X X XX X X X X X X X X X X X X X X ",
" . X X X X X . X X X X X X X X @; ;X+ X X X X X X X X X X X X X X X X X X X X X X X X ",
" . X X X X X . XX XX X X X X X *O* =XX% X XX X X X X X X X X X XXX X XX X X X X X X X X X X X XXX X X ",
" . XXXXXX XXX XX . X X XXX XX XXX XXX *XXX: *XXXX: XXX XX XX XX XXX XXX XXX XX X XXX XX XX XXX XX XXX XXX XXX XXX XXX XX X XXXXXXX ",
" . . ",
" . . ",
" . . ",
" ............................................................. ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXX X X X X X X X ",
" X X XX XX XX ",
" X X X X X X ",
" X X X X X ",
" X X X XX XXXXXXXXX XX X XXX XXX X X XX XXX XX X X X XX X XX XX XX XXXX X X XX XX X XX XXX XX X XXX X XX XXX XXX ",
" X XX XXX X X XX X X X X XX XXX X X X XX XX XXX X XXX X X X X XX XXX XX X XXX X X X X XX X X XXX X X X X X ",
" X X X X X X XXXXX X X X XXXXX X X X X X X X X X X X X X X X X XXXXX X X XX X X X XXXXX ",
" X X X X XXXXXXXXX X X X XX X X X X X X X X X X X X X X X X X X X X X X XX X X X X X ",
" X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X ",
" X X X X X X XXX X X X X X X X X X XXX X X X XX X X XXX X X X X X X XX X X X X XXX X XX X X X X X X ",
" XXXXXXXX XXX XXX XXX XX X XXX XXX XXX XXX XXX XX X XXX XXX XXX X XX XX X XX XXX XXX XXX XXX X XX XXX XX X XXX XX XXX XXX XXX XXX ",
" X X ",
" X X ",
" XXX XXX ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXX X X X X X ",
" X X XX XX XX ",
" X X X X X X X X ",
" X X X X X X X ",
" X XX XX XX XXXX XXXXXXXXX XX X XXX XXX X X XX XXX XX X XX XX XX XXXX X XX XX XX XXXX X X XX XX X XX XXX XX X XXX X XX XXX XXX ",
" X X X X X X X XX X X X X XX XXX X X X XX X X X X X XXX X X X X XX XXX XX X XXX X X X X XX X X XXX X X X X X ",
" X X X X X X X X XXXXX X X X XXXXX X X X X X X X X X X X X X X X X X X XXXXX X X XX X X X XXXXX ",
" X X X X X X XXXXXXXXX X X X XX X X X X X X X X X X X X X X X X X X X X X X X X XX X X X X X ",
" X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X ",
" X X X X X XXX X X X XXX X X X X X X X X X XXX X X X XXX X X XX X X XXX X X X X X X XX X X X X XXX X XX X X X X X X ",
" XXXXXXXX XX XX X XX XX X XXX XXX XXX XXX XXX XX X XX XX X XX X XX XX X XX XXX XXX XXX XXX X XX XXX XX X XXX XX XXX XXX XXX XXX ",
" X X ",
" X X ",
" XXX XXX ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ................................................................................................................................................................................................... ",
" . XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . ; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . - . ",
" . ; . ",
" . & . ",
" . & . ",
" . X : XXXXXXX XXXXXXX . ",
" . XXX *: X X X X X . ",
" . X *% X X X X X . ",
" . X @* X -* X X . ",
" . X :* X XXX XX XX =; &*o; X XXX XX X XXX . ",
" . X : X X X X X =+#&;$% X XX X X X X X . ",
" . X - X X XX X %O$= X X X X X X . ",
" . X & X X XX X o$;;%#+ X X X X X X . ",
" . X o% %o + X X X X X > -* > X X X X X XX X . ",
" . X + + - X X X X X X X ;o X X X XX X XX XX X . ",
" . XXXXX XXX XXX o; XXXX X X ;= + XXXXXXX XX X XX XXXXXXX XXX XXX XX XXX . ",
" . X X X X :% XX XXX XXX %@ *: . ",
" . X X X -* X X X *& *: . ",
" . X X X -* $ X X X # -* %* . ",
" . X X X *XXXXXXXXX =; &*o; X X X X =; &*o; :* . ",
" . XXXX X =+#&;$% X X XXXX X X =+#&;$% > :o . ",
" . X X X XXXXXXXXXXX %O$= X X X *XXXXXXXXX X X %O$= O - XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X *XXXXXXXXX o$;;%#+ X X X X X o$;;%#+ :$o - . ",
" . X X X > -* > # X X X $ > -* > ::> - . ",
" . X X X X ;o -* X X X *- ;o %: - . ",
" . XXXX XX XXXXX @% XXXXXX XXX %: *+ - . ",
" . XXX =; ;o - *: XXXX X . ",
" . X X + + O *: XX XXX . ",
" . X X o> >o - %@ X X . ",
" . X ;*:* X X . ",
" . X @@:* X . ",
" . X *:- X XXXX . ",
" . X =-- X X . ",
" . X $$ X X . ",
" . X -- X X . ",
" . X X +- X X . ",
" . XXXXXX :& XXXXXX . ",
" . >: . ",
" . . ",
" ................................................................................................................................................................................................... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ......................................................................................................................................................................... ",
" . . ",
" . . ",
" . X . ",
" . XXX . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . XXXXX XX X . ",
" . X X X X XXX . ",
" . X X X . ",
" . X X X . ",
" . X X X *XXXXXXXXX . ",
" . XXXX XX . ",
" . X X X . ",
" . X X X *XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X X . ",
" . XXXX XX XXX . ",
" . XXXX X X X . ",
" . XX XXX o XXX XXX . ",
" . X X - X X . ",
" . X X - X X . ",
" . X - X X . ",
" . X XXXX - X X . ",
" . X X o----O---- X X . ",
" . X X - X X . ",
" . X X - X X . ",
" . X X - X X . ",
" . XXXXXX - XXX XXX . ",
" . . ",
" . . ",
" . . ",
" . . ",
" . . ",
" . XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX *XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX . ",
" . XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX . ",
" . o% %o . ",
" . + + . ",
" . XXXXXXX o; XXXX X X ;= XXXXX XXX . ",
" . X X :% XX XXX XXX %@ X X X X . ",
" . X X X -* X X X *& X X X . ",
" . X X -* $ X X X # X X X . ",
" . X XXX XX X XXX =; &*o; X X X X X X X . ",
" . X XX X X X X X =+#&;$% X X XXXX X X XXXX X . ",
" . X X X X X X %O$= X X X *XXXXXXXXX X X X X X . ",
" . X X X X X X o$;;%#+ X X X X X X X X . ",
" . X X X X X XX X > -* > # X X X $ X X X . ",
" . X X X XX X XX XX X ;o -* X X X *- X X X X . ",
" . XXXXXXX XXX XXX XX XXX @% XXXXXX XXX %: XXXX XX XXXXX . ",
" . =; ;o . ",
" . + + . ",
" . o> >o . ",
" ......................................................................................................................................................................... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ............................................................................................................................................................... ",
" . . ",
" . . ",
" . X . ",
" . XXX . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . X . ",
" . XXXXX XX X . ",
" . X X X XXX . ",
" . X X X . ",
" . X X X . ",
" . X X X *XXXXXXXXX . ",
" . XXXX X . ",
" . X X X . ",
" . X X X *XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X . ",
" . XXXX XX XXXX . ",
" . . ",
" . XXXX X X X . ",
" . XX XXX o XXX XXX . ",
" . X X - X X . ",
" . X X - X X . ",
" . X - X X . ",
" . X XXXX - X X . ",
" . X X o----O---- X X . ",
" . X X - X X . ",
" . X X - X X . ",
" . X X - X X . ",
" . XXXXXX - XXX XXX . ",
" . . ",
" . . ",
" . . ",
" . . ",
" . . ",
" . XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX *XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXX . ",
" . . ",
" . o% %o . ",
" . + + . ",
" . XXXXXXX o; XXXX X X ;= XXXXX XXX . ",
" . X X X :% XX XXX XXX %@ X X X X . ",
" . X X -* X X X *& X X X . ",
" . X -* $ X X X # X X X . ",
" . X XXX XX XX =; &*o; X X X X X X X . ",
" . X X X X X =+#&;$% X X XXXX X X XXXX X . ",
" . X X XX X %O$= X X X *XXXXXXXXX X X X X X . ",
" . X X XX X o$;;%#+ X X X X X X X X . ",
" . X X X X X > -* > # X X X $ X X X . ",
" . X X X X X X X ;o -* X X X *- X X X X . ",
" . XXXXXXX XX X XX @% XXXXXX XXX %: XXXX XX XXXXX . ",
" . =; ;o . ",
" . + + . ",
" . o> >o . ",
" ............................................................................................................................................................... ",
" ",
" ",
" ",
" "
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View File

@ -1,135 +0,0 @@
/* XPM */
static const char *splitter_formula_xpm[] = {
/* columns rows colors chars-per-pixel */
"230 112 17 1",
". c Black",
"& c #D9D9D9",
"+ c #E1E1E1",
"$ c #F0F0F0",
" c #FFFFFF",
"@ c #E9E9E9",
"% c #BDBDBD",
"# c #4D4D4D",
"- c #A7A7A7",
"o c #7C7C7C",
"X c #9A9A9A",
"* c #C7C7C7",
"> c #C0C0C0",
"; c #8C8C8C",
": c #B2B2B2",
"= c #D0D0D0",
"O c #686868",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" . . ... . ...... ",
" . . .. . . ",
" . . . . . . . . . ",
" . . . . . . . . . ",
" . . .... .... ... . .. .. .. ... .... . .. . .. ......... . .. .. . . . ",
" . . . . . . ... . . . . . . .. . . ... . .. . . .. ..... ",
" . . . . ..... . . . . .. . . . . . . . . . . . . ",
" ..... . . . . . . . .. . . . . . . . ......... . . . . . . ",
" . . . . . . . . . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . ... . .. . . . . . . . . . . ... . . ",
" .... .... .. .. ... ... ... .. . ... .. .. ... .. ... ... .. .. . ....... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" .......X oo .......X ... oo ... oo ... ",
" .O+ @.#$ oo .O+ @.#$ % .. oo .. oo .. ",
" .& o.% .& o.% $# .. .. .. ",
" % *.O % *.O o. .. .. .. ",
" #.+ ... ...=#.= ........ #.+ $-..-$ ... ... o.... ........ $-.%.. $-..- =#... ... ...@Oo $-..- $-.%.. ... ...=#- =.-$ ...%.-$ $-..- $-.%.. $;..-$ ...=#.= X.#: $-..- ",
" -.- .. ..= .# -.- #.==.# .. .. .. #.==.. #.==.# #. *. .. ..&=o #.==.# #.==.. .. ..==.#.-.# ..+=.# #.==.# #.==.. O.$=.# ..= .# X.+:# #.==.# ",
" +.# .. .. .. +.# .. .. .. .. .. .. .. .. .. O.;$ .. .. .. .. .. .. .. .. ..= .. .. .. .. .. .. .. @.. .. .. #. .. .. ",
" O.* . .. .. .. ........ O.* . .. .. .. .. .. ........ .. .. ...... @o.#@ .. .. ...... .. .. .. .. .. .. .. .. ...... .. .. -.-.. .. .. .. ...... ",
" %.; =o .. .. .. %.; =o .. .. .. .. .. .. .. #. -.# .. .. #. .. .. .. .. .. .. .. .. #. .. .. :.= .. .. .. #o #. ",
" $#.@ *#; .. .. .. $#.@ *#; #.==.# #. =.. ..&; #.=*.. :.% =X .* .# .. .. :.% =X #.=*.. .. .. .. .. ..*=.# :.% =X #.=*.. #.==.. .. .. -#&+X :.% =X ",
" X.......; .... .... ... X.......; $-..-$ =##%... =#O@ $-.=... :..- .&O#= ........ :..- $-.=... .... .... ... ... ..:.-$ :..- $-.=... $Xo&o.: .... ... ;.;@ :..- ",
" .. ",
" .. ",
" .... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ",
" > > ",
" > $ > ",
" > ..... .. ..... ... ..... .. ....... O .... > ",
" > . . . . . . . . . . . . . . &o . . > ",
" > . . . . . . . . . . . -% . > ",
" > . . . . . . . . . . O@ . > ",
" > . . . +......... . . . +......... . . . +......... . ... .. .. @# . > ",
" > .... . .... . .... .. . . . . . *X ... > ",
" > . . . . . . . . . . . .. . ;= . > ",
" > . . . +......... . . . +......... . . . +......... . . .. . .$ . > ",
" > . . . . . . . . . . . . . . &o . > ",
" > . . . . . . . . . . . . . . . . . . :: . > ",
" > .... .. .... .... .. ..... .... .. ... ....... .. . .. O+ .... > ",
" > > ",
" > > ",
" > > ",
" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

View File

@ -1,135 +0,0 @@
/* XPM */
static const char *splitter_formula_xpm[] = {
/* columns rows colors chars-per-pixel */
"230 112 17 1",
". c Black",
"& c #D9D9D9",
"+ c #E1E1E1",
"$ c #F0F0F0",
" c #FFFFFF",
"@ c #E9E9E9",
"% c #BDBDBD",
"# c #4D4D4D",
"- c #A7A7A7",
"o c #7C7C7C",
"X c #9A9A9A",
"* c #C7C7C7",
"> c #C0C0C0",
"; c #8C8C8C",
": c #B2B2B2",
"= c #D0D0D0",
"O c #686868",
/* pixels */
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" . . ... . ...... ",
" . . .. . . ",
" . . . . . . . . . ",
" . . . . . . . . . ",
" . . .... .... ... . .. .. .. ... .... . .. . .. ......... . .. .. . . . ",
" . . . . . . ... . . . . . . .. . . ... . .. . . .. ..... ",
" . . . . ..... . . . . .. . . . . . . . . . . . . ",
" ..... . . . . . . . .. . . . . . . . ......... . . . . . . ",
" . . . . . . . . . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . ... . .. . . . . . . . . . . ... . . ",
" .... .... .. .. ... ... ... .. . ... .. .. ... .. ... ... .. .. . ....... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" .......X oo .......X ... oo ... oo ... ",
" .O+ @.#$ oo .O+ @.#$ % .. oo .. oo .. ",
" .& o.% .& o.% $# .. .. .. ",
" % *.O % *.O o. .. .. .. ",
" #.+ ... ...=#.= ........ #.+ $-..-$ ... ... o.... ........ $-.%.. $-..- =#... ... ...@Oo $-..- $-.%.. ... ...=#- =.-$ ...%.-$ $-..- $-.%.. $;..-$ ...=#.= X.#: $-..- ",
" -.- .. ..= .# -.- #.==.# .. .. .. #.==.. #.==.# #. *. .. ..&=o #.==.# #.==.. .. ..==.#.-.# ..+=.# #.==.# #.==.. O.$=.# ..= .# X.+:# #.==.# ",
" +.# .. .. .. +.# .. .. .. .. .. .. .. .. .. O.;$ .. .. .. .. .. .. .. .. ..= .. .. .. .. .. .. .. @.. .. .. #. .. .. ",
" O.* . .. .. .. ........ O.* . .. .. .. .. .. ........ .. .. ...... @o.#@ .. .. ...... .. .. .. .. .. .. .. .. ...... .. .. -.-.. .. .. .. ...... ",
" %.; =o .. .. .. %.; =o .. .. .. .. .. .. .. #. -.# .. .. #. .. .. .. .. .. .. .. .. #. .. .. :.= .. .. .. #o #. ",
" $#.@ *#; .. .. .. $#.@ *#; #.==.# #. =.. ..&; #.=*.. :.% =X .* .# .. .. :.% =X #.=*.. .. .. .. .. ..*=.# :.% =X #.=*.. #.==.. .. .. -#&+X :.% =X ",
" X.......; .... .... ... X.......; $-..-$ =##%... =#O@ $-.=... :..- .&O#= ........ :..- $-.=... .... .... ... ... ..:.-$ :..- $-.=... $Xo&o.: .... ... ;.;@ :..- ",
" .. ",
" .. ",
" .... ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ",
" > > ",
" > $ > ",
" > ..... .. ..... ... ..... .. ....... O .... > ",
" > . . . . . . . . . . . . . . &o . . > ",
" > . . . . . . . . . . . -% . > ",
" > . . . . . . . . . . O@ . > ",
" > . . . +......... . . . +......... . . . +......... . ... .. .. @# . > ",
" > .... . .... . .... .. . . . . . *X ... > ",
" > . . . . . . . . . . . .. . ;= . > ",
" > . . . +......... . . . +......... . . . +......... . . .. . .$ . > ",
" > . . . . . . . . . . . . . . &o . > ",
" > . . . . . . . . . . . . . . . . . . :: . > ",
" > .... .. .... .... .. ..... .... .. ... ....... .. . .. O+ .... > ",
" > > ",
" > > ",
" > > ",
" >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

View File

@ -1,271 +0,0 @@
/* XPM */
static const char *tee_formula_xpm[] = {
/* columns rows colors chars-per-pixel */
"255 248 17 1",
"X c Black",
"> c #D9D9D9",
"* c #E1E1E1",
"= c #F0F0F0",
" c #FFFFFF",
"o c #E9E9E9",
": c #BDBDBD",
"O c #4D4D4D",
"+ c #A7A7A7",
"# c #7C7C7C",
"& c #9A9A9A",
"@ c #C7C7C7",
". c #C0C0C0",
"- c #8C8C8C",
"; c #B2B2B2",
"% c #D0D0D0",
"$ c #686868",
/* pixels */
" ",
" ",
" .............................................................. ",
" . . ",
" . X . ",
" . XX . ",
" . X X . ",
" . X X . ",
" . XXX . ",
" . X X . ",
" . XXX XXX . ",
" . . ",
" . . ",
" . XXXXXXXXXXXX . ",
" . . ",
" . XX XX . ",
" . X X X X . ",
" . X X X . ",
" . XXXX X X XX X X X . X X oO X X X XXXXXX ",
" . XX XXX XXX X X X X X . XX +X@ XX X X ",
" . X X X X X X X X X . X X #X$ X X X X X X ",
" . X X X X X XXXX XX . X X %@&X% X X X X X X ",
" . X *XXXXXXXXX X X X . XXX XXX XXX X XXXX X XX #=*X- XXXXXXXXX XXX XXXXXXXX XXX X XX XX XX XXX XXXX X XX X XX X X XX XX X X X ",
" . X XXXX X X X . X X X XX X XX X o& #X* X X X X X X XXX X X X X X X XX X X XXX X XX XXX X X XX XXXXX ",
" . X X X X X . X X X X X X X +% %X+ XX X X XXXXX X X X X XX X X X X X X X X X X X X X ",
" . X X *XXXXXXXXX X X X . X X X X X X X X OXXXXXX= XXXXXXXXX XX X X X X X X X X XX X X X X X X X X X X X X X X ",
" . X X X X X . X X X X X X X X @; ;X+ X X X X X X X X X X X X X X X X X X X X X X X X ",
" . X X X X X . XX XX X X X X X *O* =XX% X XX X X X X X X X X X XXX X XX X X X X X X X X X X X XXX X X ",
" . XXXXXX XXX XX . X X XXX XX XXX XXX *XXX: *XXXX: XXX XX XX XX XXX XXX XXX XX X XXX XX XX XXX XX XXX XXX XXX XXX XXX XX X XXXXXXX ",
" . . ",
" . . ",
" . . ",
" .............................................................. ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXX X X X X X X X ",
" X X XX XX XX ",
" X X X X X X ",
" X X X X X ",
" X X X XX XXXXXXXXX XX X XXX XXX X X XX XXX XX X X X XX X XX XX XX XXXX X X XX XX X XX XXX XX X XXX X XX XXX XXX ",
" X XX XXX X X XX X X X X XX XXX X X X XX XX XXX X XXX X X X X XX XXX XX X XXX X X X X XX X X XXX X X X X X ",
" X X X X X X XXXXX X X X XXXXX X X X X X X X X X X X X X X X X XXXXX X X XX X X X XXXXX ",
" X X X X XXXXXXXXX X X X XX X X X X X X X X X X X X X X X X X X X X X X XX X X X X X ",
" X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X ",
" X X X X X X XXX X X X X X X X X X XXX X X X XX X X XXX X X X X X X XX X X X X XXX X XX X X X X X X ",
" XXXXXXXX XXX XXX XXX XX X XXX XXX XXXXXX XXX XX X XXX XXX XXX X XX XX X XX XXX XXX XXX XXX X XX XXX XX X XXX XXXXX XXX XXX XXX ",
" X X ",
" X X ",
" XXX XXX ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" XXXXXXX X X X X X ",
" X X XX XX XX ",
" X X X X X X X X ",
" X X X X X X X ",
" X XX XX XX XXXX XXXXXXXXX XX X XXX XXX X X XX XXX XX X XX XX XX XXXX X XX XX XX XXXX X X XX XX X XX XXX XX X XXX X XX XXX XXX ",
" X X X X X X X XX X X X X XX XXX X X X XX X X X X X XXX X X X X XX XXX XX X XXX X X X X XX X X XXX X X X X X ",
" X X X X X X X X XXXXX X X X XXXXX X X X X X X X X X X X X X X X X X X XXXXX X X XX X X X XXXXX ",
" X X X X X X XXXXXXXXX X X X XX X X X X X X X X X X X X X X X X X X X X X X X X XX X X X X X ",
" X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X ",
" X X X X X XXX X X X XXX X X X X X X X X X XXX X X X XXX X X XX X X XXX X X X X X X XX X X X X XXX X XX X X X X X X ",
" XXXXXXXX XX XX X XX XX X XXX XXX XXXXXX XXX XX X XX XX X XX X XX XX X XX XXX XXX XXX XXX X XX XXX XX X XXX XXXXX XXX XXX XXX ",
" X X ",
" X X ",
" XXX XXX ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ................................................................................................................................................................ ",
" . ; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . ; . ",
" . ; . ",
" . *> . ",
" . XXX := XXXXXXX XXXXXXX XXXX X . ",
" . X X + X X X X X XX XXX . ",
" . X X + X X X X X X X . ",
" . X -* *@ X -* X X -* X X . ",
" . X =; &*o; > :o X XXX XX XX =; &*o; X XXX XX X XXX =; &*o; X . ",
" . X =+#&;$% @-o - X X X X X =+#&;$% X XX X X X X X =+#&;$% X XXXX . ",
" . X %O$= >+ - X X XX X %O$= X X X X X X %O$= X X . ",
" . X o$;;%#+ # o: X X XX X o$;;%#+ X X X X X X o$;;%#+ X X . ",
" . X > -* > ;>@> X X X X X > -* > X X X X X XX X > -* > X X . ",
" . XXXXX XXX X X ;o =&& X X X X X X X ;o X X X XX X XX X X X ;o X X . ",
" . X X X X XXXXXX #- XXXXXXX XX X XX XXXXXXX XXX XXX XX XXX XXXXXX . ",
" . X X X %+ . ",
" . X X X . ",
" . X X X *XXXXXXXXX . ",
" . XXXX X . ",
" . X X X XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X *XXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . ",
" . X X X . ",
" . X X X X o% %o . ",
" . XXXX XX XXXXX + + . ",
" . o; XXXX X X ;= . ",
" . :% XX XXX XXX %@ . ",
" . -* X X X *& . ",
" . $ X X X # . ",
" . X X X X . ",
" . X X XXXX X X . ",
" . X X X *XXXXXXXXX X X . ",
" . X X X X X . ",
" . # X X X $ . ",
" . -* X X X *- . ",
" . @% XXXXXX XXX %: . ",
" . =; ;o . ",
" . + + . ",
" . o> >o . ",
" ................................................................................................................................................................ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ........................................................................................................................................................ ",
" . . ",
" . . ",
" . XXXX X X . ",
" . XX XXX o XXX . ",
" . X X - X . ",
" . X X - X . ",
" . X - X . ",
" . X XXXX - X . ",
" . X X o----O---- X . ",
" . X X - X . ",
" . X X - X . ",
" . XXXXX XX XXXXXXX X X - X XXXXX XXX . ",
" . X X X X X X XXXXXX - XXX X X X X . ",
" . X X X X X X X X X . ",
" . X X X X X -* X X X . ",
" . X X X *XXXXXXXXX X XXX XX X XXX =; &*o; X X X . ",
" . XXXX XX X XX X X X X X =+#&;$% XXXX X . ",
" . X X X X X X X X X %O$= *XXXXXXXXX X X X . ",
" . X X X *XXXXXXXXX X X X X X X o$;;%#+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X X X . ",
" . X X X X X X X X XX X > -* > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X X X . ",
" . X X X X X X X XX X XX X X X ;o X X X X . ",
" . XXXX XX XXX XXXXXXX XXX XXX XX XXX XXXX XX XXXXX . ",
" . XXXX X X . ",
" . XX XXX XXX . ",
" . X X X . ",
" . X X X . ",
" . X X . ",
" . X XXXX X . ",
" . X X *XXXXXXXXX X . ",
" . X X X . ",
" . X X X . ",
" . X X X . ",
" . XXXXXX XXX . ",
" . . ",
" . . ",
" . . ",
" ........................................................................................................................................................ ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" .............................................................................................................................................. ",
" . . ",
" . . ",
" . XXXX X X . ",
" . XX XXX o XXX . ",
" . X X - X . ",
" . X X - X . ",
" . X - X . ",
" . X XXXX - X . ",
" . X X o----O---- X . ",
" . X X - X . ",
" . X X - X . ",
" . XXXXX XX XXXXXXX X X - X XXXXX XXX . ",
" . X X X X X X XXXXXX - XXX X X X X . ",
" . X X X X X X X X . ",
" . X X X X -* X X X . ",
" . X X X *XXXXXXXXX X XXX XX XX =; &*o; X X X . ",
" . XXXX X X X X X X =+#&;$% XXXX X . ",
" . X X X X X XX X %O$= *XXXXXXXXX X X X . ",
" . X X X *XXXXXXXXX X X XX X o$;;%#+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X X X . ",
" . X X X X X X X X > -* > XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X X X . ",
" . X X X X X X X X X X ;o X X X X . ",
" . XXXX XX XXXX XXXXXXX XX X XX XXXX XX XXXXX . ",
" . XXXX X X . ",
" . XX XXX XXX . ",
" . X X X . ",
" . X X X . ",
" . X X . ",
" . X XXXX X . ",
" . X X *XXXXXXXXX X . ",
" . X X X . ",
" . X X X . ",
" . X X X . ",
" . XXXXXX XXX . ",
" . . ",
" . . ",
" . . ",
" .............................................................................................................................................. ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" ",
" "
};

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<wxFormBuilder_Project> <wxFormBuilder_Project>
<FileVersion major="1" minor="11" /> <FileVersion major="1" minor="13" />
<object class="Project" expanded="1"> <object class="Project" expanded="1">
<property name="class_decoration"></property> <property name="class_decoration"></property>
<property name="code_generation">C++</property> <property name="code_generation">C++</property>
@ -20,67 +20,35 @@
<property name="path">.</property> <property name="path">.</property>
<property name="precompiled_header"></property> <property name="precompiled_header"></property>
<property name="relative_path">1</property> <property name="relative_path">1</property>
<property name="skip_lua_events">1</property>
<property name="skip_php_events">1</property> <property name="skip_php_events">1</property>
<property name="skip_python_events">1</property> <property name="skip_python_events">1</property>
<property name="ui_table">UI</property>
<property name="use_enum">0</property> <property name="use_enum">0</property>
<property name="use_microsoft_bom">0</property> <property name="use_microsoft_bom">0</property>
<object class="Dialog" expanded="1"> <object class="Dialog" expanded="1">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_layer"></property>
<property name="aui_managed">0</property> <property name="aui_managed">0</property>
<property name="aui_name"></property> <property name="aui_manager_style">wxAUI_MGR_DEFAULT</property>
<property name="aui_position"></property>
<property name="aui_row"></property>
<property name="best_size"></property>
<property name="bg"></property> <property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center">wxBOTH</property> <property name="center">wxBOTH</property>
<property name="center_pane">0</property>
<property name="close_button">1</property>
<property name="context_help"></property> <property name="context_help"></property>
<property name="context_menu">1</property> <property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property> <property name="enabled">1</property>
<property name="event_handler">impl_virtual</property> <property name="event_handler">impl_virtual</property>
<property name="extra_style"></property> <property name="extra_style"></property>
<property name="fg"></property> <property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property> <property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property> <property name="hidden">0</property>
<property name="id">wxID_ANY</property> <property name="id">wxID_ANY</property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property> <property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="moveable">1</property>
<property name="name">DIALOG_EDITOR_DATA_BASE</property> <property name="name">DIALOG_EDITOR_DATA_BASE</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="pin_button">1</property>
<property name="pos"></property> <property name="pos"></property>
<property name="resize">Resizable</property> <property name="size">292,200</property>
<property name="show">1</property>
<property name="size">310,210</property>
<property name="style">wxDEFAULT_DIALOG_STYLE</property> <property name="style">wxDEFAULT_DIALOG_STYLE</property>
<property name="subclass">DIALOG_SHIM; dialog_shim.h</property> <property name="subclass">DIALOG_SHIM; dialog_shim.h</property>
<property name="title">Regulator Parameters</property> <property name="title">Regulator Parameters</property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -195,10 +163,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -383,10 +347,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -561,10 +521,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -648,10 +604,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -833,10 +785,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -1011,10 +959,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -1046,6 +990,16 @@
</object> </object>
</object> </object>
</object> </object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND</property>
<property name="proportion">1</property>
<object class="spacer" expanded="1">
<property name="height">0</property>
<property name="permission">protected</property>
<property name="width">0</property>
</object>
</object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxEXPAND | wxALL</property> <property name="flag">wxEXPAND | wxALL</property>
@ -1099,10 +1053,6 @@
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style"></property> <property name="window_style"></property>
@ -1133,7 +1083,7 @@
</object> </object>
<object class="sizeritem" expanded="1"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxEXPAND</property> <property name="flag">wxEXPAND|wxALL</property>
<property name="proportion">0</property> <property name="proportion">0</property>
<object class="wxStdDialogButtonSizer" expanded="1"> <object class="wxStdDialogButtonSizer" expanded="1">
<property name="Apply">0</property> <property name="Apply">0</property>
@ -1148,7 +1098,7 @@
<property name="name">m_sdbSizerButtons</property> <property name="name">m_sdbSizerButtons</property>
<property name="permission">protected</property> <property name="permission">protected</property>
<event name="OnApplyButtonClick"></event> <event name="OnApplyButtonClick"></event>
<event name="OnCancelButtonClick">OnCancelClick</event> <event name="OnCancelButtonClick"></event>
<event name="OnContextHelpButtonClick"></event> <event name="OnContextHelpButtonClick"></event>
<event name="OnHelpButtonClick"></event> <event name="OnHelpButtonClick"></event>
<event name="OnNoButtonClick"></event> <event name="OnNoButtonClick"></event>

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Mar 17 2012) // C++ code generated with wxFormBuilder (version Jan 1 2016)
// http://www.wxformbuilder.org/ // http://www.wxformbuilder.org/
// //
// PLEASE DO "NOT" EDIT THIS FILE! // PLEASE DO "NOT" EDIT THIS FILE!
@ -71,6 +71,9 @@ DIALOG_EDITOR_DATA_BASE::DIALOG_EDITOR_DATA_BASE( wxWindow* parent, wxWindowID i
bSizerMain->Add( fgSizerPrms, 0, wxEXPAND, 5 ); bSizerMain->Add( fgSizerPrms, 0, wxEXPAND, 5 );
bSizerMain->Add( 0, 0, 1, wxEXPAND, 5 );
m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL ); m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
bSizerMain->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 ); bSizerMain->Add( m_staticline2, 0, wxEXPAND | wxALL, 5 );
@ -81,7 +84,7 @@ DIALOG_EDITOR_DATA_BASE::DIALOG_EDITOR_DATA_BASE( wxWindow* parent, wxWindowID i
m_sdbSizerButtons->AddButton( m_sdbSizerButtonsCancel ); m_sdbSizerButtons->AddButton( m_sdbSizerButtonsCancel );
m_sdbSizerButtons->Realize(); m_sdbSizerButtons->Realize();
bSizerMain->Add( m_sdbSizerButtons, 0, wxEXPAND, 5 ); bSizerMain->Add( m_sdbSizerButtons, 0, wxEXPAND|wxALL, 5 );
this->SetSizer( bSizerMain ); this->SetSizer( bSizerMain );
@ -91,7 +94,6 @@ DIALOG_EDITOR_DATA_BASE::DIALOG_EDITOR_DATA_BASE( wxWindow* parent, wxWindowID i
// Connect Events // Connect Events
m_choiceRegType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnRegTypeSelection ), NULL, this ); m_choiceRegType->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnRegTypeSelection ), NULL, this );
m_sdbSizerButtonsCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnCancelClick ), NULL, this );
m_sdbSizerButtonsOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnOKClick ), NULL, this ); m_sdbSizerButtonsOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnOKClick ), NULL, this );
} }
@ -99,7 +101,6 @@ DIALOG_EDITOR_DATA_BASE::~DIALOG_EDITOR_DATA_BASE()
{ {
// Disconnect Events // Disconnect Events
m_choiceRegType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnRegTypeSelection ), NULL, this ); m_choiceRegType->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnRegTypeSelection ), NULL, this );
m_sdbSizerButtonsCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnCancelClick ), NULL, this );
m_sdbSizerButtonsOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnOKClick ), NULL, this ); m_sdbSizerButtonsOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EDITOR_DATA_BASE::OnOKClick ), NULL, this );
} }

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Mar 17 2012) // C++ code generated with wxFormBuilder (version Jan 1 2016)
// http://www.wxformbuilder.org/ // http://www.wxformbuilder.org/
// //
// PLEASE DO "NOT" EDIT THIS FILE! // PLEASE DO "NOT" EDIT THIS FILE!
@ -11,6 +11,8 @@
#include <wx/artprov.h> #include <wx/artprov.h>
#include <wx/xrc/xmlres.h> #include <wx/xrc/xmlres.h>
#include <wx/intl.h> #include <wx/intl.h>
class DIALOG_SHIM;
#include "dialog_shim.h" #include "dialog_shim.h"
#include <wx/string.h> #include <wx/string.h>
#include <wx/stattext.h> #include <wx/stattext.h>
@ -53,13 +55,12 @@ class DIALOG_EDITOR_DATA_BASE : public DIALOG_SHIM
// Virtual event handlers, overide them in your derived class // Virtual event handlers, overide them in your derived class
virtual void OnRegTypeSelection( wxCommandEvent& event ) { event.Skip(); } virtual void OnRegTypeSelection( wxCommandEvent& event ) { event.Skip(); }
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); } virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); }
public: public:
DIALOG_EDITOR_DATA_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Regulator Parameters"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 310,210 ), long style = wxDEFAULT_DIALOG_STYLE ); DIALOG_EDITOR_DATA_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Regulator Parameters"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 292,200 ), long style = wxDEFAULT_DIALOG_STYLE );
~DIALOG_EDITOR_DATA_BASE(); ~DIALOG_EDITOR_DATA_BASE();
}; };

View File

@ -518,7 +518,7 @@ PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE( wxWindow* parent, wxWindow
m_panelTrackWidth->SetSizer( bSizerTrackWidth ); m_panelTrackWidth->SetSizer( bSizerTrackWidth );
m_panelTrackWidth->Layout(); m_panelTrackWidth->Layout();
bSizerTrackWidth->Fit( m_panelTrackWidth ); bSizerTrackWidth->Fit( m_panelTrackWidth );
m_Notebook->AddPage( m_panelTrackWidth, _("Track Width"), true ); m_Notebook->AddPage( m_panelTrackWidth, _("Track Width"), false );
m_panelElectricalSpacing = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); m_panelElectricalSpacing = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizerElectricalClearance; wxBoxSizer* bSizerElectricalClearance;
bSizerElectricalClearance = new wxBoxSizer( wxHORIZONTAL ); bSizerElectricalClearance = new wxBoxSizer( wxHORIZONTAL );
@ -1161,9 +1161,7 @@ PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE( wxWindow* parent, wxWindow
wxStaticBoxSizer* sbRightSizerFormula; wxStaticBoxSizer* sbRightSizerFormula;
sbRightSizerFormula = new wxStaticBoxSizer( new wxStaticBox( sbSizerAtt->GetStaticBox(), wxID_ANY, _("Formula") ), wxVERTICAL ); sbRightSizerFormula = new wxStaticBoxSizer( new wxStaticBox( sbSizerAtt->GetStaticBox(), wxID_ANY, _("Formula") ), wxVERTICAL );
m_panelAttFormula = new wxPanel( sbRightSizerFormula->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxSize( -1,-1 ), wxSIMPLE_BORDER|wxTAB_TRAVERSAL ); m_panelAttFormula = new wxHtmlWindow( sbRightSizerFormula->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
m_panelAttFormula->SetMinSize( wxSize( 200,-1 ) );
sbRightSizerFormula->Add( m_panelAttFormula, 1, wxALL|wxEXPAND, 5 ); sbRightSizerFormula->Add( m_panelAttFormula, 1, wxALL|wxEXPAND, 5 );
@ -1173,7 +1171,7 @@ PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE( wxWindow* parent, wxWindow
m_panelAttenuators->SetSizer( sbSizerAtt ); m_panelAttenuators->SetSizer( sbSizerAtt );
m_panelAttenuators->Layout(); m_panelAttenuators->Layout();
sbSizerAtt->Fit( m_panelAttenuators ); sbSizerAtt->Fit( m_panelAttenuators );
m_Notebook->AddPage( m_panelAttenuators, _("RF Attenuators"), false ); m_Notebook->AddPage( m_panelAttenuators, _("RF Attenuators"), true );
m_panelColorCode = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL ); m_panelColorCode = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
wxBoxSizer* bSizerPanelColorCode; wxBoxSizer* bSizerPanelColorCode;
bSizerPanelColorCode = new wxBoxSizer( wxHORIZONTAL ); bSizerPanelColorCode = new wxBoxSizer( wxHORIZONTAL );
@ -1349,7 +1347,6 @@ PCB_CALCULATOR_FRAME_BASE::PCB_CALCULATOR_FRAME_BASE( wxWindow* parent, wxWindow
m_AttenuatorsSelection->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnAttenuatorSelection ), NULL, this ); m_AttenuatorsSelection->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnAttenuatorSelection ), NULL, this );
m_panelDisplayAttenuator->Connect( wxEVT_PAINT, wxPaintEventHandler( PCB_CALCULATOR_FRAME_BASE::OnPaintAttenuatorPanel ), NULL, this ); m_panelDisplayAttenuator->Connect( wxEVT_PAINT, wxPaintEventHandler( PCB_CALCULATOR_FRAME_BASE::OnPaintAttenuatorPanel ), NULL, this );
m_buttonAlcAtt->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnCalculateAttenuator ), NULL, this ); m_buttonAlcAtt->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnCalculateAttenuator ), NULL, this );
m_panelAttFormula->Connect( wxEVT_PAINT, wxPaintEventHandler( PCB_CALCULATOR_FRAME_BASE::OnPaintAttFormulaPanel ), NULL, this );
m_rbToleranceSelection->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnToleranceSelection ), NULL, this ); m_rbToleranceSelection->Connect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnToleranceSelection ), NULL, this );
m_BoardClassesUnitsSelector->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnBoardClassesUnitsSelection ), NULL, this ); m_BoardClassesUnitsSelector->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnBoardClassesUnitsSelection ), NULL, this );
} }
@ -1390,7 +1387,6 @@ PCB_CALCULATOR_FRAME_BASE::~PCB_CALCULATOR_FRAME_BASE()
m_AttenuatorsSelection->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnAttenuatorSelection ), NULL, this ); m_AttenuatorsSelection->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnAttenuatorSelection ), NULL, this );
m_panelDisplayAttenuator->Disconnect( wxEVT_PAINT, wxPaintEventHandler( PCB_CALCULATOR_FRAME_BASE::OnPaintAttenuatorPanel ), NULL, this ); m_panelDisplayAttenuator->Disconnect( wxEVT_PAINT, wxPaintEventHandler( PCB_CALCULATOR_FRAME_BASE::OnPaintAttenuatorPanel ), NULL, this );
m_buttonAlcAtt->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnCalculateAttenuator ), NULL, this ); m_buttonAlcAtt->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnCalculateAttenuator ), NULL, this );
m_panelAttFormula->Disconnect( wxEVT_PAINT, wxPaintEventHandler( PCB_CALCULATOR_FRAME_BASE::OnPaintAttFormulaPanel ), NULL, this );
m_rbToleranceSelection->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnToleranceSelection ), NULL, this ); m_rbToleranceSelection->Disconnect( wxEVT_COMMAND_RADIOBOX_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnToleranceSelection ), NULL, this );
m_BoardClassesUnitsSelector->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnBoardClassesUnitsSelection ), NULL, this ); m_BoardClassesUnitsSelector->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( PCB_CALCULATOR_FRAME_BASE::OnBoardClassesUnitsSelection ), NULL, this );

View File

@ -3269,7 +3269,7 @@
<object class="notebookpage" expanded="1"> <object class="notebookpage" expanded="1">
<property name="bitmap"></property> <property name="bitmap"></property>
<property name="label">Track Width</property> <property name="label">Track Width</property>
<property name="select">1</property> <property name="select">0</property>
<object class="wxPanel" expanded="1"> <object class="wxPanel" expanded="1">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>
<property name="LeftDockable">1</property> <property name="LeftDockable">1</property>
@ -15262,7 +15262,7 @@
<object class="notebookpage" expanded="1"> <object class="notebookpage" expanded="1">
<property name="bitmap"></property> <property name="bitmap"></property>
<property name="label">RF Attenuators</property> <property name="label">RF Attenuators</property>
<property name="select">0</property> <property name="select">1</property>
<object class="wxPanel" expanded="1"> <object class="wxPanel" expanded="1">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>
<property name="LeftDockable">1</property> <property name="LeftDockable">1</property>
@ -17506,11 +17506,11 @@
<property name="parent">1</property> <property name="parent">1</property>
<property name="permission">none</property> <property name="permission">none</property>
<event name="OnUpdateUI"></event> <event name="OnUpdateUI"></event>
<object class="sizeritem" expanded="0"> <object class="sizeritem" expanded="1">
<property name="border">5</property> <property name="border">5</property>
<property name="flag">wxALL|wxEXPAND</property> <property name="flag">wxALL|wxEXPAND</property>
<property name="proportion">1</property> <property name="proportion">1</property>
<object class="wxPanel" expanded="0"> <object class="wxHtmlWindow" expanded="1">
<property name="BottomDockable">1</property> <property name="BottomDockable">1</property>
<property name="LeftDockable">1</property> <property name="LeftDockable">1</property>
<property name="RightDockable">1</property> <property name="RightDockable">1</property>
@ -17543,7 +17543,7 @@
<property name="maximum_size"></property> <property name="maximum_size"></property>
<property name="min_size"></property> <property name="min_size"></property>
<property name="minimize_button">0</property> <property name="minimize_button">0</property>
<property name="minimum_size">200,-1</property> <property name="minimum_size"></property>
<property name="moveable">1</property> <property name="moveable">1</property>
<property name="name">m_panelAttFormula</property> <property name="name">m_panelAttFormula</property>
<property name="pane_border">1</property> <property name="pane_border">1</property>
@ -17554,16 +17554,20 @@
<property name="pos"></property> <property name="pos"></property>
<property name="resize">Resizable</property> <property name="resize">Resizable</property>
<property name="show">1</property> <property name="show">1</property>
<property name="size">-1,-1</property> <property name="size"></property>
<property name="style">wxHW_SCROLLBAR_AUTO</property>
<property name="subclass"></property> <property name="subclass"></property>
<property name="toolbar_pane">0</property> <property name="toolbar_pane">0</property>
<property name="tooltip"></property> <property name="tooltip"></property>
<property name="window_extra_style"></property> <property name="window_extra_style"></property>
<property name="window_name"></property> <property name="window_name"></property>
<property name="window_style">wxSIMPLE_BORDER|wxTAB_TRAVERSAL</property> <property name="window_style"></property>
<event name="OnChar"></event> <event name="OnChar"></event>
<event name="OnEnterWindow"></event> <event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event> <event name="OnEraseBackground"></event>
<event name="OnHtmlCellClicked"></event>
<event name="OnHtmlCellHover"></event>
<event name="OnHtmlLinkClicked"></event>
<event name="OnKeyDown"></event> <event name="OnKeyDown"></event>
<event name="OnKeyUp"></event> <event name="OnKeyUp"></event>
<event name="OnKillFocus"></event> <event name="OnKillFocus"></event>
@ -17577,7 +17581,7 @@
<event name="OnMotion"></event> <event name="OnMotion"></event>
<event name="OnMouseEvents"></event> <event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event> <event name="OnMouseWheel"></event>
<event name="OnPaint">OnPaintAttFormulaPanel</event> <event name="OnPaint"></event>
<event name="OnRightDClick"></event> <event name="OnRightDClick"></event>
<event name="OnRightDown"></event> <event name="OnRightDown"></event>
<event name="OnRightUp"></event> <event name="OnRightUp"></event>

View File

@ -252,7 +252,7 @@ class PCB_CALCULATOR_FRAME_BASE : public KIWAY_PLAYER
wxStaticText* m_attR3Unit; wxStaticText* m_attR3Unit;
wxStaticText* m_staticTextAttMsg; wxStaticText* m_staticTextAttMsg;
wxHtmlWindow* m_Attenuator_Messages; wxHtmlWindow* m_Attenuator_Messages;
wxPanel* m_panelAttFormula; wxHtmlWindow* m_panelAttFormula;
wxPanel* m_panelColorCode; wxPanel* m_panelColorCode;
wxRadioBox* m_rbToleranceSelection; wxRadioBox* m_rbToleranceSelection;
wxStaticText* m_staticText31; wxStaticText* m_staticText31;
@ -298,7 +298,6 @@ class PCB_CALCULATOR_FRAME_BASE : public KIWAY_PLAYER
virtual void OnAttenuatorSelection( wxCommandEvent& event ) { event.Skip(); } virtual void OnAttenuatorSelection( wxCommandEvent& event ) { event.Skip(); }
virtual void OnPaintAttenuatorPanel( wxPaintEvent& event ) { event.Skip(); } virtual void OnPaintAttenuatorPanel( wxPaintEvent& event ) { event.Skip(); }
virtual void OnCalculateAttenuator( wxCommandEvent& event ) { event.Skip(); } virtual void OnCalculateAttenuator( wxCommandEvent& event ) { event.Skip(); }
virtual void OnPaintAttFormulaPanel( wxPaintEvent& event ) { event.Skip(); }
virtual void OnToleranceSelection( wxCommandEvent& event ) { event.Skip(); } virtual void OnToleranceSelection( wxCommandEvent& event ) { event.Skip(); }
virtual void OnBoardClassesUnitsSelection( wxCommandEvent& event ) { event.Skip(); } virtual void OnBoardClassesUnitsSelection( wxCommandEvent& event ) { event.Skip(); }

View File

@ -84,7 +84,6 @@ private:
// icons that show the current item on the specific panels // icons that show the current item on the specific panels
void OnPaintTranslinePanel( wxPaintEvent& event ); void OnPaintTranslinePanel( wxPaintEvent& event );
void OnPaintAttenuatorPanel( wxPaintEvent& event ); void OnPaintAttenuatorPanel( wxPaintEvent& event );
void OnPaintAttFormulaPanel( wxPaintEvent& event );
// Config read-write, virtual from EDA_BASE_FRAME // Config read-write, virtual from EDA_BASE_FRAME
void LoadSettings( wxConfigBase* aCfg ); void LoadSettings( wxConfigBase* aCfg );

View File

@ -106,24 +106,25 @@ void DIALOG_EDITOR_DATA::OnOKClick( wxCommandEvent& event )
bool DIALOG_EDITOR_DATA::IsOK() bool DIALOG_EDITOR_DATA::IsOK()
{ {
bool ok = true; bool success = true;
if( m_textCtrlName->GetValue().IsEmpty() ) if( m_textCtrlName->GetValue().IsEmpty() )
ok = false; success = false;
if( m_textCtrlVref->GetValue().IsEmpty() ) if( m_textCtrlVref->GetValue().IsEmpty() )
ok = false; success = false;
else else
{ {
double vref = DoubleFromString( m_textCtrlVref->GetValue() ); double vref = DoubleFromString( m_textCtrlVref->GetValue() );
if( fabs(vref) < 0.01 ) if( fabs(vref) < 0.01 )
ok = false; success = false;
} }
if( m_choiceRegType->GetSelection() == 1 ) if( m_choiceRegType->GetSelection() == 1 )
{ {
if( m_RegulIadjValue->GetValue().IsEmpty() ) if( m_RegulIadjValue->GetValue().IsEmpty() )
ok = false; success = false;
} }
return ok; return success;
} }
void DIALOG_EDITOR_DATA::CopyRegulatorDataToDialog( REGULATOR_DATA * aItem ) void DIALOG_EDITOR_DATA::CopyRegulatorDataToDialog( REGULATOR_DATA * aItem )

View File

@ -542,6 +542,7 @@ void GITHUB_PLUGIN::remoteGetZip( const wxString& aRepoURL ) throw( IO_ERROR )
catch( const IO_ERROR& ioe ) catch( const IO_ERROR& ioe )
{ {
// https "GET" has faild, report this to API caller. // https "GET" has faild, report this to API caller.
// Note: kcurl.Perform() does not return an error if the file to download is not found
UTF8 fmt( _( "%s\nCannot get/download Zip archive: '%s'\nfor library path: '%s'.\nReason: '%s'" ) ); UTF8 fmt( _( "%s\nCannot get/download Zip archive: '%s'\nfor library path: '%s'.\nReason: '%s'" ) );
std::string msg = StrPrintf( fmt.c_str(), std::string msg = StrPrintf( fmt.c_str(),