7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-14 16:19:36 +00:00

switch to <> for includes from "" per conversation with Jean-Pierre and Wayne, adjust search paths

This commit is contained in:
Dick Hollenbeck 2012-01-22 22:33:36 -06:00
parent 3b8f191cc4
commit b8a0ab4c52
1067 changed files with 5351 additions and 5274 deletions
3d-viewer
CMakeLists.txt
CMakeModules
bitmap2component
bitmaps_png
CMakeLists.txt
cpp_16
cpp_26
add_arc.cppadd_bus.cppadd_bus2bus.cppadd_circle.cppadd_component.cppadd_corner.cppadd_dashed_line.cppadd_dimension.cppadd_entry.cppadd_glabel.cppadd_hierar_pin.cppadd_hierar_subsheet.cppadd_hierarchical_label.cppadd_hierarchical_subsheet.cppadd_junction.cppadd_line.cppadd_line2bus.cppadd_line_label.cppadd_mires.cppadd_polygon.cppadd_power.cppadd_rectangle.cppadd_text.cppadd_tracks.cppadd_zone.cppadd_zone_cutout.cppanchor.cppannotate.cppannotate_down_right.cppannotate_right_down.cppapply.cppauto_associe.cppauto_delete_track.cppauto_track_width.cppaxis3d.cppaxis3d_back.cppaxis3d_bottom.cppaxis3d_front.cppaxis3d_left.cppaxis3d_right.cppaxis3d_top.cppbom.cppbook.cppbreak_bus.cppbreak_line.cppbrowse_files.cppcancel.cppcancel_tool.cppchange_entry_orient.cppchecked_ok.cppcomponent_select_alternate_shape.cppcomponent_select_unit.cppconfig.cppcopper_layers_setup.cppcopy_button.cppcopyblock.cppcopycomponent.cppcreate_cmp_file.cppcursor.cppcursor_shape.cppcut_button.cppcvpcb.cppdashline.cppdatasheet.cppdelete.cppdelete_arc.cppdelete_association.cppdelete_body.cppdelete_bus.cppdelete_circle.cppdelete_connection.cppdelete_cotation.cppdelete_field.cppdelete_glabel.cppdelete_line.cppdelete_module.cppdelete_net.cppdelete_node.cppdelete_pad.cppdelete_pin.cppdelete_pinsheet.cppdelete_polygon.cppdelete_rectangle.cppdelete_segment.cppdelete_sheet.cppdelete_text.cppdelete_track.cppdirectory.cppdisplay_options.cppdown.cppdrag_module.cppdrag_outline_segment.cppdrag_pad.cppdrag_segment_withslope.cppdrag_track_segment.cppdrc.cppdrc_off.cppedges_sketch.cppedit.cppedit_comp_footprint.cppedit_comp_ref.cppedit_comp_value.cppedit_component.cppedit_module.cppedit_part.cppedit_sheet.cppedit_text.cppeditor.cppeeschema.cppenter_sheet.cpperc.cpperc_green.cppercerr.cppercwarn.cpperror.cppexit.cppexport.cppexport_footprint_names.cppexport_module.cppexport_options_pad.cppfabrication.cppfile_footprint.cppfill_zone.cppfind.cppfind_replace.cppflag.cppfonts.cppfootprint_text.cppgbr_select_mode0.cppgbr_select_mode1.cppgbr_select_mode2.cppgeneral_deletions.cppgeneral_ratsnest.cppgerber_file.cppgerber_open_dcode_file.cppgerber_recent_files.cppgerbview_clear_layers.cppgerbview_drill_file.cppgerbview_open_recent_drill_files.cppgl_change.cppglabel2label.cppglabel2text.cppglobal_options_pad.cppgreen.cppgrid.cppgrid_select.cppgrid_select_axis.cpphammer.cpphelp.cpphidden_pin.cpphierarchy_cursor.cpphierarchy_nav.cpphotkeys.cppicon_cvpcb_small.cppicon_gerbview_small.cppicon_txt.cppimage.cppimport.cppimport3d.cppimport_cmp_from_lib.cppimport_footprint_names.cppimport_hierarchical_label.cppimport_module.cppinfo.cppinsert_module_board.cppinvert_module.cppinvisible_text.cppjigsaw.cppkicad_icon_small.cpplabel.cpplabel2glabel.cpplabel2text.cpplang_bg.cpplang_catalan.cpplang_chinese.cpplang_cs.cpplang_de.cpplang_def.cpplang_default.cpplang_en.cpplang_es.cpplang_fi.cpplang_fr.cpplang_gr.cpplang_hu.cpplang_it.cpplang_jp.cpplang_ko.cpplang_nl.cpplang_pl.cpplang_pt.cpplang_ru.cpplang_sl.cpplanguage.cpplayers_manager.cppleave_sheet.cppleft.cpplib_next.cpplib_previous.cpplibedit.cpplibedprt.cpplibrary.cpplibrary_browse.cpplibrary_update.cpplibsavem.cpplibview.cpplines90.cppload_module_board.cppload_module_lib.cpplocal_ratsnest.cpplocked.cppmacros_record.cppmirepcb.cppmirror_h.cppmirror_v.cppmode_module.cppmode_track.cppmodedit.cppmodratsnest.cppmodul_edit.cppmodule.cppmodule_check.cppmodule_filtered_list.cppmodule_full_list.cppmodule_options.cppmodule_ratsnest.cppmorgan1.cppmorgan2.cppmove.cppmove_arc.cppmove_circle.cppmove_field.cppmove_glabel.cppmove_line.cppmove_module.cppmove_pad.cppmove_pin.cppmove_pinsheet.cppmove_polygon.cppmove_rectangle.cppmove_sheet.cppmove_text.cppmove_track.cppmove_track_segment.cppmw_add_gap.cppmw_add_line.cppmw_add_shape.cppmw_add_stub.cppmw_add_stub_arc.cppmw_toolbar.cppnet_highlight.cppnet_locked.cppnet_unlocked.cppnetlist.cppnew.cppnew_component.cppnew_cvpcb.cppnew_footprint.cppnew_library.cppnew_module.cppnew_pcb.cppnew_project.cppnew_sch.cppnew_txt.cppnoconn.cppnormal.cpponline_help.cppopen_brd_file.cppopen_document.cppopen_library.cppopen_project.cppopt_show_polygon.cppoptions_all_tracks.cppoptions_all_tracks_and_vias.cppoptions_all_vias.cppoptions_arc.cppoptions_circle.cppoptions_module.cppoptions_new_pad.cppoptions_pad.cppoptions_pin.cppoptions_pinsheet.cppoptions_rectangle.cppoptions_segment.cppoptions_text.cppoptions_track.cppoptions_tracks.cppoptions_vias.cpporient.cpportho.cpppad.cpppad_sketch.cpppads_mask_layers.cpppalette.cpppart_properties.cpppaste.cpppcb_offset.cpppcbnew.cpppcboffset.cpppin.cpppin2pin.cpppin_name_to.cpppin_number_to.cpppin_size_to.cpppin_to.cppplot.cppplot_hpg.cppplot_ps.cpppolar.cpppolar_coord.cpppost_compo.cpppost_drill.cpppost_module.cpppreference.cppprint_button.cppratsnest.cppread_setup.cppred.cppredo.cppreload.cppreload2.cppreset_text.cppresize_sheet.cppright.cpprotate_ccw.cpprotate_cw.cpprotate_field.cpprotate_glabel.cpprotate_module_neg.cpprotate_module_pos.cpprotate_neg_x.cpprotate_neg_y.cpprotate_neg_z.cpprotate_pin.cpprotate_pos_x.cpprotate_pos_y.cpprotate_pos_z.cppsave.cppsave_as.cppsave_library.cppsave_netlist.cppsave_part_in_mem.cppsave_project.cppsave_setup.cppschematic.cppselect_grid.cppselect_layer_pair.cppselect_w_layer.cppshape_3d.cppsheetset.cppshow_dcodenumber.cppshow_footprint.cppshow_mod_edge.cppshow_zone.cppshow_zone_disable.cppshow_zone_outline_only.cppshowdcode.cppshowmodedge.cppshowtrack.cppswap_layer.cpptext_sketch.cppthree_d.cpptool_ratsnest.cpptools.cpptrack_locked.cpptrack_sketch.cpptrack_unlocked.cpptransistor.cpptree_nosel.cpptree_sel.cpptreensel.cpptreesel.cppundelete.cppundo.cppunit_inch.cppunit_mm.cppunknown.cppunlocked.cppunzip.cppup.cppupdate_module_board.cppvia.cppvia_sketch.cppwarning.cppweb_support.cppwidth_net.cppwidth_segment.cppwidth_track.cppwidth_track_via.cppwidth_vias.cppwindow_close.cppzip.cppzip_tool.cppzoom.cppzoom_area.cppzoom_center_on_screen.cppzoom_fit_in_page.cppzoom_in.cppzoom_out.cppzoom_redraw.cppzoom_selection.cpp
cpp_48
common
cvpcb
eeschema
CMakeLists.txtannotate.cppbackanno.cppblock.cppblock_libedit.cppbuild_BOM.cppbus-wire-junction.cppbusentry.cppclass_drc_erc_item.cppclass_libentry.cppclass_libentry.hclass_library.cppclass_library.hclass_netlist_object.cppclass_netlist_object.hcmp_library_lexer.cppcomponent_references_lister.cppcontrole.cppcross-probing.cppdangling_ends.cppdialog_erc_listbox.h
dialogs
edit_bitmap.cppedit_component_in_schematic.cppedit_label.cppeelibs_read_libraryfiles.cppeeredraw.cppeeschema.cppeeschema_config.cppeeschema_config.heeschema_id.herc.cppevents_called_functions_for_edit.cppfiles-io.cppfind.cppgeneral.hgetpart.cpphierarch.cpphotkeys.cpphotkeys.hlib_arc.cpplib_arc.hlib_bezier.cpplib_bezier.hlib_circle.cpplib_circle.hlib_collectors.cpplib_collectors.hlib_draw_item.cpplib_draw_item.hlib_export.cpplib_field.cpplib_field.hlib_pin.cpplib_pin.hlib_polyline.cpplib_polyline.hlib_rectangle.cpplib_rectangle.hlib_text.cpplib_text.hlibarch.cpplibedit.cpplibedit_onleftclick.cpplibedit_onrightclick.cpplibedit_plot_component.cpplibedit_undo_redo.cpplibeditframe.cpplibfield.cppload_one_schematic_file.cppmenubar.cppmenubar_libedit.cppnetform.cppnetlist.cppnetlist.hnetlist_control.cpponleftclick.cpponrightclick.cppoperations_on_items_lists.cpppinedit.cppprotos.hsch_bitmap.cppsch_bitmap.hsch_bus_entry.cppsch_bus_entry.hsch_collectors.cppsch_collectors.hsch_component.cppsch_component.hsch_field.cppsch_field.hsch_junction.cppsch_junction.hsch_line.cppsch_line.hsch_marker.cppsch_marker.hsch_no_connect.cppsch_no_connect.hsch_polyline.cppsch_polyline.hsch_screen.cppsch_sheet.cppsch_sheet.hsch_sheet_path.cppsch_sheet_path.hsch_sheet_pin.cppsch_text.cppsch_text.hschedit.cppschematic_undo_redo.cppschframe.cppselpart.cppsheet.cppsheetlab.cppsymbdraw.cppsymbedit.cpptemplate_fieldnames.cpptemplate_fieldnames.htool_lib.cpptool_sch.cpptool_viewlib.cpptransform.cppviewlib_frame.cppviewlibs.cpp
gerbview
include
kicad
new
pcb_calculator
pcbnew
CMakeLists.txtar_protos.hattribut.cppautomove.cppautoplac.cppautorout.cppautorout.hbasepcbframe.cppblock.cppblock_module_editor.cppboard.cppboard_items_to_polygon_shape_transform.cppboard_undo_redo.cppbuild_BOM_from_board.cppclass_board.cppclass_board.hclass_board_connected_item.cppclass_board_connected_item.hclass_board_design_settings.cppclass_board_item.cppclass_dimension.cppclass_dimension.hclass_drawsegment.cppclass_drawsegment.hclass_drc_item.cppclass_edge_mod.cppclass_edge_mod.hclass_footprint_library.cppclass_footprint_library.hclass_marker_pcb.cppclass_marker_pcb.hclass_mire.cppclass_mire.hclass_module.cppclass_module.hclass_module_transform_functions.cppclass_netclass.cppclass_netinfo.hclass_netinfo_item.cppclass_netinfolist.cppclass_pad.cppclass_pad.hclass_pad_draw_functions.cppclass_pcb_layer_widget.cppclass_pcb_text.cppclass_pcb_text.hclass_text_mod.cppclass_text_mod.hclass_track.cppclass_track.hclass_zone.cppclass_zone.hclass_zone_setting.cppclasspcb.cppclean.cppcollectors.cppcollectors.hconnect.cppcontrole.cppcross-probing.cppdeltrack.cpp
dialogs
dimension.cppdist.cppdrag.hdragsegm.cppdrc.cppdrc_clearance_test_functions.cppdrc_marker_functions.cppedgemod.cppedit.cppedit_pcb_text.cppedit_track_width.cppeditedge.cppeditmod.cppeditrack-part2.cppeditrack.cppedtxtmod.cppevent_handlers_tracks_vias_sizes.cppexport_gencad.cppexport_vrml.cppfiles.cppfind.cppgen_drill_report_files.cppgen_holes_and_tools_lists_for_drill.cppgen_modules_placefile.cppgendrill.cppglobaleditpad.cppgpcb_exchange.cppgraphpcb.cpphighlight.cpphotkeys.cpphotkeys.hhotkeys_board_editor.cpphotkeys_module_editor.cppinitpcb.cppioascii.cppitem_io.cpplayer_widget.cpplibrairi.cpploadcmp.cppmagnetic_tracks_functions.cppmenubar_modedit.cppmenubar_pcbframe.cppminimun_spanning_tree.cppmirepcb.cppmodedit.cppmodedit_onclick.cppmodedit_undo_redo.cppmodeditoptions.cppmoduleframe.cppmodules.cppmove-drag_pads.cppmove_or_drag_track.cppmuonde.cppmuwave_command.cppnetlist.cpponleftclick.cpponrightclick.cpppcb_plot_params.cpppcb_plot_params.hpcbframe.cpppcbnew.cpppcbnew.hpcbnew_config.cpppcbnew_config.hpcbnew_id.hpcbplot.cpppcbplot.hplot_rtn.cppplotdxf.cppplotgerb.cppplothpgl.cppplotps.cpppolygons_defs.hprint_board_functions.cppprintout_controler.cppqueue.cppratsnest.cppsel_layer.cppset_grid.cppsolve.cppspecctra.cppspecctra.hspecctra_export.cppspecctra_import.cppspecctra_test.cppswap_layers.cpptool_modedit.cpptool_onrightclick.cpptool_pcb.cpptoolbars_update_user_interface.cpptr_modif.cpptracepcb.cpptrpiste.cppwork.cppxchgmod.cppzone_filling_algorithm.cppzones.hzones_by_polygon.cppzones_by_polygon_fill_functions.cppzones_convert_brd_items_to_polygons_with_Boost.cppzones_convert_to_polygons_aux_functions.cppzones_functions_for_undo_redo.cppzones_non_copper_type_functions.cppzones_polygons_insulated_copper_islands.cppzones_polygons_test_connections.cppzones_test_and_combine_areas.cpp
polygon
potrace

