KiCad PCB EDA Suite
LAYER_WIDGET::ROW Struct Reference

Struct ROW provides all the data needed to add a row to a LAYER_WIDGET. More...

#include <layer_widget.h>

Public Member Functions

 ROW (const wxString &aRowName, int aId, COLOR4D aColor=COLOR4D::UNSPECIFIED, const wxString &aTooltip=wxEmptyString, bool aState=true)
 

Public Attributes

wxString rowName
 the prompt or layername More...
 
int id
 either a layer or "visible element" id More...
 
COLOR4D color
 COLOR4D::UNSPECIFIED if none. More...
 
bool state
 initial wxCheckBox state More...
 
wxString tooltip
 if not empty, use this tooltip on row More...
 

Detailed Description

Struct ROW provides all the data needed to add a row to a LAYER_WIDGET.

This is part of the public API for a LAYER_WIDGET.

Definition at line 84 of file layer_widget.h.

Constructor & Destructor Documentation

LAYER_WIDGET::ROW::ROW ( const wxString &  aRowName,
int  aId,
COLOR4D  aColor = COLOR4D::UNSPECIFIED,
const wxString &  aTooltip = wxEmptyString,
bool  aState = true 
)
inline

Definition at line 92 of file layer_widget.h.

94  {
95  rowName = aRowName;
96  id = aId;
97  color = aColor;
98  state = aState;
99  tooltip = aTooltip;
100  }
bool state
initial wxCheckBox state
Definition: layer_widget.h:89
wxString tooltip
if not empty, use this tooltip on row
Definition: layer_widget.h:90
COLOR4D color
COLOR4D::UNSPECIFIED if none.
Definition: layer_widget.h:88
wxString rowName
the prompt or layername
Definition: layer_widget.h:86

Member Data Documentation

COLOR4D LAYER_WIDGET::ROW::color
int LAYER_WIDGET::ROW::id
wxString LAYER_WIDGET::ROW::rowName

the prompt or layername

Definition at line 86 of file layer_widget.h.

Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), and PCB_LAYER_WIDGET::ReFillRender().

bool LAYER_WIDGET::ROW::state
wxString LAYER_WIDGET::ROW::tooltip

if not empty, use this tooltip on row

Definition at line 90 of file layer_widget.h.

Referenced by LAYER_WIDGET::insertLayerRow(), LAYER_WIDGET::insertRenderRow(), and PCB_LAYER_WIDGET::ReFillRender().


The documentation for this struct was generated from the following file: