KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LAYER_SELECTOR Class Referenceabstract

Base class to build a layer list. More...

#include <layer_box_selector.h>

Inheritance diagram for LAYER_SELECTOR:
LAYER_BOX_SELECTOR PCB_LAYER_SELECTOR GBR_LAYER_BOX_SELECTOR PCB_LAYER_BOX_SELECTOR PCB_ONE_LAYER_SELECTOR SELECT_COPPER_LAYERS_PAIR_DIALOG

Public Member Functions

 LAYER_SELECTOR ()
 
virtual ~LAYER_SELECTOR ()
 
bool SetLayersHotkeys (bool value)
 

Static Public Member Functions

static void DrawColorSwatch (wxBitmap &aLayerbmp, const COLOR4D &aBackground, const COLOR4D &aColor)
 

Protected Member Functions

virtual COLOR4D getLayerColor (int aLayer) const =0
 
virtual wxString getLayerName (int aLayer) const =0
 
virtual bool isLayerEnabled (int aLayer) const =0
 

Protected Attributes

bool m_layerhotkeys
 

Detailed Description

Base class to build a layer list.

Definition at line 37 of file layer_box_selector.h.

Constructor & Destructor Documentation

◆ LAYER_SELECTOR()

LAYER_SELECTOR::LAYER_SELECTOR ( )

Definition at line 37 of file layer_box_selector.cpp.

References m_layerhotkeys.

◆ ~LAYER_SELECTOR()

virtual LAYER_SELECTOR::~LAYER_SELECTOR ( )
inlinevirtual

Definition at line 42 of file layer_box_selector.h.

Member Function Documentation

◆ DrawColorSwatch()

◆ getLayerColor()

virtual COLOR4D LAYER_SELECTOR::getLayerColor ( int  aLayer) const
protectedpure virtual

◆ getLayerName()

virtual wxString LAYER_SELECTOR::getLayerName ( int  aLayer) const
protectedpure virtual

◆ isLayerEnabled()

virtual bool LAYER_SELECTOR::isLayerEnabled ( int  aLayer) const
protectedpure virtual

◆ SetLayersHotkeys()

Member Data Documentation

◆ m_layerhotkeys

bool LAYER_SELECTOR::m_layerhotkeys
protected

The documentation for this class was generated from the following files: