KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_setup_layers.cpp File Reference
#include <confirm.h>
#include <core/arraydim.h>
#include <core/kicad_algo.h>
#include <pcb_edit_frame.h>
#include <tool/tool_manager.h>
#include <tools/pcb_actions.h>
#include <board.h>
#include <collectors.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_track.h>
#include <panel_setup_layers.h>
#include <board_stackup_manager/panel_board_stackup.h>
#include <wx/choicdlg.h>
#include <wx/msgdlg.h>
#include <eda_list_dialog.h>

Go to the source code of this file.

Macros

#define HIDE_INACTIVE_LAYERS
 
#define RETURN_COPPER(x)   return PANEL_SETUP_LAYERS_CTLs( x##Name, x##CheckBox, x##Choice )
 
#define RETURN_AUX(x)   return PANEL_SETUP_LAYERS_CTLs( x##Name, x##CheckBox, x##StaticText )
 
#define RETURN_MANDATORY(x)   return PANEL_SETUP_LAYERS_CTLs( x##Name, nullptr, x##StaticText )
 
#define RETURN_USER(x)   return PANEL_SETUP_LAYERS_CTLs( x##Name, x##CheckBox, x##Type )
 

Functions

static LSEQ dlg_layers ()
 
static LSET AllExistingLayersInDlgMask ()
 
static bool hasOneOf (const wxString &str, const wxString &chars)
 

Macro Definition Documentation

◆ HIDE_INACTIVE_LAYERS

#define HIDE_INACTIVE_LAYERS

Definition at line 50 of file panel_setup_layers.cpp.

◆ RETURN_AUX

#define RETURN_AUX (   x)    return PANEL_SETUP_LAYERS_CTLs( x##Name, x##CheckBox, x##StaticText )

◆ RETURN_COPPER

#define RETURN_COPPER (   x)    return PANEL_SETUP_LAYERS_CTLs( x##Name, x##CheckBox, x##Choice )

◆ RETURN_MANDATORY

#define RETURN_MANDATORY (   x)    return PANEL_SETUP_LAYERS_CTLs( x##Name, nullptr, x##StaticText )

◆ RETURN_USER

#define RETURN_USER (   x)    return PANEL_SETUP_LAYERS_CTLs( x##Name, x##CheckBox, x##Type )

Function Documentation

◆ AllExistingLayersInDlgMask()

static LSET AllExistingLayersInDlgMask ( )
static

Definition at line 129 of file panel_setup_layers.cpp.

References dlg_layers().

Referenced by PANEL_SETUP_LAYERS::TransferDataToWindow().

◆ dlg_layers()

◆ hasOneOf()

static bool hasOneOf ( const wxString &  str,
const wxString &  chars 
)
static

Definition at line 703 of file panel_setup_layers.cpp.

Referenced by PANEL_SETUP_LAYERS::testLayerNames().