View File

@ -27,25 +27,25 @@
* @file 3d_aux.cpp
*/
#include "fctsys.h"
#include <fctsys.h>
#if !wxUSE_GLCANVAS
#error Please set wxUSE_GLCANVAS to 1 in setup.h.
#endif
#include "common.h"
#include "trigo.h"
#include "wxBasePcbFrame.h"
#include <common.h>
#include <trigo.h>
#include <wxBasePcbFrame.h>
#include "class_board_design_settings.h"
#include "class_zone.h"
#include "class_text_mod.h"
#include "class_module.h"
#include "class_drawsegment.h"
#include "class_pcb_text.h"
#include <class_board_design_settings.h>
#include <class_zone.h>
#include <class_text_mod.h>
#include <class_module.h>
#include <class_drawsegment.h>
#include <class_pcb_text.h>
#include "3d_viewer.h"
#include "trackball.h"
#include <3d_viewer.h>
#include <trackball.h>
void S3D_MASTER::Set_Object_Coords( std::vector< S3D_Vertex >& aVertices )

View File

@ -1,23 +1,23 @@
/**
* @file 3d_canvas.cpp
*/
#include "fctsys.h"
#include "trigo.h"
#include <fctsys.h>
#include <trigo.h>
#include "wx/image.h"
#include <wx/image.h>
#if !wxUSE_GLCANVAS
#error Please set wxUSE_GLCANVAS to 1 in setup.h.
#endif
#include "wx/dataobj.h"
#include "wx/clipbrd.h"
#include <wx/dataobj.h>
#include <wx/clipbrd.h>
#include <wx/wupdlock.h>
#include "gestfich.h"
#include <gestfich.h>
#include "3d_viewer.h"
#include "trackball.h"
#include <3d_viewer.h>
#include <trackball.h>
// -----------------

