KiCad PCB EDA Suite
DISPLAY_OPTIONS Class Reference

Class DISPLAY_OPTIONS handles display options like enable/disable some optional drawings. More...

#include <pcbstruct.h>

Public Member Functions

 DISPLAY_OPTIONS ()
 

Public Attributes

bool m_DisplayPadFill
 
bool m_DisplayViaFill
 
bool m_DisplayPadNum
 
bool m_DisplayPadIsol
 
bool m_DisplayModEdgeFill
 
bool m_DisplayModTextFill
 
bool m_DisplayPcbTrackFill
 
TRACE_CLEARANCE_DISPLAY_MODE_T m_ShowTrackClearanceMode
 How trace clearances are displayed. More...
 
bool m_DisplayPolarCood
 
int m_DisplayZonesMode
 
int m_DisplayNetNamesMode
 
bool m_DisplayDrawItemsFill
 
bool m_ContrastModeDisplay
 
int m_MaxLinksShowed
 
bool m_Show_Module_Ratsnest
 

Detailed Description

Class DISPLAY_OPTIONS handles display options like enable/disable some optional drawings.

Definition at line 62 of file pcbstruct.h.

Constructor & Destructor Documentation

DISPLAY_OPTIONS::DISPLAY_OPTIONS ( )

Definition at line 203 of file classpcb.cpp.

References FILLED, m_ContrastModeDisplay, m_DisplayDrawItemsFill, m_DisplayModEdgeFill, m_DisplayModTextFill, m_DisplayNetNamesMode, m_DisplayPadFill, m_DisplayPadIsol, m_DisplayPadNum, m_DisplayPcbTrackFill, m_DisplayPolarCood, m_DisplayViaFill, m_DisplayZonesMode, m_MaxLinksShowed, m_Show_Module_Ratsnest, m_ShowTrackClearanceMode, and SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS.

204 {
207  m_DisplayPadNum = true;
208  m_DisplayPadIsol = true;
209 
212  m_DisplayPcbTrackFill = FILLED; // false = sketch , true = filled
214 
215  m_DisplayPolarCood = false; /* false = display absolute coordinates,
216  * true = display polar cordinates */
217  m_DisplayZonesMode = 0; /* 0 = Show filled areas outlines in zones,
218  * 1 = do not show filled areas outlines
219  * 2 = show outlines of filled areas */
220  m_DisplayNetNamesMode = 3; /* 0 do not show netnames,
221  * 1 show netnames on pads
222  * 2 show netnames on tracks
223  * 3 show netnames on tracks and pads */
225  m_ContrastModeDisplay = false;
226  m_MaxLinksShowed = 3; // in track creation: number of hairwires shown
227  m_Show_Module_Ratsnest = true; // When moving a footprint: allows displaying a ratsnest
228 }
bool m_DisplayModEdgeFill
Definition: pcbstruct.h:69
bool m_DisplayPolarCood
Definition: pcbstruct.h:76
bool m_DisplayPcbTrackFill
Definition: pcbstruct.h:71
bool m_ContrastModeDisplay
Definition: pcbstruct.h:85
bool m_DisplayDrawItemsFill
Definition: pcbstruct.h:84
int m_DisplayZonesMode
Definition: pcbstruct.h:77
TRACE_CLEARANCE_DISPLAY_MODE_T m_ShowTrackClearanceMode
How trace clearances are displayed.
Definition: pcbstruct.h:74
bool m_DisplayPadFill
Definition: pcbstruct.h:65
bool m_DisplayPadIsol
Definition: pcbstruct.h:68
bool m_DisplayPadNum
Definition: pcbstruct.h:67
int m_DisplayNetNamesMode
Definition: pcbstruct.h:78
int m_MaxLinksShowed
Definition: pcbstruct.h:86
bool m_Show_Module_Ratsnest
Definition: pcbstruct.h:87
bool m_DisplayViaFill
Definition: pcbstruct.h:66
bool m_DisplayModTextFill
Definition: pcbstruct.h:70

Member Data Documentation

bool DISPLAY_OPTIONS::m_Show_Module_Ratsnest

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