| 
    KiCad PCB EDA Suite
    
   | 
 
#include <gbr_layer_box_selector.h>
  
Public Member Functions | |
| GBR_LAYER_BOX_SELECTOR (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=nullptr) | |
| void | Resync () override | 
| bool | isLayerEnabled (int aLayer) const override | 
| Return true if the layer id is enabled (i.e. is it should be displayed).   | |
| int | GetLayerSelection () const | 
| int | SetLayerSelection (int layer) | 
| bool | SetLayersHotkeys (bool value) | 
Protected Attributes | |
| bool | m_layerhotkeys | 
Private Attributes | |
| std::unique_ptr< LAYER_PRESENTATION > | m_layerPresentation | 
Definition at line 35 of file gbr_layer_box_selector.h.
| GBR_LAYER_BOX_SELECTOR::GBR_LAYER_BOX_SELECTOR | ( | wxWindow * | parent, | 
| wxWindowID | id, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxDefaultSize, | ||
| int | n = 0, | ||
| const wxString | choices[] = nullptr ) | 
Definition at line 66 of file gbr_layer_box_selector.cpp.
References LAYER_BOX_SELECTOR::LAYER_BOX_SELECTOR(), LAYER_SELECTOR::m_layerhotkeys, and m_layerPresentation.
      
  | 
  inherited | 
Definition at line 71 of file layer_box_selector.cpp.
References UNDEFINED_LAYER.
Referenced by GRID_CELL_LAYER_SELECTOR::EndEdit().
      
  | 
  inlineoverridevirtual | 
Return true if the layer id is enabled (i.e. is it should be displayed).
Implements LAYER_SELECTOR.
Definition at line 46 of file gbr_layer_box_selector.h.
Referenced by Resync().
      
  | 
  overridevirtual | 
Implements LAYER_BOX_SELECTOR.
Definition at line 76 of file gbr_layer_box_selector.cpp.
References GERBER_FILE_IMAGE_LIST::GetGbrImage(), GERBER_FILE_IMAGE_LIST::GetImagesList(), GERBER_FILE_IMAGE_LIST::ImagesMaxCount(), isLayerEnabled(), m_layerPresentation, and scale.
      
  | 
  inherited | 
Definition at line 80 of file layer_box_selector.cpp.
Referenced by GRID_CELL_LAYER_SELECTOR::BeginEdit(), and GRID_CELL_LAYER_SELECTOR::Reset().
      
  | 
  inherited | 
Definition at line 43 of file layer_box_selector.cpp.
References m_layerhotkeys.
Referenced by GRID_CELL_LAYER_SELECTOR::Create().
      
  | 
  protectedinherited | 
Definition at line 47 of file layer_box_selector.h.
Referenced by GBR_LAYER_BOX_SELECTOR::GBR_LAYER_BOX_SELECTOR(), LAYER_SELECTOR(), PCB_LAYER_BOX_SELECTOR::Resync(), and SetLayersHotkeys().
      
  | 
  private | 
Definition at line 49 of file gbr_layer_box_selector.h.
Referenced by GBR_LAYER_BOX_SELECTOR(), and Resync().