View File

@ -2,9 +2,9 @@
// Name: 3d_class.cpp
/////////////////////////////////////////////////////////////////////////////
#include "fctsys.h"
#include <fctsys.h>
#include "3d_viewer.h"
#include <3d_viewer.h>
S3D_Vertex::S3D_Vertex()

View File

@ -27,27 +27,27 @@
* @file 3d_draw.cpp
*/
#include "fctsys.h"
#include "common.h"
#include "trigo.h"
#include "pcbstruct.h"
#include "drawtxt.h"
#include "confirm.h"
#include "layers_id_colors_and_visibility.h"
#include <fctsys.h>
#include <common.h>
#include <trigo.h>
#include <pcbstruct.h>
#include <drawtxt.h>
#include <confirm.h>
#include <layers_id_colors_and_visibility.h>
#include "class_board.h"
#include "class_module.h"
#include "class_track.h"
#include "class_edge_mod.h"
#include "class_zone.h"
#include "class_drawsegment.h"
#include "class_pcb_text.h"
#include "class_board_design_settings.h"
#include "class_marker_pcb.h"
#include "colors_selection.h"
#include <class_board.h>
#include <class_module.h>
#include <class_track.h>
#include <class_edge_mod.h>
#include <class_zone.h>
#include <class_drawsegment.h>
#include <class_pcb_text.h>
#include <class_board_design_settings.h>
#include <class_marker_pcb.h>
#include <colors_selection.h>
#include "3d_viewer.h"
#include "trackball.h"
#include <3d_viewer.h>
#include <trackball.h>
#if !wxUSE_GLCANVAS
#error Please set wxUSE_GLCANVAS to 1 in setup.h.

