7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 15:51:41 +00:00

Move LAYER_PRESENTATION to widgets/

Since this is code used by widgets for UI presentation purposes.

Also saves some unnexessary includes in headers.
This commit is contained in:
John Beard 2024-08-07 06:46:57 +08:00
parent 0c3ac40bb6
commit d933ed964e
8 changed files with 8 additions and 9 deletions

View File

@ -392,6 +392,7 @@ set( COMMON_WIDGET_SRCS
widgets/indicator_icon.cpp
widgets/wx_infobar.cpp
widgets/layer_box_selector.cpp
widgets/layer_presentation.cpp
widgets/lib_tree.cpp
widgets/mathplot.cpp
widgets/msgpanel.cpp
@ -556,7 +557,6 @@ set( COMMON_SRCS
hotkeys_basic.cpp
kiface_base.cpp
kiway_player.cpp
layer_presentation.cpp
lib_table_grid_tricks.cpp
lib_tree_model.cpp
lib_tree_model_adapter.cpp

View File

@ -21,7 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "layer_presentation.h"
#include "widgets/layer_presentation.h"
#include <wx/bitmap.h>
#include <wx/dcmemory.h>

View File

@ -25,7 +25,7 @@
#include "gbr_layer_box_selector.h"
#include <layer_presentation.h>
#include <widgets/layer_presentation.h>
#include <gerbview_frame.h>
#include <gerber_file_image_list.h>

View File

@ -26,11 +26,11 @@
#include <pcb_edit_frame.h>
#include <board.h>
#include <board_design_settings.h>
#include <layer_presentation.h>
#include <dialogs/dialog_color_picker.h>
#include <widgets/paged_dialog.h>
#include <widgets/layer_box_selector.h>
#include <widgets/layer_presentation.h>
#include <widgets/wx_panel.h>
#include <wx/bmpcbox.h>
#include <wx/log.h>
#include <wx/rawbmp.h>
#include <wx/clipbrd.h>

View File

@ -30,12 +30,11 @@
#include <settings/color_settings.h>
#include <footprint_editor_settings.h>
#include <board.h>
#include <layer_presentation.h>
#include <lset.h>
#include <pcb_edit_frame.h>
#include <pcb_layer_box_selector.h>
#include <settings/color_settings.h>
#include <widgets/layer_box_selector.h>
#include <widgets/layer_presentation.h>
//-------- Custom wxGridCellRenderers --------------------------------------------------

View File

@ -25,7 +25,7 @@
#define PCB_LAYER_PRESENTATION_H
#include <lseq.h>
#include <layer_presentation.h>
#include <widgets/layer_presentation.h>
class LAYER_PAIR;
class PCB_BASE_FRAME;

View File

@ -33,7 +33,6 @@
#include <board_design_settings.h>
#include <kiface_base.h>
#include <kiplatform/ui.h>
#include <layer_presentation.h>
#include <macros.h>
#include <pcb_edit_frame.h>
#include <pcb_layer_box_selector.h>
@ -51,6 +50,7 @@
#include <tools/pcb_selection_tool.h>
#include <widgets/appearance_controls.h>
#include <widgets/layer_box_selector.h>
#include <widgets/layer_presentation.h>
#include <widgets/pcb_properties_panel.h>
#include <widgets/net_inspector_panel.h>
#include <widgets/pcb_search_pane.h>