KiCad PCB EDA Suite
Loading...
Searching...
No Matches
toolbars_pcb_editor.cpp File Reference
#include <memory>
#include <advanced_config.h>
#include <api/api_plugin_manager.h>
#include <bitmaps.h>
#include <board.h>
#include <board_design_settings.h>
#include <kiface_base.h>
#include <kiplatform/ui.h>
#include <macros.h>
#include <pcb_edit_frame.h>
#include <pcb_layer_box_selector.h>
#include <pcbnew_id.h>
#include <pcbnew_settings.h>
#include <pgm_base.h>
#include <router/pns_routing_settings.h>
#include <router/router_tool.h>
#include <settings/color_settings.h>
#include <tool/action_toolbar.h>
#include <tool/actions.h>
#include <tool/common_tools.h>
#include <tool/tool_manager.h>
#include <tools/pcb_actions.h>
#include <tools/pcb_selection_tool.h>
#include <widgets/appearance_controls.h>
#include <widgets/pcb_properties_panel.h>
#include <widgets/net_inspector_panel.h>
#include <widgets/pcb_search_pane.h>
#include <widgets/wx_aui_utils.h>
#include <wx/wupdlock.h>
#include <wx/dcmemory.h>
#include <wx/combobox.h>
#include "../scripting/python_scripting.h"

Go to the source code of this file.

Macros

#define BM_LAYERICON_SIZE   24
 

Functions

static wxString ComboBoxUnits (EDA_UNITS aUnits, double aValue, bool aIncludeLabel=true)
 

Variables

static std::unique_ptr< wxBitmap > LayerPairBitmap
 
static const char s_BitmapLayerIcon [BM_LAYERICON_SIZE][BM_LAYERICON_SIZE]
 
static COLOR4D ICON_WHITE { 0.86, 0.86, 0.86, 1.0 }
 
static COLOR4D ICON_BLACK { 0.28, 0.28, 0.28, 1.0 }
 

Macro Definition Documentation

◆ BM_LAYERICON_SIZE

#define BM_LAYERICON_SIZE   24

Definition at line 66 of file toolbars_pcb_editor.cpp.

Function Documentation

◆ ComboBoxUnits()

static wxString ComboBoxUnits ( EDA_UNITS  aUnits,
double  aValue,
bool  aIncludeLabel = true 
)
static

Variable Documentation

◆ ICON_BLACK

COLOR4D ICON_BLACK { 0.28, 0.28, 0.28, 1.0 }
static

Definition at line 100 of file toolbars_pcb_editor.cpp.

Referenced by PCB_EDIT_FRAME::PrepareLayerIndicator().

◆ ICON_WHITE

COLOR4D ICON_WHITE { 0.86, 0.86, 0.86, 1.0 }
static

Definition at line 99 of file toolbars_pcb_editor.cpp.

Referenced by PCB_EDIT_FRAME::PrepareLayerIndicator().

◆ LayerPairBitmap

std::unique_ptr<wxBitmap> LayerPairBitmap
static

Definition at line 64 of file toolbars_pcb_editor.cpp.

Referenced by PCB_EDIT_FRAME::PrepareLayerIndicator().

◆ s_BitmapLayerIcon

const char s_BitmapLayerIcon[BM_LAYERICON_SIZE][BM_LAYERICON_SIZE]
static

Definition at line 67 of file toolbars_pcb_editor.cpp.

Referenced by PCB_EDIT_FRAME::PrepareLayerIndicator().