KiCad PCB EDA Suite
Loading...
Searching...
No Matches
APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D Class Reference

Container for an appearance setting (can control a layer class, object type, etc.) More...

#include <appearance_controls_3D.h>

Public Member Functions

 APPEARANCE_SETTING_3D (const wxString &aLabel, int aId, const wxString &aTooltip)
 
 APPEARANCE_SETTING_3D (const wxString &aLabel, int aId, const TOOL_ACTION &aAction)
 
 APPEARANCE_SETTING_3D ()
 
wxString GetTooltip () const
 
wxString GetLabel () const
 

Public Attributes

int m_Id
 
bool m_Visible
 
bool m_Spacer
 
BITMAP_TOGGLEm_Ctl_visibility
 
COLOR_SWATCHm_Ctl_color
 

Private Attributes

wxString m_label
 
std::optional< wxString > m_tooltip
 
std::optional< const TOOL_ACTION * > m_action
 

Detailed Description

Container for an appearance setting (can control a layer class, object type, etc.)

Definition at line 50 of file appearance_controls_3D.h.

Constructor & Destructor Documentation

◆ APPEARANCE_SETTING_3D() [1/3]

APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::APPEARANCE_SETTING_3D ( const wxString &  aLabel,
int  aId,
const wxString &  aTooltip 
)
inline

Definition at line 60 of file appearance_controls_3D.h.

◆ APPEARANCE_SETTING_3D() [2/3]

APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::APPEARANCE_SETTING_3D ( const wxString &  aLabel,
int  aId,
const TOOL_ACTION aAction 
)
inline

Definition at line 71 of file appearance_controls_3D.h.

◆ APPEARANCE_SETTING_3D() [3/3]

APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::APPEARANCE_SETTING_3D ( )
inline

Definition at line 82 of file appearance_controls_3D.h.

Member Function Documentation

◆ GetLabel()

wxString APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::GetLabel ( ) const
inline

Definition at line 101 of file appearance_controls_3D.h.

References m_label.

◆ GetTooltip()

wxString APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::GetTooltip ( ) const
inline

Definition at line 91 of file appearance_controls_3D.h.

References m_action, and m_tooltip.

Member Data Documentation

◆ m_action

std::optional<const TOOL_ACTION*> APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_action
private

Definition at line 110 of file appearance_controls_3D.h.

Referenced by GetTooltip().

◆ m_Ctl_color

COLOR_SWATCH* APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_Ctl_color

Definition at line 58 of file appearance_controls_3D.h.

◆ m_Ctl_visibility

BITMAP_TOGGLE* APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_Ctl_visibility

Definition at line 57 of file appearance_controls_3D.h.

◆ m_Id

int APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_Id

Definition at line 53 of file appearance_controls_3D.h.

◆ m_label

wxString APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_label
private

Definition at line 107 of file appearance_controls_3D.h.

Referenced by GetLabel().

◆ m_Spacer

bool APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_Spacer

Definition at line 55 of file appearance_controls_3D.h.

◆ m_tooltip

std::optional<wxString> APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_tooltip
private

Definition at line 109 of file appearance_controls_3D.h.

Referenced by GetTooltip().

◆ m_Visible

bool APPEARANCE_CONTROLS_3D::APPEARANCE_SETTING_3D::m_Visible

Definition at line 54 of file appearance_controls_3D.h.


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