View File

@ -2,15 +2,15 @@
// Name: 3d_frame.cpp
/////////////////////////////////////////////////////////////////////////////
#include "fctsys.h"
#include "appl_wxstruct.h"
#include <fctsys.h>
#include <appl_wxstruct.h>
#if !wxUSE_GLCANVAS
#error Please set wxUSE_GLCANVAS to 1 in setup.h.
#endif
#include "3d_viewer.h"
#include "trackball.h"
#include <3d_viewer.h>
#include <trackball.h>
#include <wx/colordlg.h>
#include <wxstruct.h>

View File

@ -27,13 +27,13 @@
* @file 3d_read_mesh.cpp
*/
#include "fctsys.h"
#include "common.h"
#include "macros.h"
#include "kicad_string.h"
#include "appl_wxstruct.h"
#include <fctsys.h>
#include <common.h>
#include <macros.h>
#include <kicad_string.h>
#include <appl_wxstruct.h>
#include "3d_viewer.h"
#include <3d_viewer.h>
int S3D_MASTER::ReadData()

View File

@ -30,8 +30,8 @@
#ifndef STRUCT_3D_H
#define STRUCT_3D_H
#include "common.h"
#include "base_struct.h"
#include <common.h>
#include <base_struct.h>
/* 3D modeling units -> PCB units conversion scale:

View File

@ -27,9 +27,9 @@
* @file 3d_toolbar.cpp
*/
#include "fctsys.h"
#include <fctsys.h>
#include "3d_viewer.h"
#include <3d_viewer.h>
void EDA_3D_FRAME::ReCreateHToolbar()

