KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_board_stackup.cpp File Reference
#include <macros.h>
#include <pcb_edit_frame.h>
#include <board.h>
#include <board_design_settings.h>
#include <dialogs/dialog_color_picker.h>
#include <widgets/paged_dialog.h>
#include <widgets/layer_box_selector.h>
#include <widgets/wx_panel.h>
#include <wx/log.h>
#include <wx/rawbmp.h>
#include <wx/clipbrd.h>
#include <wx/wupdlock.h>
#include <wx/richmsgdlg.h>
#include <math/util.h>
#include "panel_board_stackup.h"
#include <panel_setup_layers.h>
#include "board_stackup_reporter.h"
#include <bitmaps.h>
#include "dialog_dielectric_list_manager.h"
#include <wx/textdlg.h>
#include <locale_io.h>
#include <eda_list_dialog.h>
#include <string_utils.h>

Go to the source code of this file.

Macros

#define ID_INCREMENT   256
 

Enumerations

enum  WIDGETS_IDS { ID_ITEM_MATERIAL = 10000 , ID_ITEM_THICKNESS = ID_ITEM_MATERIAL + ID_INCREMENT , ID_ITEM_THICKNESS_LOCKED = ID_ITEM_THICKNESS + ID_INCREMENT , ID_ITEM_COLOR = ID_ITEM_THICKNESS_LOCKED + ID_INCREMENT }
 

Functions

static wxColor copperColor (220, 180, 30)
 
static wxColor dielectricColor (75, 120, 75)
 
static wxColor pasteColor (200, 200, 200)
 
static void drawBitmap (wxBitmap &aBitmap, wxColor aColor)
 

Macro Definition Documentation

◆ ID_INCREMENT

#define ID_INCREMENT   256

Definition at line 53 of file panel_board_stackup.cpp.

Enumeration Type Documentation

◆ WIDGETS_IDS

Enumerator
ID_ITEM_MATERIAL 
ID_ITEM_THICKNESS 
ID_ITEM_THICKNESS_LOCKED 
ID_ITEM_COLOR 

Definition at line 57 of file panel_board_stackup.cpp.

Function Documentation

◆ copperColor()

static wxColor copperColor ( 220  ,
180  ,
30   
)
static

◆ dielectricColor()

static wxColor dielectricColor ( 75  ,
120  ,
75   
)
static

◆ drawBitmap()

void drawBitmap ( wxBitmap &  aBitmap,
wxColor  aColor 
)
static

◆ pasteColor()

static wxColor pasteColor ( 200  ,
200  ,
200   
)
static