25#include <wx/stattext.h>
31 m_libraryItem( nullptr ),
34 wxBoxSizer* bottomSizer =
new wxBoxSizer( wxHORIZONTAL );
36 wxStaticText* schLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Board" ) );
37 wxStaticText* libLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Library" ) );
38 m_slider =
new wxSlider(
this, wxID_ANY, 50, 0, 100 );
40 bottomSizer->Add( schLabel, 0, wxLEFT | wxRIGHT | wxBOTTOM | wxALIGN_CENTRE_VERTICAL, 6 );
41 bottomSizer->Add(
m_slider, 1, wxLEFT | wxRIGHT | wxALIGN_BOTTOM, 30 );
42 bottomSizer->Add( libLabel, 0, wxLEFT | wxRIGHT | wxBOTTOM | wxALIGN_CENTRE_VERTICAL, 6 );
44 m_outerSizer->Add( bottomSizer, 0, wxTOP | wxLEFT | wxRIGHT | wxEXPAND, 10 );
61 std::shared_ptr<FOOTPRINT>& aLibFootprint )
93 double pct = (double)
m_slider->GetValue() / 100.0;
102 val = ( pct - 0.5 ) * 2;
120 val = 1.0 - ( pct * 2 );
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
void SetForcedTransparency(double aForcedTransparency)
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
static constexpr EDA_ANGLE ANGLE_0
std::vector< FAB_LAYER_COLOR > dummy