View File

@ -30,14 +30,14 @@
#ifndef __3D_VIEWER_H__
#define __3D_VIEWER_H__
#include "wxBasePcbFrame.h" // m_auimanager member.
#include <wxBasePcbFrame.h> // m_auimanager member.
#if !wxUSE_GLCANVAS
#error Please set wxUSE_GLCANVAS to 1 in setup.h.
#endif
#include "wx/glcanvas.h"
#include <wx/glcanvas.h>
#ifdef __WXMAC__
# ifdef __DARWIN__
@ -49,8 +49,8 @@
# include <GL/glu.h>
#endif
#include "3d_struct.h"
#include "id.h"
#include <3d_struct.h>
#include <id.h>
class BOARD_DESIGN_SETTINGS;

View File

@ -1,8 +1,12 @@
add_definitions(-DPCBNEW)
include_directories(${Boost_INCLUDE_DIR}
../pcbnew
../polygon)
include_directories(BEFORE ${INC_BEFORE})
include_directories(
${Boost_INCLUDE_DIR}
../pcbnew
../polygon
${INC_AFTER}
)
set(3D-VIEWER_SRCS
3d_aux.cpp
@ -12,6 +16,7 @@ set(3D-VIEWER_SRCS
3d_frame.cpp
3d_read_mesh.cpp
3d_toolbar.cpp
trackball.cpp)
trackball.cpp
)
add_library(3d-viewer ${3D-VIEWER_SRCS})

