KiCad PCB EDA Suite
APPEARANCE_CONTROLS::APPEARANCE_SETTING Struct Reference

Container for an appearance setting (can control a single board layer, or GAL layer, etc) More...

#include <appearance_controls.h>

Public Member Functions

 APPEARANCE_SETTING (const wxString &aLabel, int aId, const wxString &aTooltip=wxEmptyString, bool aCanControlOpacity=false)
 
 APPEARANCE_SETTING ()
 

Public Attributes

int id
 
wxString label
 
wxString tooltip
 
bool visible
 
bool can_control_opacity
 
bool spacer
 
wxPanel * ctl_panel
 
INDICATOR_ICONctl_indicator
 
BITMAP_TOGGLEctl_visibility
 
COLOR_SWATCHctl_color
 
wxStaticText * ctl_text
 
wxSlider * ctl_opacity
 

Detailed Description

Container for an appearance setting (can control a single board layer, or GAL layer, etc)

Definition at line 146 of file appearance_controls.h.

Constructor & Destructor Documentation

◆ APPEARANCE_SETTING() [1/2]

APPEARANCE_CONTROLS::APPEARANCE_SETTING::APPEARANCE_SETTING ( const wxString &  aLabel,
int  aId,
const wxString &  aTooltip = wxEmptyString,
bool  aCanControlOpacity = false 
)
inline

Definition at line 162 of file appearance_controls.h.

164  :
165  id( aId ),
166  label( aLabel ),
167  tooltip( aTooltip ),
168  visible( true ),
169  can_control_opacity( aCanControlOpacity ),
170  spacer( false ),
171  ctl_panel( nullptr ),
172  ctl_indicator( nullptr ),
173  ctl_visibility( nullptr ),
174  ctl_color( nullptr ),
175  ctl_text( nullptr ),
176  ctl_opacity( nullptr )
177  {
178  }

◆ APPEARANCE_SETTING() [2/2]

APPEARANCE_CONTROLS::APPEARANCE_SETTING::APPEARANCE_SETTING ( )
inline

Definition at line 180 of file appearance_controls.h.

180  :
181  id( -1 ),
182  label( "" ),
183  tooltip( "" ),
184  visible( false ),
185  can_control_opacity( false ),
186  spacer( true ),
187  ctl_panel( nullptr ),
188  ctl_indicator( nullptr ),
189  ctl_visibility( nullptr ),
190  ctl_color( nullptr ),
191  ctl_text( nullptr ),
192  ctl_opacity( nullptr )
193  {
194  }

Member Data Documentation

◆ can_control_opacity

bool APPEARANCE_CONTROLS::APPEARANCE_SETTING::can_control_opacity

Definition at line 152 of file appearance_controls.h.

◆ ctl_color

COLOR_SWATCH* APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_color

◆ ctl_indicator

INDICATOR_ICON* APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_indicator

Definition at line 156 of file appearance_controls.h.

Referenced by APPEARANCE_CONTROLS::OnLayerChanged().

◆ ctl_opacity

wxSlider* APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_opacity

Definition at line 160 of file appearance_controls.h.

◆ ctl_panel

wxPanel* APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_panel

◆ ctl_text

wxStaticText* APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_text

Definition at line 159 of file appearance_controls.h.

Referenced by APPEARANCE_CONTROLS::rebuildNets().

◆ ctl_visibility

BITMAP_TOGGLE* APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_visibility

◆ id

int APPEARANCE_CONTROLS::APPEARANCE_SETTING::id

Definition at line 148 of file appearance_controls.h.

◆ label

wxString APPEARANCE_CONTROLS::APPEARANCE_SETTING::label

Definition at line 149 of file appearance_controls.h.

◆ spacer

bool APPEARANCE_CONTROLS::APPEARANCE_SETTING::spacer

Definition at line 153 of file appearance_controls.h.

◆ tooltip

wxString APPEARANCE_CONTROLS::APPEARANCE_SETTING::tooltip

Definition at line 150 of file appearance_controls.h.

◆ visible

bool APPEARANCE_CONTROLS::APPEARANCE_SETTING::visible

Definition at line 151 of file appearance_controls.h.


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