29#ifndef STACKUP_PREDEFINED_PRMS_H
30#define STACKUP_PREDEFINED_PRMS_H
44#define KEY_CORE wxT( "core" )
45#define KEY_PREPREG wxT( "prepreg" )
47#define KEY_COPPER wxT( "copper" )
53 return _HKI(
"Not specified" );
63#define DEFAULT_SOLDERMASK_OPACITY 0.83
66#define DEFAULT_EPSILON_R_SOLDERMASK 3.3
69#define DEFAULT_EPSILON_R_SILKSCREEN 1.0
@ BS_ITEM_TYPE_SOLDERMASK
FAB_LAYER_COLOR(const wxString &aColorName, const wxColor &aColor)
const wxString GetColorAsString() const
const wxString & GetName() const
KIGFX::COLOR4D GetColor(BOARD_STACKUP_ITEM_TYPE aItemType) const
A color representation with 4 components: red, green, blue, alpha.
COLOR4D WithAlpha(double aAlpha) const
Return a color with the same color, but the given alpha.
Some functions to handle hotkeys in KiCad.
bool IsCustomColorIdx(BOARD_STACKUP_ITEM_TYPE aType, int aIdx)
KIGFX::COLOR4D GetStandardColor(BOARD_STACKUP_ITEM_TYPE aType, int aIdx)
#define DEFAULT_SOLDERMASK_OPACITY
wxString NotSpecifiedPrm()
bool IsPrmSpecified(const wxString &aPrmValue)
const wxString & GetStandardColorName(BOARD_STACKUP_ITEM_TYPE aType, int aIdx)
const std::vector< FAB_LAYER_COLOR > & GetStandardColors(BOARD_STACKUP_ITEM_TYPE aType)
int GetColorUserDefinedListIdx(BOARD_STACKUP_ITEM_TYPE aType)
bool IsColorNameNormalized(const wxString &aName)
KIGFX::COLOR4D GetDefaultUserColor(BOARD_STACKUP_ITEM_TYPE aType)
wxArrayString GetStandardCopperFinishes(bool aTranslate)