View File

@ -50,8 +50,8 @@
* Gavin Bell
*/
#include <math.h>
#include "wx/glcanvas.h" // used only to define GLfloat
#include "trackball.h"
#include <wx/glcanvas.h> // used only to define GLfloat
#include <trackball.h>
/*
* This size should really be based on the distance from the center of

View File

@ -229,12 +229,20 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/include/config.h)
add_definitions(-DHAVE_SVN_REVISION)
endif(EXISTS ${CMAKE_SOURCE_DIR}/include/config.h)
# For include_directories(BEFORE ...), which _reverses_
# the order during insertion, so put first wanted last, which is
# ${CMAKE_SOURCE_DIR/include. Use '.' for current source dir since
# we don't want expansion here and now, and don't need expansion of
# ${CMAKE_CURRENT_SOURCE_DIR}, '.' will work for any source directory.
set(INC_BEFORE
.
${CMAKE_SOURCE_DIR}/include
)
# Include paths.
include_directories(${CMAKE_SOURCE_DIR}/include
${CMAKE_SOURCE_DIR}/share
${CMAKE_BINARY_DIR})
set(INC_AFTER
#include <config.h>
${CMAKE_BINARY_DIR}
)
#================================================
# Let CMake look in these directories for nested
@ -252,6 +260,7 @@ else()
add_subdirectory(bitmaps_xpm)
endif()
add_subdirectory(common)
add_subdirectory(cvpcb)
add_subdirectory(eeschema)

View File

@ -47,7 +47,7 @@ set( output_begin "
* PNG2cpp CMake script, using a *.png file as input.
*/
#include \"bitmaps.h\"
#include <bitmaps.h>
static const unsigned char png[] = {"
)

View File

