KiCad PCB EDA Suite
|
Class PCB_LAYER_WIDGET is here to implement the abstract functions of LAYER_WIDGET so they may be tied into the PCB_EDIT_FRAME's data and so we can add a popup menu which is specific to PCBNEW's needs. More...
#include <pcb_layer_widget.h>
Public Member Functions | |
PCB_LAYER_WIDGET (PCB_BASE_FRAME *aParent, wxWindow *aFocusOwner, int aPointSize=10, bool aFpEditorMode=false) | |
Constructor. More... | |
void | ReFill () |
void | ReFillRender () |
Function ReFillRender rebuilds Render for instance after the config is read. More... | |
void | SyncLayerVisibilities () |
Function SyncLayerVisibilities updates each "Layer" checkbox in this layer widget according to each layer's current visibility determined by IsLayerVisible(), and is helpful immediately after loading a BOARD which may have state information in it. More... | |
void | SyncLayerAlphaIndicators () |
Function SyncLayerAlphaIndicators updates each "Layer"s alpha indicator to show if the board is currently being rendered with more transparency or less. More... | |
void | SetLayersManagerTabsText () |
Function SetLayersManagerTabsText Update the layer manager tabs labels Useful when changing Language or to set labels to a non default value. More... | |
void | OnLayerColorChange (int aLayer, COLOR4D aColor) override |
Function OnLayerColorChange is called to notify client code about a layer color change. More... | |
bool | OnLayerSelect (int aLayer) override |
Function OnLayerSelect is called to notify client code whenever the user selects a different layer. More... | |
void | OnLayerVisible (int aLayer, bool isVisible, bool isFinal) override |
Function OnLayerVisible is called to notify client code about a layer visibility change. More... | |
void | OnLayerRightClick (wxMenu &aMenu) override |
Function OnLayerRightClick is called to notify client code about a layer being right-clicked. More... | |
void | OnRenderColorChange (int aId, COLOR4D aColor) override |
Function OnRenderColorChange is called to notify client code whenever the user changes a rendering color. More... | |
void | OnRenderEnable (int aId, bool isEnabled) override |
Function OnRenderEnable is called to notify client code whenever the user changes an rendering enable in one of the rendering checkboxes. More... | |
bool | OnLayerSelected () |
Function OnLayerSelected ensure the active layer is visible, and other layers not visible when m_alwaysShowActiveLayer is true Otherwise do nothing. More... | |
void | AddRightClickMenuItems (wxMenu &menu) |
Function addRightClickMenuItems add menu items to a menu that should be shown when right-clicking the PCB layer widget. More... | |
wxSize | GetBestSize () const |
Function GetBestSize returns the preferred minimum size, taking into consideration the dynamic content. More... | |
int | GetLayerRowCount () const |
Function GetLayerRowCount returns the number of rows in the layer tab. More... | |
int | GetRenderRowCount () const |
Function GetRenderRowCount returns the number of rows in the render tab. More... | |
void | AppendLayerRow (const ROW &aRow) |
Function AppendLayerRow appends a new row in the layer portion of the widget. More... | |
void | AppendLayerRows (const ROW *aRowsArray, int aRowCount) |
Function AppendLayerRows appends new rows in the layer portion of the widget. More... | |
void | ClearLayerRows () |
Function ClearLayerRows empties out the layer rows. More... | |
void | AppendRenderRow (const ROW &aRow) |
Function AppendRenderRow appends a new row in the render portion of the widget. More... | |
void | AppendRenderRows (const ROW *aRowsArray, int aRowCount) |
Function AppendRenderRows appends new rows in the render portion of the widget. More... | |
void | ClearRenderRows () |
Function ClearRenderRows empties out the render rows. More... | |
void | SelectLayerRow (int aRow) |
Function SelectLayerRow changes the row selection in the layer list to the given row. More... | |
void | SelectLayer (LAYER_NUM aLayer) |
Function SelectLayer changes the row selection in the layer list to aLayer provided. More... | |
LAYER_NUM | GetSelectedLayer () |
Function GetSelectedLayer returns the selected layer or -1 if none. More... | |
void | SetLayerVisible (LAYER_NUM aLayer, bool isVisible) |
Function SetLayerVisible sets aLayer visible or not. More... | |
bool | IsLayerVisible (LAYER_NUM aLayer) |
Function IsLayerVisible returns the visible state of the layer ROW associated with aLayer id. More... | |
void | SetLayerColor (LAYER_NUM aLayer, COLOR4D aColor) |
Function SetLayerColor changes the color of aLayer. More... | |
COLOR4D | GetLayerColor (LAYER_NUM aLayer) const |
Function GetLayerColor returns the color of the layer ROW associated with aLayer id. More... | |
void | SetRenderState (int aId, bool isSet) |
Function SetRenderState sets the state of the checkbox associated with aId within the Render tab group of the widget. More... | |
bool | GetRenderState (int aId) |
Function GetRenderState returns the state of the checkbox associated with aId. More... | |
void | UpdateLayouts () |
void | UpdateLayerIcons () |
Function UpdateLayerIcons Update all layer manager icons (layers only) Useful when loading a file or clearing a layer because they change, and the indicator arrow icon needs to be updated. More... | |
Static Public Attributes | |
static const wxEventType | EVT_LAYER_COLOR_CHANGE = wxNewEventType() |
Protected Types | |
enum | POPUP_ID { ID_SHOW_ALL_COPPER_LAYERS = LAYER_WIDGET::ID_LAST_VALUE, ID_SHOW_NO_COPPER_LAYERS, ID_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, ID_ALWAYS_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, ID_SHOW_NO_LAYERS, ID_SHOW_ALL_LAYERS, ID_SHOW_ALL_FRONT, ID_SHOW_ALL_BACK, ID_HIDE_ALL_NON_COPPER, ID_SHOW_ALL_NON_COPPER, ID_LAST_VALUE } |
Protected Member Functions | |
virtual bool | AreArbitraryColorsAllowed () override |
Subclasses can override this to provide logic for allowing arbitrary color selection via wxColourPicker instead of DisplayColorFrame. More... | |
virtual COLOR4D | getBackgroundLayerColor () override |
Subclasses can override this to provide accurate representation of transparent colour swatches. More... | |
bool | isAllowedInFpMode (int aId) |
Function isAllowedInFpMode. More... | |
bool | isLayerAllowedInFpMode (PCB_LAYER_ID aLayer) |
Function isLayerAllowedInFpMode. More... | |
void | onRightDownLayers (wxMouseEvent &event) |
Function OnRightDownLayers puts up a popup menu for the layer panel. More... | |
void | onPopupSelection (wxCommandEvent &event) |
void | installRightLayerClickHandler () |
this is for the popup menu, the right click handler has to be installed on every child control within the layer panel. More... | |
virtual bool | useAlternateBitmap (int aRow) |
Virtual Function useAlternateBitmap. More... | |
void | OnLeftDownLayers (wxMouseEvent &event) |
void | OnRightDownLayer (wxMouseEvent &event, COLOR_SWATCH *aColorSwatch, const wxString &aLayerName) |
Function OnRightDownLayer Called when user right-clicks a layer. More... | |
void | OnLayerSwatchChanged (wxCommandEvent &aEvent) |
Function OnSwatchChanged() is called when a user changes a swatch color. More... | |
void | OnLayerCheckBox (wxCommandEvent &event) |
Function OnLayerCheckBox handles the "is layer visible" checkbox and propogates the event to the client's notification function. More... | |
void | OnRightDownRender (wxMouseEvent &aEvent, COLOR_SWATCH *aColorSwatch, const wxString &aRenderName) |
Function OnRightDownRender Called when user right-clicks a render option. More... | |
void | OnRenderSwatchChanged (wxCommandEvent &aEvent) |
Function OnRenderSwatchChanged Called when user has changed the swatch color of a render entry. More... | |
void | OnRenderCheckBox (wxCommandEvent &event) |
void | OnTabChange (wxNotebookEvent &event) |
wxWindow * | getLayerComp (int aRow, int aColumn) const |
Function getLayerComp returns the component within the m_LayersFlexGridSizer at aRow and aCol or NULL if these parameters are out of range. More... | |
wxWindow * | getRenderComp (int aRow, int aColumn) const |
int | findLayerRow (LAYER_NUM aLayer) const |
Function findLayerRow returns the row index that aLayer resides in, or -1 if not found. More... | |
int | findRenderRow (int aId) const |
void | insertLayerRow (int aRow, const ROW &aSpec) |
Function insertLayerRow appends or inserts a new row in the layer portion of the widget. More... | |
void | insertRenderRow (int aRow, const ROW &aSpec) |
void | setLayerCheckbox (LAYER_NUM aLayer, bool isVisible) |
void | passOnFocus () |
Function passOnFocus gives away the keyboard focus up to the main parent window. More... | |
Static Protected Member Functions | |
static int | encodeId (int aColumn, int aId) |
Function encodeId is here to allow saving a layer index within a control as its wxControl id, but to do so in a way that all child wxControl ids within a wxWindow are unique, since this is required by Windows. More... | |
static LAYER_NUM | getDecodedId (int aControlId) |
Function getDecodedId decodes aControlId to original un-encoded value. More... | |
Protected Attributes | |
bool | m_alwaysShowActiveCopperLayer |
bool | m_fp_editor_mode |
PCB_BASE_FRAME * | myframe |
wxAuiNotebook * | m_notebook |
wxPanel * | m_LayerPanel |
wxScrolledWindow * | m_LayerScrolledWindow |
wxFlexGridSizer * | m_LayersFlexGridSizer |
wxPanel * | m_RenderingPanel |
wxScrolledWindow * | m_RenderScrolledWindow |
wxFlexGridSizer * | m_RenderFlexGridSizer |
wxWindow * | m_FocusOwner |
int | m_CurrentRow |
selected row of layer list More... | |
int | m_PointSize |
ROW_ICON_PROVIDER * | m_IconProvider |
Static Protected Attributes | |
static const LAYER_WIDGET::ROW | s_render_rows [] |
This is a read only template that is copied and modified before adding to LAYER_WIDGET. More... | |
Class PCB_LAYER_WIDGET is here to implement the abstract functions of LAYER_WIDGET so they may be tied into the PCB_EDIT_FRAME's data and so we can add a popup menu which is specific to PCBNEW's needs.
Definition at line 42 of file pcb_layer_widget.h.
|
protected |
Definition at line 129 of file pcb_layer_widget.h.
PCB_LAYER_WIDGET::PCB_LAYER_WIDGET | ( | PCB_BASE_FRAME * | aParent, |
wxWindow * | aFocusOwner, | ||
int | aPointSize = 10 , |
||
bool | aFpEditorMode = false |
||
) |
Constructor.
aParent | is the parent window |
aFocusOwner | is the window that should be sent the focus after |
aPointSize | is the font point size to use within the widget. This effectively sets the overall size of the widget via the row height and bitmap button sizes. |
aFpEditorMode | false for the board editor (default), true for fp editor when true, some options or layers which cannot be used in editor mode are not displayed |
Definition at line 109 of file pcb_layer_widget.cpp.
References ID_LAST_VALUE, ID_SHOW_ALL_COPPER_LAYERS, m_alwaysShowActiveCopperLayer, m_fp_editor_mode, LAYER_WIDGET::m_LayerScrolledWindow, onPopupSelection(), onRightDownLayers(), ReFillRender(), and SetLayersManagerTabsText().
void PCB_LAYER_WIDGET::AddRightClickMenuItems | ( | wxMenu & | menu | ) |
Function addRightClickMenuItems add menu items to a menu that should be shown when right-clicking the PCB layer widget.
Definition at line 167 of file pcb_layer_widget.cpp.
References AddMenuItem(), ID_ALWAYS_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, ID_HIDE_ALL_NON_COPPER, ID_SHOW_ALL_BACK, ID_SHOW_ALL_COPPER_LAYERS, ID_SHOW_ALL_FRONT, ID_SHOW_ALL_LAYERS, ID_SHOW_ALL_NON_COPPER, ID_SHOW_NO_COPPER_LAYERS, ID_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, ID_SHOW_NO_LAYERS, and KiBitmap().
Referenced by OnLayerRightClick(), and onRightDownLayers().
|
inherited |
Function AppendLayerRow appends a new row in the layer portion of the widget.
The user must ensure that ROW::id is unique for all existing rows on Windows.
Definition at line 610 of file layer_widget.cpp.
References LAYER_WIDGET::GetLayerRowCount(), LAYER_WIDGET::insertLayerRow(), and LAYER_WIDGET::UpdateLayouts().
Referenced by LAYER_WIDGET::AppendLayerRows(), ReFill(), and GERBER_LAYER_WIDGET::ReFill().
|
inlineinherited |
Function AppendLayerRows appends new rows in the layer portion of the widget.
The user must ensure that ROW::id is unique for all existing rows on Windows.
Definition at line 309 of file layer_widget.h.
References LAYER_WIDGET::AppendLayerRow(), LAYER_WIDGET::AppendRenderRow(), and LAYER_WIDGET::ClearLayerRows().
|
inherited |
Function AppendRenderRow appends a new row in the render portion of the widget.
The user must ensure that ROW::id is unique for all existing rows on Windows.
Definition at line 624 of file layer_widget.cpp.
References LAYER_WIDGET::GetRenderRowCount(), LAYER_WIDGET::insertRenderRow(), and LAYER_WIDGET::UpdateLayouts().
Referenced by LAYER_WIDGET::AppendLayerRows(), LAYER_WIDGET::AppendRenderRows(), and ReFillRender().
|
inlineinherited |
Function AppendRenderRows appends new rows in the render portion of the widget.
The user must ensure that ROW::id is unique for all existing rows on Windows.
Definition at line 333 of file layer_widget.h.
References LAYER_WIDGET::AppendRenderRow(), LAYER_WIDGET::ClearRenderRows(), LAYER_WIDGET::GetLayerColor(), LAYER_WIDGET::GetRenderState(), LAYER_WIDGET::GetSelectedLayer(), LAYER_WIDGET::IsLayerVisible(), LAYER_WIDGET::OnLayerColorChange(), LAYER_WIDGET::OnLayerRightClick(), LAYER_WIDGET::OnLayerSelect(), LAYER_WIDGET::OnLayerVisible(), LAYER_WIDGET::OnRenderColorChange(), LAYER_WIDGET::OnRenderEnable(), LAYER_WIDGET::SelectLayer(), LAYER_WIDGET::SelectLayerRow(), LAYER_WIDGET::SetLayerColor(), LAYER_WIDGET::SetLayerVisible(), LAYER_WIDGET::SetRenderState(), LAYER_WIDGET::UpdateLayerIcons(), and LAYER_WIDGET::UpdateLayouts().
Referenced by GERBER_LAYER_WIDGET::ReFillRender().
|
overrideprotectedvirtual |
Subclasses can override this to provide logic for allowing arbitrary color selection via wxColourPicker instead of DisplayColorFrame.
Reimplemented from LAYER_WIDGET.
Definition at line 135 of file pcb_layer_widget.cpp.
References EDA_DRAW_FRAME::IsGalCanvasActive(), and myframe.
|
inherited |
Function ClearLayerRows empties out the layer rows.
Definition at line 618 of file layer_widget.cpp.
References LAYER_WIDGET::m_LayersFlexGridSizer.
Referenced by LAYER_WIDGET::AppendLayerRows(), ReFill(), and GERBER_LAYER_WIDGET::ReFill().
|
inherited |
Function ClearRenderRows empties out the render rows.
Definition at line 632 of file layer_widget.cpp.
References LAYER_WIDGET::m_RenderFlexGridSizer.
Referenced by LAYER_WIDGET::AppendRenderRows(), ReFillRender(), and GERBER_LAYER_WIDGET::ReFillRender().
|
staticprotectedinherited |
Function encodeId is here to allow saving a layer index within a control as its wxControl id, but to do so in a way that all child wxControl ids within a wxWindow are unique, since this is required by Windows.
Definition at line 63 of file layer_widget.cpp.
References LYR_COLUMN_COUNT.
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::insertLayerRow(), and LAYER_WIDGET::insertRenderRow().
|
protectedinherited |
Function findLayerRow returns the row index that aLayer resides in, or -1 if not found.
Definition at line 265 of file layer_widget.cpp.
References LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getLayerComp(), and LAYER_WIDGET::GetLayerRowCount().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::GetLayerColor(), LAYER_WIDGET::IsLayerVisible(), LAYER_WIDGET::OnLeftDownLayers(), LAYER_WIDGET::SelectLayer(), LAYER_WIDGET::setLayerCheckbox(), and LAYER_WIDGET::SetLayerColor().
|
protectedinherited |
Definition at line 294 of file layer_widget.cpp.
References LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getRenderComp(), and LAYER_WIDGET::GetRenderRowCount().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::GetRenderState(), and LAYER_WIDGET::SetRenderState().
|
overrideprotectedvirtual |
Subclasses can override this to provide accurate representation of transparent colour swatches.
Reimplemented from LAYER_WIDGET.
Definition at line 141 of file pcb_layer_widget.cpp.
References PCB_GENERAL_SETTINGS::Colors(), COLORS_DESIGN_SETTINGS::GetLayerColor(), myframe, and PCB_BASE_FRAME::Settings().
|
inherited |
Function GetBestSize returns the preferred minimum size, taking into consideration the dynamic content.
Nothing in wxWidgets was reliable enough so this overrides one of their functions.
Definition at line 541 of file layer_widget.cpp.
References i, LYR_COLUMN_COUNT, LAYER_WIDGET::m_LayerPanel, LAYER_WIDGET::m_LayersFlexGridSizer, LAYER_WIDGET::m_RenderFlexGridSizer, LAYER_WIDGET::m_RenderingPanel, max, and RND_COLUMN_COUNT.
Referenced by GERBVIEW_FRAME::GERBVIEW_FRAME(), and GERBVIEW_FRAME::ReFillLayerWidget().
|
staticprotectedinherited |
Function getDecodedId decodes aControlId to original un-encoded value.
This of course holds iff encodedId was called with a LAYER_NUM (this box is used for other things than layers, too)
Definition at line 70 of file layer_widget.cpp.
References LYR_COLUMN_COUNT.
Referenced by LAYER_WIDGET::findLayerRow(), LAYER_WIDGET::findRenderRow(), LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::GetSelectedLayer(), LAYER_WIDGET::OnLayerCheckBox(), LAYER_WIDGET::OnLayerSwatchChanged(), LAYER_WIDGET::OnLeftDownLayers(), GERBER_LAYER_WIDGET::onPopupSelection(), onPopupSelection(), LAYER_WIDGET::OnRenderCheckBox(), LAYER_WIDGET::OnRenderSwatchChanged(), SyncLayerAlphaIndicators(), and SyncLayerVisibilities().
Function GetLayerColor returns the color of the layer ROW associated with aLayer id.
Definition at line 735 of file layer_widget.cpp.
References LAYER_WIDGET::findLayerRow(), and LAYER_WIDGET::getLayerComp().
Referenced by LAYER_WIDGET::AppendRenderRows().
|
protectedinherited |
Function getLayerComp returns the component within the m_LayersFlexGridSizer at aRow and aCol or NULL if these parameters are out of range.
aRow | is the row index |
aColumn | is the column |
Definition at line 254 of file layer_widget.cpp.
References LYR_COLUMN_COUNT, and LAYER_WIDGET::m_LayersFlexGridSizer.
Referenced by LAYER_WIDGET::findLayerRow(), LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::GetLayerColor(), LAYER_WIDGET::GetSelectedLayer(), LAYER_WIDGET::IsLayerVisible(), LAYER_WIDGET::OnLeftDownLayers(), GERBER_LAYER_WIDGET::onPopupSelection(), onPopupSelection(), LAYER_WIDGET::OnRenderSwatchChanged(), ReFill(), LAYER_WIDGET::SelectLayerRow(), LAYER_WIDGET::setLayerCheckbox(), LAYER_WIDGET::SetLayerColor(), SyncLayerAlphaIndicators(), SyncLayerVisibilities(), and LAYER_WIDGET::UpdateLayerIcons().
|
inherited |
Function GetLayerRowCount returns the number of rows in the layer tab.
Definition at line 596 of file layer_widget.cpp.
References LYR_COLUMN_COUNT, and LAYER_WIDGET::m_LayersFlexGridSizer.
Referenced by LAYER_WIDGET::AppendLayerRow(), LAYER_WIDGET::findLayerRow(), LAYER_WIDGET::OnLeftDownLayers(), GERBER_LAYER_WIDGET::onPopupSelection(), onPopupSelection(), LAYER_WIDGET::OnRenderSwatchChanged(), ReFill(), SyncLayerAlphaIndicators(), SyncLayerVisibilities(), and LAYER_WIDGET::UpdateLayerIcons().
|
protectedinherited |
Definition at line 283 of file layer_widget.cpp.
References LAYER_WIDGET::m_RenderFlexGridSizer, and RND_COLUMN_COUNT.
Referenced by LAYER_WIDGET::findRenderRow(), LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::GetRenderState(), LAYER_WIDGET::OnRenderSwatchChanged(), and LAYER_WIDGET::SetRenderState().
|
inherited |
Function GetRenderRowCount returns the number of rows in the render tab.
Definition at line 603 of file layer_widget.cpp.
References LAYER_WIDGET::m_RenderFlexGridSizer, and RND_COLUMN_COUNT.
Referenced by LAYER_WIDGET::AppendRenderRow(), LAYER_WIDGET::findRenderRow(), and LAYER_WIDGET::OnRenderSwatchChanged().
|
inherited |
Function GetRenderState returns the state of the checkbox associated with aId.
Definition at line 765 of file layer_widget.cpp.
References LAYER_WIDGET::findRenderRow(), and LAYER_WIDGET::getRenderComp().
Referenced by LAYER_WIDGET::AppendRenderRows().
|
inherited |
Function GetSelectedLayer returns the selected layer or -1 if none.
Definition at line 679 of file layer_widget.cpp.
References LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::m_CurrentRow, and UNDEFINED_LAYER.
Referenced by LAYER_WIDGET::AppendRenderRows().
|
protectedinherited |
Function insertLayerRow appends or inserts a new row in the layer portion of the widget.
Definition at line 312 of file layer_widget.cpp.
References LAYER_WIDGET::AreArbitraryColorsAllowed(), LAYER_WIDGET::ROW::color, COLUMN_ALPHA_INDICATOR, COLUMN_COLOR_LYR_CB, COLUMN_COLOR_LYRNAME, COLUMN_COLORBM, COLUMN_ICON_ACTIVE, LAYER_WIDGET::encodeId(), LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::ROW::id, LYR_COLUMN_COUNT, LAYER_WIDGET::m_IconProvider, LAYER_WIDGET::m_LayerScrolledWindow, LAYER_WIDGET::m_LayersFlexGridSizer, LAYER_WIDGET::m_PointSize, OFF, LAYER_WIDGET::OnLayerCheckBox(), LAYER_WIDGET::OnLayerSwatchChanged(), LAYER_WIDGET::OnLeftDownLayers(), LAYER_WIDGET::OnRightDownLayer(), LAYER_WIDGET::ROW::rowName, shrinkFont(), LAYER_WIDGET::ROW::state, and LAYER_WIDGET::ROW::tooltip.
Referenced by LAYER_WIDGET::AppendLayerRow(), and LAYER_WIDGET::getBackgroundLayerColor().
|
protectedinherited |
Definition at line 377 of file layer_widget.cpp.
References LAYER_WIDGET::AreArbitraryColorsAllowed(), LAYER_WIDGET::ROW::changeable, LAYER_WIDGET::ROW::color, LAYER_WIDGET::encodeId(), LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::ROW::id, LAYER_WIDGET::m_PointSize, LAYER_WIDGET::m_RenderFlexGridSizer, LAYER_WIDGET::m_RenderScrolledWindow, LAYER_WIDGET::OnRenderCheckBox(), LAYER_WIDGET::OnRenderSwatchChanged(), LAYER_WIDGET::OnRightDownRender(), RND_COLUMN_COUNT, LAYER_WIDGET::ROW::rowName, shrinkFont(), LAYER_WIDGET::ROW::spacer, LAYER_WIDGET::ROW::state, and LAYER_WIDGET::ROW::tooltip.
Referenced by LAYER_WIDGET::AppendRenderRow(), and LAYER_WIDGET::getBackgroundLayerColor().
|
protected |
this is for the popup menu, the right click handler has to be installed on every child control within the layer panel.
|
protected |
Function isAllowedInFpMode.
Definition at line 147 of file pcb_layer_widget.cpp.
References DIM.
Referenced by ReFillRender().
|
protected |
Function isLayerAllowedInFpMode.
User layers, which are not paired, are not shown in layers manager. However a not listed layer can be reachable in the graphic item properties dialog.
aLayer | is the layer id to test |
Definition at line 157 of file pcb_layer_widget.cpp.
References LSET::AllTechMask().
Referenced by OnLayerSelect(), and ReFill().
|
inherited |
Function IsLayerVisible returns the visible state of the layer ROW associated with aLayer id.
Definition at line 708 of file layer_widget.cpp.
References COLUMN_COLOR_LYR_CB, LAYER_WIDGET::findLayerRow(), and LAYER_WIDGET::getLayerComp().
Referenced by LAYER_WIDGET::AppendRenderRows(), and GERBVIEW_FRAME::IsLayerVisible().
|
protectedinherited |
Function OnLayerCheckBox handles the "is layer visible" checkbox and propogates the event to the client's notification function.
Definition at line 168 of file layer_widget.cpp.
References LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::OnLayerVisible(), and LAYER_WIDGET::passOnFocus().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertLayerRow().
|
overridevirtual |
Function OnLayerColorChange is called to notify client code about a layer color change.
Derived classes will handle this accordingly.
aLayer | is the board layer to change |
aColor | is the new color |
Implements LAYER_WIDGET.
Definition at line 580 of file pcb_layer_widget.cpp.
References KIGFX::COLOR4D::a, PCB_GENERAL_SETTINGS::Colors(), EDA_DRAW_FRAME::GetCanvas(), EDA_DRAW_FRAME::GetGalCanvas(), COLORS_DESIGN_SETTINGS::GetLayerColor(), GetNetnameLayer(), KIGFX::VIEW::GetPainter(), KIGFX::PAINTER::GetSettings(), EDA_DRAW_PANEL_GAL::GetView(), KIGFX::RENDER_SETTINGS::ImportLegacyColors(), EDA_DRAW_FRAME::IsGalCanvasActive(), myframe, EDA_DRAW_FRAME::ReCreateHToolbar(), EDA_DRAW_PANEL::Refresh(), COLORS_DESIGN_SETTINGS::SetLayerColor(), PCB_BASE_FRAME::Settings(), ToLAYER_ID(), and KIGFX::VIEW::UpdateLayerColor().
|
overridevirtual |
Function OnLayerRightClick is called to notify client code about a layer being right-clicked.
aMenu | is the right-click menu containing layer-scoped options. It can be used to add extra, wider scoped menu items. |
Implements LAYER_WIDGET.
Definition at line 668 of file pcb_layer_widget.cpp.
References AddRightClickMenuItems().
|
overridevirtual |
Function OnLayerSelect is called to notify client code whenever the user selects a different layer.
Derived classes will handle this accordingly, and can deny the change by returning false.
aLayer | is the board layer to select |
Implements LAYER_WIDGET.
Definition at line 607 of file pcb_layer_widget.cpp.
References EDA_DRAW_FRAME::GetCanvas(), PCB_BASE_FRAME::GetDisplayOptions(), isLayerAllowedInFpMode(), m_alwaysShowActiveCopperLayer, PCB_DISPLAY_OPTIONS::m_ContrastModeDisplay, m_fp_editor_mode, myframe, OnLayerSelected(), EDA_DRAW_PANEL::Refresh(), PCB_BASE_FRAME::SetActiveLayer(), and ToLAYER_ID().
bool PCB_LAYER_WIDGET::OnLayerSelected | ( | ) |
Function OnLayerSelected ensure the active layer is visible, and other layers not visible when m_alwaysShowActiveLayer is true Otherwise do nothing.
Definition at line 628 of file pcb_layer_widget.cpp.
References ID_ALWAYS_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, m_alwaysShowActiveCopperLayer, and onPopupSelection().
Referenced by OnLayerSelect().
|
protectedinherited |
Function OnSwatchChanged() is called when a user changes a swatch color.
Definition at line 149 of file layer_widget.cpp.
References LAYER_WIDGET::EVT_LAYER_COLOR_CHANGE, LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::OnLayerColorChange(), and LAYER_WIDGET::passOnFocus().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertLayerRow().
|
overridevirtual |
Function OnLayerVisible is called to notify client code about a layer visibility change.
aLayer | is the board layer to select |
isVisible | is the new visible state |
isFinal | is true when this is the last of potentially several such calls, and can be used to decide when to update the screen only one time instead of several times in the midst of a multiple layer change. |
Implements LAYER_WIDGET.
Definition at line 643 of file pcb_layer_widget.cpp.
References PCB_BASE_FRAME::GetBoard(), EDA_DRAW_FRAME::GetCanvas(), EDA_DRAW_FRAME::GetGalCanvas(), EDA_DRAW_PANEL_GAL::GetView(), BOARD::GetVisibleLayers(), myframe, PCB_BASE_FRAME::OnModify(), EDA_DRAW_PANEL::Refresh(), KIGFX::VIEW::SetLayerVisible(), and BOARD::SetVisibleLayers().
Referenced by onPopupSelection().
|
protectedinherited |
Definition at line 77 of file layer_widget.cpp.
References LAYER_WIDGET::findLayerRow(), LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), LAYER_WIDGET::m_LayerScrolledWindow, LAYER_WIDGET::m_LayersFlexGridSizer, LAYER_WIDGET::OnLayerSelect(), LAYER_WIDGET::passOnFocus(), and LAYER_WIDGET::SelectLayerRow().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertLayerRow().
|
protected |
Definition at line 221 of file pcb_layer_widget.cpp.
References B_CrtYd, B_Cu, B_Fab, B_Mask, B_Paste, B_SilkS, COLUMN_COLOR_LYR_CB, Edge_Cuts, F_CrtYd, F_Cu, F_Fab, F_Mask, F_Paste, F_SilkS, PCB_BASE_FRAME::GetActiveLayer(), LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), ID_ALWAYS_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, ID_HIDE_ALL_NON_COPPER, ID_SHOW_ALL_BACK, ID_SHOW_ALL_COPPER_LAYERS, ID_SHOW_ALL_FRONT, ID_SHOW_ALL_LAYERS, ID_SHOW_ALL_NON_COPPER, ID_SHOW_NO_COPPER_LAYERS, ID_SHOW_NO_COPPER_LAYERS_BUT_ACTIVE, ID_SHOW_NO_LAYERS, IsCopperLayer(), isLast(), m_alwaysShowActiveCopperLayer, myframe, OnLayerVisible(), and ToLAYER_ID().
Referenced by OnLayerSelected(), and PCB_LAYER_WIDGET().
|
protectedinherited |
Definition at line 236 of file layer_widget.cpp.
References LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::OnRenderEnable(), and LAYER_WIDGET::passOnFocus().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertRenderRow().
|
overridevirtual |
Function OnRenderColorChange is called to notify client code whenever the user changes a rendering color.
aId | is the same id that was established in a Rendering row via the AddRenderRow() function. |
aColor | is the new color |
Implements LAYER_WIDGET.
Definition at line 674 of file pcb_layer_widget.cpp.
References PCB_GENERAL_SETTINGS::Colors(), EDA_DRAW_PANEL_GAL::ForceRefresh(), GAL_LAYER_ID_END, GAL_LAYER_ID_START, EDA_DRAW_FRAME::GetCanvas(), EDA_DRAW_PANEL_GAL::GetGAL(), EDA_DRAW_FRAME::GetGalCanvas(), KIGFX::VIEW::GetPainter(), KIGFX::PAINTER::GetSettings(), EDA_DRAW_PANEL_GAL::GetView(), KIGFX::RENDER_SETTINGS::ImportLegacyColors(), EDA_DRAW_FRAME::IsGalCanvasActive(), LAYER_GRID, LAYER_PADS_PLATEDHOLES, KIGFX::VIEW::MarkTargetDirty(), myframe, EDA_DRAW_FRAME::ReCreateHToolbar(), EDA_DRAW_PANEL::Refresh(), KIGFX::GAL::SetGridColor(), COLORS_DESIGN_SETTINGS::SetItemColor(), PCB_BASE_FRAME::Settings(), KIGFX::TARGET_NONCACHED, and KIGFX::VIEW::UpdateLayerColor().
|
overridevirtual |
Function OnRenderEnable is called to notify client code whenever the user changes an rendering enable in one of the rendering checkboxes.
aId | is the same id that was established in a Rendering row via the AddRenderRow() function. |
isEnabled | is the state of the checkbox, true if checked. |
Implements LAYER_WIDGET.
Definition at line 705 of file pcb_layer_widget.cpp.
References FRAME_PCB, GAL_LAYER_ID_END, GAL_LAYER_ID_START, PCB_BASE_FRAME::GetBoard(), EDA_DRAW_FRAME::GetCanvas(), EDA_DRAW_PANEL_GAL::GetGAL(), EDA_DRAW_FRAME::GetGalCanvas(), EDA_DRAW_PANEL_GAL::GetView(), BOARD::IsElementVisible(), EDA_DRAW_FRAME::IsGalCanvasActive(), EDA_DRAW_FRAME::IsGridVisible(), EDA_BASE_FRAME::IsType(), LAYER_GRID, LAYER_RATSNEST, KIGFX::VIEW::MarkTargetDirty(), myframe, PCB_BASE_FRAME::OnModify(), EDA_DRAW_PANEL_GAL::Refresh(), EDA_DRAW_PANEL::Refresh(), BOARD::SetElementVisibility(), KIGFX::GAL::SetGridVisibility(), KIGFX::VIEW::SetLayerVisible(), and KIGFX::TARGET_NONCACHED.
|
protectedinherited |
Function OnRenderSwatchChanged Called when user has changed the swatch color of a render entry.
Definition at line 198 of file layer_widget.cpp.
References LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), LAYER_WIDGET::getRenderComp(), LAYER_WIDGET::GetRenderRowCount(), LAYER_PCB_BACKGROUND, LAYER_WIDGET::OnRenderColorChange(), LAYER_WIDGET::passOnFocus(), and COLOR_SWATCH::SetSwatchBackground().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertRenderRow().
|
protectedinherited |
Function OnRightDownLayer Called when user right-clicks a layer.
Definition at line 125 of file layer_widget.cpp.
References AddMenuItem(), COLOR_SWATCH::GetNewSwatchColor(), LAYER_WIDGET::ID_CHANGE_LAYER_COLOR, KiBitmap(), LAYER_WIDGET::OnLayerRightClick(), and LAYER_WIDGET::passOnFocus().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertLayerRow().
|
protected |
Function OnRightDownLayers puts up a popup menu for the layer panel.
Definition at line 210 of file pcb_layer_widget.cpp.
References AddRightClickMenuItems(), and LAYER_WIDGET::passOnFocus().
Referenced by PCB_LAYER_WIDGET().
|
protectedinherited |
Function OnRightDownRender Called when user right-clicks a render option.
Definition at line 177 of file layer_widget.cpp.
References AddMenuItem(), COLOR_SWATCH::GetNewSwatchColor(), LAYER_WIDGET::ID_CHANGE_RENDER_COLOR, KiBitmap(), and LAYER_WIDGET::passOnFocus().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::insertRenderRow().
|
protectedinherited |
Definition at line 245 of file layer_widget.cpp.
References LAYER_WIDGET::passOnFocus().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), and LAYER_WIDGET::LAYER_WIDGET().
|
protectedinherited |
Function passOnFocus gives away the keyboard focus up to the main parent window.
Definition at line 442 of file layer_widget.cpp.
References LAYER_WIDGET::m_FocusOwner.
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::OnLayerCheckBox(), LAYER_WIDGET::OnLayerSwatchChanged(), LAYER_WIDGET::OnLeftDownLayers(), LAYER_WIDGET::OnRenderCheckBox(), LAYER_WIDGET::OnRenderSwatchChanged(), LAYER_WIDGET::OnRightDownLayer(), GERBER_LAYER_WIDGET::onRightDownLayers(), onRightDownLayers(), LAYER_WIDGET::OnRightDownRender(), LAYER_WIDGET::OnTabChange(), and LAYER_WIDGET::SelectLayerRow().
void PCB_LAYER_WIDGET::ReFill | ( | ) |
Definition at line 488 of file pcb_layer_widget.cpp.
References LAYER_WIDGET::AppendLayerRow(), B_Adhes, B_CrtYd, B_Cu, B_Fab, B_Mask, B_Paste, B_SilkS, LAYER_WIDGET::ClearLayerRows(), Cmts_User, PCB_GENERAL_SETTINGS::Colors(), COLUMN_COLOR_LYRNAME, COLUMN_COLORBM, LSET::CuStack(), DIM, Dwgs_User, Eco1_User, Eco2_User, Edge_Cuts, F_Adhes, F_CrtYd, F_Cu, F_Fab, F_Mask, F_Paste, F_SilkS, PCB_BASE_FRAME::GetBoard(), BOARD::GetEnabledLayers(), COLORS_DESIGN_SETTINGS::GetLayerColor(), LAYER_WIDGET::getLayerComp(), BOARD::GetLayerName(), LAYER_WIDGET::GetLayerRowCount(), i, isLayerAllowedInFpMode(), m_fp_editor_mode, Margin, myframe, and PCB_BASE_FRAME::Settings().
void PCB_LAYER_WIDGET::ReFillRender | ( | ) |
Function ReFillRender rebuilds Render for instance after the config is read.
Definition at line 389 of file pcb_layer_widget.cpp.
References LAYER_WIDGET::AppendRenderRow(), LAYER_WIDGET::ClearRenderRows(), LAYER_WIDGET::ROW::color, PCB_GENERAL_SETTINGS::Colors(), DIM, PCB_BASE_FRAME::GetBoard(), BOARD::GetDesignSettings(), COLORS_DESIGN_SETTINGS::GetItemColor(), LAYER_WIDGET::ROW::id, isAllowedInFpMode(), BOARD::IsElementVisible(), LAYER_VIA_BBLIND, LAYER_VIA_MICROVIA, m_fp_editor_mode, myframe, LAYER_WIDGET::ROW::rowName, s_render_rows, PCB_BASE_FRAME::Settings(), LAYER_WIDGET::ROW::spacer, LAYER_WIDGET::ROW::state, and LAYER_WIDGET::ROW::tooltip.
Referenced by PCB_LAYER_WIDGET().
|
inherited |
Function SelectLayer changes the row selection in the layer list to aLayer provided.
Definition at line 672 of file layer_widget.cpp.
References LAYER_WIDGET::findLayerRow(), and LAYER_WIDGET::SelectLayerRow().
Referenced by LAYER_WIDGET::AppendRenderRows(), GERBVIEW_FRAME::SetActiveLayer(), and GERBVIEW_FRAME::syncLayerWidget().
|
inherited |
Function SelectLayerRow changes the row selection in the layer list to the given row.
Definition at line 638 of file layer_widget.cpp.
References LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::m_CurrentRow, LAYER_WIDGET::m_notebook, OFF, ON, LAYER_WIDGET::passOnFocus(), INDICATOR_ICON::SetIndicatorState(), and LAYER_WIDGET::useAlternateBitmap().
Referenced by LAYER_WIDGET::AppendRenderRows(), LAYER_WIDGET::OnLeftDownLayers(), and LAYER_WIDGET::SelectLayer().
|
protectedinherited |
Definition at line 696 of file layer_widget.cpp.
References COLUMN_COLOR_LYR_CB, LAYER_WIDGET::findLayerRow(), and LAYER_WIDGET::getLayerComp().
Referenced by LAYER_WIDGET::getBackgroundLayerColor(), LAYER_WIDGET::SetLayerVisible(), and SyncLayerVisibilities().
Function SetLayerColor changes the color of aLayer.
Definition at line 721 of file layer_widget.cpp.
References LAYER_WIDGET::findLayerRow(), and LAYER_WIDGET::getLayerComp().
Referenced by LAYER_WIDGET::AppendRenderRows().
void PCB_LAYER_WIDGET::SetLayersManagerTabsText | ( | ) |
Function SetLayersManagerTabsText Update the layer manager tabs labels Useful when changing Language or to set labels to a non default value.
Definition at line 382 of file pcb_layer_widget.cpp.
References LAYER_WIDGET::m_notebook.
Referenced by PCB_LAYER_WIDGET().
|
inherited |
Function SetLayerVisible sets aLayer visible or not.
This does not invoke OnLayerVisible().
Definition at line 689 of file layer_widget.cpp.
References LAYER_WIDGET::OnLayerVisible(), and LAYER_WIDGET::setLayerCheckbox().
Referenced by LAYER_WIDGET::AppendRenderRows(), and ROUTER_TOOL::prepareInteractive().
|
inherited |
Function SetRenderState sets the state of the checkbox associated with aId within the Render tab group of the widget.
Does not fire an event, i.e. does not invoke OnRenderEnable().
aId | is the same unique id used when adding a ROW to the Render tab. |
isSet | = the new checkbox state |
Definition at line 751 of file layer_widget.cpp.
References LAYER_WIDGET::findRenderRow(), and LAYER_WIDGET::getRenderComp().
Referenced by LAYER_WIDGET::AppendRenderRows(), GERBVIEW_FRAME::SetElementVisibility(), FOOTPRINT_EDIT_FRAME::SetElementVisibility(), and GERBVIEW_FRAME::SetGridVisibility().
void PCB_LAYER_WIDGET::SyncLayerAlphaIndicators | ( | ) |
Function SyncLayerAlphaIndicators updates each "Layer"s alpha indicator to show if the board is currently being rendered with more transparency or less.
Definition at line 454 of file pcb_layer_widget.cpp.
References KIGFX::COLOR4D::a, abs, ALPHA_EPSILON, COLUMN_ALPHA_INDICATOR, COLUMN_COLORBM, COLUMN_ICON_ACTIVE, LAYER_WIDGET::getDecodedId(), KIGFX::RENDER_SETTINGS::GetLayerColor(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), KIGFX::VIEW::GetPainter(), KIGFX::PCB_PAINTER::GetSettings(), COLOR_SWATCH::GetSwatchColor(), EDA_DRAW_FRAME::GetToolManager(), TOOL_MANAGER::GetView(), myframe, OFF, INDICATOR_ICON::SetIndicatorState(), and ToLAYER_ID().
Referenced by FOOTPRINT_EDIT_FRAME::OnUpdateLayerAlpha().
void PCB_LAYER_WIDGET::SyncLayerVisibilities | ( | ) |
Function SyncLayerVisibilities updates each "Layer" checkbox in this layer widget according to each layer's current visibility determined by IsLayerVisible(), and is helpful immediately after loading a BOARD which may have state information in it.
Definition at line 432 of file pcb_layer_widget.cpp.
References COLUMN_ICON_ACTIVE, PCB_BASE_FRAME::GetBoard(), LAYER_WIDGET::getDecodedId(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), BOARD::IsLayerVisible(), myframe, LAYER_WIDGET::setLayerCheckbox(), and ToLAYER_ID().
|
inherited |
Function UpdateLayerIcons Update all layer manager icons (layers only) Useful when loading a file or clearing a layer because they change, and the indicator arrow icon needs to be updated.
Definition at line 791 of file layer_widget.cpp.
References BLUE, BROWN, COLUMN_ICON_ACTIVE, DIM, LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), GREEN, LAYER_WIDGET::LAYER_WIDGET(), LAYER_WIDGET::m_CurrentRow, OFF, ON, LAYER_WIDGET::OnLayerColorChange(), LAYER_WIDGET::OnLayerSelect(), LAYER_WIDGET::OnLayerVisible(), LAYER_WIDGET::OnRenderColorChange(), LAYER_WIDGET::OnRenderEnable(), RED, INDICATOR_ICON::SetIndicatorState(), LAYER_WIDGET::useAlternateBitmap(), and YELLOW.
Referenced by LAYER_WIDGET::AppendRenderRows(), GERBVIEW_FRAME::LoadExcellonFiles(), GERBVIEW_FRAME::loadListOfGerberFiles(), and GERBVIEW_FRAME::LoadZipArchiveFile().
|
inherited |
Definition at line 781 of file layer_widget.cpp.
References LAYER_WIDGET::m_LayerPanel, LAYER_WIDGET::m_LayersFlexGridSizer, LAYER_WIDGET::m_RenderFlexGridSizer, and LAYER_WIDGET::m_RenderingPanel.
Referenced by LAYER_WIDGET::AppendLayerRow(), LAYER_WIDGET::AppendRenderRow(), and LAYER_WIDGET::AppendRenderRows().
|
inlineprotectedvirtualinherited |
Virtual Function useAlternateBitmap.
Reimplemented in GERBER_LAYER_WIDGET.
Definition at line 145 of file layer_widget.h.
Referenced by LAYER_WIDGET::SelectLayerRow(), and LAYER_WIDGET::UpdateLayerIcons().
|
staticinherited |
Definition at line 119 of file layer_widget.h.
Referenced by LAYER_WIDGET::OnLayerSwatchChanged().
|
protected |
Definition at line 122 of file pcb_layer_widget.h.
Referenced by OnLayerSelect(), OnLayerSelected(), onPopupSelection(), and PCB_LAYER_WIDGET().
|
protectedinherited |
selected row of layer list
Definition at line 132 of file layer_widget.h.
Referenced by LAYER_WIDGET::GetSelectedLayer(), LAYER_WIDGET::LAYER_WIDGET(), LAYER_WIDGET::SelectLayerRow(), and LAYER_WIDGET::UpdateLayerIcons().
|
protectedinherited |
Definition at line 131 of file layer_widget.h.
Referenced by LAYER_WIDGET::LAYER_WIDGET(), and LAYER_WIDGET::passOnFocus().
|
protected |
Definition at line 124 of file pcb_layer_widget.h.
Referenced by OnLayerSelect(), PCB_LAYER_WIDGET(), ReFill(), and ReFillRender().
|
protectedinherited |
Definition at line 135 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::LAYER_WIDGET(), and LAYER_WIDGET::~LAYER_WIDGET().
|
protectedinherited |
Definition at line 124 of file layer_widget.h.
Referenced by LAYER_WIDGET::GetBestSize(), LAYER_WIDGET::LAYER_WIDGET(), and LAYER_WIDGET::UpdateLayouts().
|
protectedinherited |
Definition at line 125 of file layer_widget.h.
Referenced by GERBER_LAYER_WIDGET::GERBER_LAYER_WIDGET(), LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::LAYER_WIDGET(), LAYER_WIDGET::OnLeftDownLayers(), and PCB_LAYER_WIDGET().
|
protectedinherited |
Definition at line 126 of file layer_widget.h.
Referenced by LAYER_WIDGET::ClearLayerRows(), LAYER_WIDGET::GetBestSize(), LAYER_WIDGET::getLayerComp(), LAYER_WIDGET::GetLayerRowCount(), LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::LAYER_WIDGET(), LAYER_WIDGET::OnLeftDownLayers(), and LAYER_WIDGET::UpdateLayouts().
|
protectedinherited |
Definition at line 123 of file layer_widget.h.
Referenced by LAYER_WIDGET::LAYER_WIDGET(), LAYER_WIDGET::SelectLayerRow(), SetLayersManagerTabsText(), and GERBER_LAYER_WIDGET::SetLayersManagerTabsText().
|
protectedinherited |
Definition at line 133 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), and LAYER_WIDGET::LAYER_WIDGET().
|
protectedinherited |
Definition at line 129 of file layer_widget.h.
Referenced by LAYER_WIDGET::ClearRenderRows(), LAYER_WIDGET::GetBestSize(), LAYER_WIDGET::getRenderComp(), LAYER_WIDGET::GetRenderRowCount(), LAYER_WIDGET::insertRenderRow(), LAYER_WIDGET::LAYER_WIDGET(), and LAYER_WIDGET::UpdateLayouts().
|
protectedinherited |
Definition at line 127 of file layer_widget.h.
Referenced by LAYER_WIDGET::GetBestSize(), LAYER_WIDGET::LAYER_WIDGET(), and LAYER_WIDGET::UpdateLayouts().
|
protectedinherited |
Definition at line 128 of file layer_widget.h.
Referenced by LAYER_WIDGET::insertRenderRow(), and LAYER_WIDGET::LAYER_WIDGET().
|
protected |
Definition at line 126 of file pcb_layer_widget.h.
Referenced by AreArbitraryColorsAllowed(), getBackgroundLayerColor(), OnLayerColorChange(), OnLayerSelect(), OnLayerVisible(), onPopupSelection(), OnRenderColorChange(), OnRenderEnable(), ReFill(), ReFillRender(), SyncLayerAlphaIndicators(), and SyncLayerVisibilities().
|
staticprotected |
This is a read only template that is copied and modified before adding to LAYER_WIDGET.
Definition at line 121 of file pcb_layer_widget.h.
Referenced by ReFillRender().