Move the gerbview widgets to their own folder

This commit is contained in:
Marek Roszko 2020-11-16 07:13:08 -05:00
parent c7926db553
commit 4b38bada76
14 changed files with 25 additions and 20 deletions

View File

@ -26,17 +26,21 @@ set( DIALOGS_SRCS
dialogs/dialog_select_one_pcb_layer.cpp
)
set( WIDGET_SRCS
widgets/dcode_selection_box.cpp
widgets/gbr_layer_box_selector.cpp
widgets/gerbview_layer_widget.cpp
widgets/layer_widget.cpp
)
set( GERBVIEW_SRCS
am_param.cpp
am_primitive.cpp
DCodeSelectionbox.cpp
gbr_layout.cpp
gerber_file_image.cpp
gerber_file_image_list.cpp
gerber_draw_item.cpp
gerbview_layer_widget.cpp
gerbview_printout.cpp
gbr_layer_box_selector.cpp
X2_gerber_attributes.cpp
clear_gbr_drawlayers.cpp
dcode.cpp
@ -48,7 +52,6 @@ set( GERBVIEW_SRCS
gerbview_settings.cpp
gerbview_frame.cpp
job_file_reader.cpp
layer_widget.cpp
menubar.cpp
readgerb.cpp
rs274_read_XY_and_IJ_coordinates.cpp
@ -125,6 +128,7 @@ add_library( gerbview_kiface_objects OBJECT
gerbview.cpp
${GERBVIEW_SRCS}
${DIALOGS_SRCS}
${WIDGET_SRCS}
${GERBVIEW_EXTRA_SRCS}
)

View File

@ -31,9 +31,9 @@
#include <gerbview_frame.h>
#include <gerber_file_image.h>
#include <gerber_file_image_list.h>
#include <gerbview_layer_widget.h>
#include <view/view.h>
#include <base_screen.h>
#include "widgets/gerbview_layer_widget.h"
#include <tool/tool_manager.h>

View File

@ -29,14 +29,14 @@
#include <gerber_file_image.h>
#include <gerber_file_image_list.h>
#include <dialog_helpers.h>
#include <DCodeSelectionbox.h>
#include <gerbview_layer_widget.h>
#include <gal/graphics_abstraction_layer.h>
#include <tool/tool_manager.h>
#include <tool/selection.h>
#include <tools/gerbview_selection_tool.h>
#include <gerbview_painter.h>
#include <view/view.h>
#include "widgets/gerbview_layer_widget.h"
#include "widgets/dcode_selection_box.h"
// Event table:

View File

@ -31,9 +31,9 @@
#include <gerber_file_image.h>
#include <gerber_file_image_list.h>
#include <excellon_image.h>
#include <gerbview_layer_widget.h>
#include <wildcards_and_files_ext.h>
#include <widgets/progress_reporter.h>
#include "widgets/gerbview_layer_widget.h"
// HTML Messages used more than one time:
#define MSG_NO_MORE_LAYER _( "<b>No more available layers</b> in Gerbview to load files" )

View File

@ -22,7 +22,6 @@
#include <pgm_base.h>
#include <eda_base_frame.h>
#include <base_units.h>
#include <gbr_layer_box_selector.h>
#include <bitmaps.h>
#include <wildcards_and_files_ext.h>
#include <gerbview.h>
@ -30,8 +29,6 @@
#include <gerbview_id.h>
#include <gerber_file_image.h>
#include <gerber_file_image_list.h>
#include <DCodeSelectionbox.h>
#include <gerbview_layer_widget.h>
#include <gerbview_draw_panel_gal.h>
#include <gerbview_settings.h>
#include <gal/graphics_abstraction_layer.h>
@ -61,6 +58,10 @@
#include <panel_hotkeys_editor.h>
#include <wx/wupdlock.h>
#include "widgets/gbr_layer_box_selector.h"
#include "widgets/gerbview_layer_widget.h"
#include "widgets/dcode_selection_box.h"
GERBVIEW_FRAME::GERBVIEW_FRAME( KIWAY* aKiway, wxWindow* aParent )
: EDA_DRAW_FRAME( aKiway, aParent, FRAME_GERBER, wxT( "GerbView" ), wxDefaultPosition,

View File

@ -25,14 +25,14 @@
#include <gerbview_id.h>
#include <gerber_file_image.h>
#include <gerber_file_image_list.h>
#include <gbr_layer_box_selector.h>
#include <DCodeSelectionbox.h>
#include <dialog_helpers.h>
#include <kicad_string.h>
#include <wx/wupdlock.h>
#include <tool/actions.h>
#include <tool/action_toolbar.h>
#include <tools/gerbview_actions.h>
#include "widgets/gbr_layer_box_selector.h"
#include "widgets/dcode_selection_box.h"
void GERBVIEW_FRAME::ReCreateHToolbar()
{

View File

@ -26,7 +26,7 @@
#include <pgm_base.h>
#include <dcode.h>
#include <DCodeSelectionbox.h>
#include "dcode_selection_box.h"
/*******************************************/
/* Helper class for displaying DCodes list */

View File

@ -32,7 +32,7 @@
#include <gerbview_frame.h>
#include <gerber_file_image_list.h>
#include <gbr_layer_box_selector.h>
#include "gbr_layer_box_selector.h"
void GBR_LAYER_BOX_SELECTOR::Resync()
{

View File

@ -23,18 +23,18 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <gbr_layer_box_selector.h>
#include <menus_helpers.h>
#include <gerbview.h>
#include <gerbview_frame.h>
#include <gerber_file_image_list.h>
#include <layer_widget.h>
#include <gerbview_layer_widget.h>
#include <view/view.h>
#include <gerbview_painter.h>
#include <gal/graphics_abstraction_layer.h>
#include <settings/settings_manager.h>
#include "layer_widget.h"
#include "gbr_layer_box_selector.h"
#include "gerbview_layer_widget.h"
/*
* GERBER_LAYER_WIDGET

View File

@ -31,7 +31,7 @@
#ifndef GERBER_LAYER_WIDGET_H
#define GERBER_LAYER_WIDGET_H
#include <layer_widget.h>
#include "layer_widget.h"
/**
* GERBER_LAYER_WIDGET

View File

@ -33,7 +33,7 @@
//#define STAND_ALONE 1 // define to enable test program for LAYER_WIDGET
#include <layer_widget.h>
#include "layer_widget.h"
#include <macros.h>
#include <common.h>