@ -104,7 +104,7 @@ set( includeFileHeader
#ifndef ${headerTag}
#define ${headerTag}
#include \"dsnlexer.h\"
#include <dsnlexer.h>
/**
* C++ does not put enum _values_ in separate namespaces unless the enum itself
@ -150,7 +150,7 @@ set( sourceFileHeader
* your DSN lexer.
*/
#include \"${result}_lexer.h\"
#include <${result}_lexer.h>
using namespace ${enum};

View File

@ -1,8 +1,11 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}
../potrace
../polygon/kbool/include
${CMAKE_SOURCE_DIR}/common
)
include_directories(BEFORE ${INC_BEFORE})
include_directories(
../potrace
../polygon/kbool/include
../common
${INC_AFTER}
)
set(BITMAP2COMPONENT_SRCS
bitmap2component.cpp

View File

@ -21,23 +21,23 @@
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "fctsys.h"
#include "appl_wxstruct.h"
#include "wxstruct.h"
#include "confirm.h"
#include "gestfich.h"
#include <fctsys.h>
#include <appl_wxstruct.h>
#include <wxstruct.h>
#include <confirm.h>
#include <gestfich.h>
#include "wx/wx.h"
#include "wx/config.h"
#include "wx/filename.h"
#include <wx/wx.h>
#include <wx/config.h>
#include <wx/filename.h>
#include "bitmap2cmp_gui_base.h"
#include <bitmap2cmp_gui_base.h>
#include "potracelib.h"
#include "bitmap_io.h"
#include <potracelib.h>
#include <bitmap_io.h>
#include "colors_selection.h"
#include "build_version.h"
#include <colors_selection.h>
#include <build_version.h>
#define KEYWORD_FRAME_POSX wxT( "Bmconverter_Pos_x" )
#define KEYWORD_FRAME_POSY wxT( "Bmconverter_Pos_y" )
@ -81,8 +81,8 @@ private:
void OnExportEeschema( wxCommandEvent& event );
void OnExportPcbnew( wxCommandEvent& event );
void Binarize( double aThreshold ); // aThreshold = 0.0 (black level) to 1.0 (white level)
void OnOptionsSelection( wxCommandEvent& event );
void OnThresholdChange( wxScrollEvent& event );
void OnOptionsSelection( wxCommandEvent& event );
void OnThresholdChange( wxScrollEvent& event );
void NegateGreyscaleImage( );
void ExportFile( FILE* aOutfile, int aFormat );
};
@ -113,8 +113,8 @@ BM2CMP_FRAME::BM2CMP_FRAME() : BM2CMP_FRAME_BASE( NULL )
SetSize( m_FramePos.x, m_FramePos.y, m_FrameSize.x, m_FrameSize.y );
m_buttonExportEeschema->Enable( false );
m_buttonExportPcbnew->Enable( false );
m_buttonExportEeschema->Enable( false );
m_buttonExportPcbnew->Enable( false );
if ( m_FramePos == wxDefaultPosition )
Centre();
@ -197,8 +197,8 @@ void BM2CMP_FRAME::OnLoadFile( wxCommandEvent& event )
if( ! LoadFile( fullFilename ) )
return;
m_buttonExportEeschema->Enable( true );
m_buttonExportPcbnew->Enable( true );
m_buttonExportEeschema->Enable( true );
m_buttonExportPcbnew->Enable( true );
SetStatusText( fullFilename );
Refresh();
}

View File

@ -24,7 +24,7 @@
#include <math.h>
// For some unknown reasons, polygon.hpp shoul be included first
#include "boost/polygon/polygon.hpp"
#include <boost/polygon/polygon.hpp>
#include <stdio.h>
#include <string.h>
@ -33,8 +33,8 @@
#include <math.h>
#include <vector>
#include "potracelib.h"
#include "auxiliary.h"
#include <potracelib.h>
#include <auxiliary.h>
#ifndef max

View File

@ -69,6 +69,10 @@ option( MAINTAIN_PNGS
"Set to true if you are a PNG maintainer and have the required tools given in the bitmaps_png/CMakeLists.txt file (default OFF)."
OFF)
include_directories(BEFORE ${INC_BEFORE})
include_directories(
${INC_AFTER}
)
# Plan for three sizes of bitmaps:

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

View File

@ -3,7 +3,7 @@
* PNG2cpp CMake script, using a *.png file as input.
*/
#include "bitmaps.h"
#include <bitmaps.h>
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,

Some files were not shown because too many files have changed in this diff Show More