25#include <wx/settings.h> 
   26#include <wx/dcbuffer.h> 
   74    SetMinSize( GetBestSize() );
 
 
  164    return aOptions.
All();
 
 
  172    wxCheckBox* cb = 
dynamic_cast<wxCheckBox*
>( aEvent.GetEventObject() );
 
  180    label.Printf( 
_( 
"Only %s" ),  cb->GetLabel().Lower() );
 
  182    menu.Append( 
new wxMenuItem( &menu, wxID_ANY, label, wxEmptyString, wxITEM_NORMAL ) );
 
 
  211    wxCommandEvent 
dummy;
 
 
  268        int step = --( it->second );
 
 
  289    wxPaintDC dc( 
this );
 
  297        wxCheckBox* checkbox = pair.first;
 
  298        int step = pair.second;
 
  303            wxPoint checkboxPos = checkbox->GetPosition();
 
  304            wxSize checkboxSize = checkbox->GetSize();
 
  305            wxRect checkboxRect( checkboxPos, checkboxSize );
 
  308            wxColour highlight = wxSystemSettings::GetColour( wxSYS_COLOUR_HIGHLIGHT );
 
  315            wxColour overlayColor( blend.Red(), blend.Green(), blend.Blue(), 128 );
 
  316            dc.SetBrush( wxBrush( overlayColor ) );
 
  317            dc.SetPen( wxPen( overlayColor ) );
 
  318            dc.DrawRectangle( checkboxRect );
 
 
wxCheckBox * m_cbAllItems
 
PANEL_SELECTION_FILTER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
wxCheckBox * m_cbKeepouts
 
wxCheckBox * m_cbFootprints
 
wxCheckBox * m_cbLockedItems
 
wxCheckBox * m_cbOtherItems
 
wxCheckBox * m_cbGraphics
 
wxCheckBox * m_cbDimensions
 
PCB_BASE_EDIT_FRAME * m_frame
 
void onPopupSelection(wxCommandEvent &aEvent)
 
std::map< wxCheckBox *, int > m_flashCounters
 
void flashCheckbox(wxCheckBox *aBox)
 
PCB_SELECTION_TOOL * m_tool
 
bool setFilterFromCheckboxes(PCB_SELECTION_FILTER_OPTIONS &aOptions)
 
wxCheckBox * m_onlyCheckbox
 
PANEL_SELECTION_FILTER(wxWindow *aParent)
 
void OnFlashEvent(PCB_SELECTION_FILTER_EVENT &aEvent)
 
void SetCheckboxesFromFilter(PCB_SELECTION_FILTER_OPTIONS &aOptions)
 
void onFlashTimer(wxTimerEvent &aEvent)
 
void OnLanguageChanged(wxCommandEvent &aEvent)
 
void OnFilterChanged(wxCommandEvent &aEvent) override
 
~PANEL_SELECTION_FILTER()
 
void onRightClick(wxMouseEvent &aEvent)
 
void onPanelPaint(wxPaintEvent &aEvent)
 
Common, abstract interface for edit frames.
 
PCB_SELECTION_FILTER_OPTIONS m_options
 
void SetBorders(bool aLeft, bool aRight, bool aTop, bool aBottom)
 
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
 
wxDEFINE_EVENT(EVT_PCB_SELECTION_FILTER_FLASH, PCB_SELECTION_FILTER_EVENT)
 
void Refresh()
Update the board display after modifying it by a python script (note: it is automatically called by a...
 
std::vector< FAB_LAYER_COLOR > dummy
 
This file contains data structures that are saved in the project file or project local settings file ...
 
bool otherItems
Anything not fitting one of the above categories.
 
bool vias
Vias (all types>
 
bool keepouts
Keepout zones.
 
bool graphics
Graphic lines, shapes, polygons.
 
bool footprints
Allow selecting entire footprints.
 
bool text
Text (free or attached to a footprint)
 
bool lockedItems
Allow selecting locked items.
 
bool tracks
Copper tracks.
 
bool dimensions
Dimension items.