KiCad PCB EDA Suite
PCB_DISPLAY_OPTIONS Class Reference

#include <pcb_display_options.h>

Public Member Functions

 PCB_DISPLAY_OPTIONS ()
 

Public Attributes

ZONE_DISPLAY_MODE m_ZoneDisplayMode
 
HIGH_CONTRAST_MODE m_ContrastModeDisplay
 How inactive layers are displayed. More...
 
NET_COLOR_MODE m_NetColorMode
 How to use color overrides on specific nets and netclasses. More...
 
double m_TrackOpacity
 Opacity override for all tracks. More...
 
double m_ViaOpacity
 Opacity override for all types of via. More...
 
double m_PadOpacity
 Opacity override for SMD pads and PTHs. More...
 
double m_ZoneOpacity
 Opacity override for filled zone areas. More...
 
double m_ImageOpacity
 Opacity override for user images. More...
 

Detailed Description

Definition at line 30 of file pcb_display_options.h.

Constructor & Destructor Documentation

◆ PCB_DISPLAY_OPTIONS()

PCB_DISPLAY_OPTIONS::PCB_DISPLAY_OPTIONS ( )
inline

Definition at line 33 of file pcb_display_options.h.

34 {
38
39 m_TrackOpacity = 1.0;
40 m_ViaOpacity = 1.0;
41 m_PadOpacity = 1.0;
42 m_ZoneOpacity = 1.0;
43 m_ImageOpacity = 1.0;
44 }
@ NORMAL
Inactive layers are shown normally (no high-contrast mode)
@ RATSNEST
Net/netclass colors are shown on ratsnest lines only.
double m_TrackOpacity
Opacity override for all tracks.
double m_ZoneOpacity
Opacity override for filled zone areas.
double m_ImageOpacity
Opacity override for user images.
double m_PadOpacity
Opacity override for SMD pads and PTHs.
double m_ViaOpacity
Opacity override for all types of via.
HIGH_CONTRAST_MODE m_ContrastModeDisplay
How inactive layers are displayed.
NET_COLOR_MODE m_NetColorMode
How to use color overrides on specific nets and netclasses.
ZONE_DISPLAY_MODE m_ZoneDisplayMode

References m_ContrastModeDisplay, m_ImageOpacity, m_NetColorMode, m_PadOpacity, m_TrackOpacity, m_ViaOpacity, m_ZoneDisplayMode, m_ZoneOpacity, NORMAL, RATSNEST, and SHOW_FILLED.

Member Data Documentation

◆ m_ContrastModeDisplay

◆ m_ImageOpacity

◆ m_NetColorMode

◆ m_PadOpacity

◆ m_TrackOpacity

◆ m_ViaOpacity

◆ m_ZoneDisplayMode

◆ m_ZoneOpacity


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