From 70beca164f01f40c1ed13aa291c63cbe9b05a933 Mon Sep 17 00:00:00 2001 From: Tomasz Wlostowski Date: Sat, 5 Sep 2020 01:10:07 +0200 Subject: [PATCH] PCB_RENDER_SETTINGS: added SetZoneDisplayMode() method --- pcbnew/pcb_painter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pcbnew/pcb_painter.h b/pcbnew/pcb_painter.h index ee2437b23d..83d476ad09 100644 --- a/pcbnew/pcb_painter.h +++ b/pcbnew/pcb_painter.h @@ -29,7 +29,7 @@ #include #include - +#include #include @@ -184,6 +184,8 @@ public: std::set& GetHiddenNets() { return m_hiddenNets; } const std::set& GetHiddenNets() const { return m_hiddenNets; } + void SetZoneDisplayMode( ZONE_DISPLAY_MODE mode ) { m_zoneDisplayMode = mode; } + protected: ///> Flag determining if items on a given layer should be drawn as an outline or a filled item bool m_sketchMode[GAL_LAYER_ID_END];