KiCad PCB EDA Suite
|
#include <grid_layer_box_helpers.h>
Public Member Functions | |
GRID_CELL_LAYER_RENDERER (PCB_BASE_FRAME *aFrame) | |
~GRID_CELL_LAYER_RENDERER () override | |
void | Draw (wxGrid &aGrid, wxGridCellAttr &aAttr, wxDC &aDC, const wxRect &aRect, int aRow, int aCol, bool isSelected) override |
Private Attributes | |
PCB_BASE_FRAME * | m_frame |
wxBitmap | m_bitmap |
Definition at line 39 of file grid_layer_box_helpers.h.
GRID_CELL_LAYER_RENDERER::GRID_CELL_LAYER_RENDERER | ( | PCB_BASE_FRAME * | aFrame | ) |
Definition at line 43 of file grid_layer_box_helpers.cpp.
References m_frame.
|
override |
Definition at line 49 of file grid_layer_box_helpers.cpp.
|
override |
Definition at line 54 of file grid_layer_box_helpers.cpp.
References DEFAULT_THEME, LAYER_PRESENTATION::DrawColorSwatch(), GetAppSettings(), COLOR_SETTINGS::GetColor(), GetColorSettings(), BOARD::GetStandardLayerName(), KiROUND(), LAYER_PCB_BACKGROUND, m_bitmap, m_frame, and ToLAYER_ID().
|
private |
Definition at line 50 of file grid_layer_box_helpers.h.
Referenced by Draw().
|
private |
Definition at line 49 of file grid_layer_box_helpers.h.
Referenced by Draw(), and GRID_CELL_LAYER_RENDERER().