KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_draw_panel_gal.cpp File Reference
#include "pcb_draw_panel_gal.h"
#include <settings/color_settings.h>
#include <pcb_view.h>
#include <view/wx_view_controls.h>
#include <pcb_painter.h>
#include <drawing_sheet/ds_proxy_view_item.h>
#include <connectivity/connectivity_data.h>
#include <board.h>
#include <footprint.h>
#include <pad.h>
#include <pcb_track.h>
#include <macros.h>
#include <pcb_generator.h>
#include <pcb_marker.h>
#include <pcb_point.h>
#include <pcb_base_frame.h>
#include <pcbnew_settings.h>
#include <ratsnest/ratsnest_data.h>
#include <ratsnest/ratsnest_view_item.h>
#include <pcb_board_outline.h>
#include <pgm_base.h>
#include <settings/settings_manager.h>
#include <confirm.h>
#include <progress_reporter.h>
#include <string_utils.h>
#include <gal/graphics_abstraction_layer.h>
#include <zoom_defines.h>
#include <functional>
#include <memory>
#include <thread>
#include <fmt/format.h>

Go to the source code of this file.

Functions

void ApplyPcbGalLayerOrder (KIGFX::VIEW *aView)
 Apply pcbnew's canonical GAL layer order (copper and zones below silk, fab and courtyard) to any view, including ones that are not a PCB_DRAW_PANEL_GAL.
 

Variables

const int GAL_LAYER_ORDER []
 

Function Documentation

◆ ApplyPcbGalLayerOrder()

void ApplyPcbGalLayerOrder ( KIGFX::VIEW * aView)

Apply pcbnew's canonical GAL layer order (copper and zones below silk, fab and courtyard) to any view, including ones that are not a PCB_DRAW_PANEL_GAL.

Definition at line 624 of file pcb_draw_panel_gal.cpp.

References GAL_LAYER_ORDER, LAYER_BITMAP_END, LAYER_BITMAP_START, KIGFX::VIEW::SetLayerOrder(), KIGFX::VIEW::SortOrderedLayers(), KIGFX::VIEW::TOP_LAYER_MODIFIER, and KIGFX::VIEW::VIEW_MAX_LAYERS.

Referenced by KICAD_DIFF::ConfigurePcbDiffCanvasContext(), and PCB_DRAW_PANEL_GAL::setDefaultLayerOrder().

Variable Documentation

◆ GAL_LAYER_ORDER

const int GAL_LAYER_ORDER[]