kicad/pcbnew
Jon Evans 18037e2f65 Rework bitmap system to load from archived PNGs
Bitmaps are now identified by an enum class instead of by pointers.
Bitmap loading and caching is now handled by a class in common, and
we no longer compile most bitmaps into the binary, so there is no
longer a bitmaps static library.

Instead, bitmaps are archived to a .tar.gz file which is installed
in ${KICAD_DATA}/resources/images.tar.gz

The source PNGs are checked in to Git as the original CPP files were,
so that people can build without the required dependencies to convert
SVGs to PNGs.

Initial support is also added for dark theme icons, although this
is not yet exposed in the GUI.

Stubs are present for multi-resolution image resources, but this is
not fully-baked yet and could use some refinement.
2021-03-11 08:37:35 -05:00
..
autorouter Rationalize footprint bounding boxes and cache all of them. 2021-02-26 13:50:27 +00:00
board_stackup_manager Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
connectivity Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
dialogs Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
drc Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
exporters Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
import_gfx Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
microwave Rationalize footprint bounding boxes and cache all of them. 2021-02-26 13:50:27 +00:00
netlist_reader Implement future & past tenses for dry-run vs. changes made report. 2021-03-11 12:34:02 +00:00
plugins When saving footprint to library don't detach from board too early. 2021-03-03 15:07:01 +00:00
python Fix pcbnewshell not showing namespace inspector tools 2021-03-02 17:12:57 +00:00
ratsnest Don't show ratsnest on layers hidden by contrast mode 2021-02-23 20:07:46 -05:00
router Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
specctra_import_export Pcbnew: add footprint keepouts to Specctra DSN exporter. 2021-03-10 07:18:37 -05:00
swig Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
tools Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
widgets Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
CMakeLists.txt Relocate win32 resource files to the central folder for further consolidation 2021-03-09 21:48:14 -05:00
Doxyfile_python
Doxyfile_xml
action_plugin.cpp Fix some issues with reloading of action plugins 2021-02-20 11:19:33 -05:00
action_plugin.h Fix some issues with reloading of action plugins 2021-02-20 11:19:33 -05:00
array_creator.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
array_creator.h Make distinction between PCBNew-wide tools and Board-specific tools. 2020-12-16 13:32:46 +00:00
array_pad_name_provider.cpp MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
array_pad_name_provider.h More cleanup of MODULE to see if it fixes SWIG error. 2020-11-13 21:07:36 +00:00
board.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
board.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
board_commit.cpp Fix group undo/redo bugs. 2021-02-15 14:13:43 +00:00
board_commit.h Formatting. 2020-11-29 20:00:16 +00:00
board_connected_item.cpp Comments. 2021-03-01 11:12:51 +00:00
board_connected_item.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
board_design_settings.cpp More complete fix for crasher JP found. 2021-03-05 15:30:52 +00:00
board_item.cpp Implement GetEffectiveShape() for PCB_TARGET_Ts. 2020-11-24 20:21:40 +00:00
board_item_container.h Add bulk add/remove mode flag to the BOARD_LISTENER 2020-12-07 22:04:13 -05:00
board_items_to_polygon_shape_transform.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
build_BOM_from_board.cpp "comp" -> "symbol". 2021-01-19 23:50:40 +00:00
cleanup_item.cpp more cleanup about removing useless include 2020-10-02 14:51:11 +02:00
cleanup_item.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
collectors.cpp Show dragging tools in context selection menu for components 2021-01-27 19:55:42 +00:00
collectors.h Show dragging tools in context selection menu for components 2021-01-27 19:55:42 +00:00
convert_drawsegment_list_to_polygon.cpp Don't treat success == true as "we got an outline". 2021-02-10 12:38:06 +00:00
convert_drawsegment_list_to_polygon.h Separate polygonization error from chaining error. 2020-12-24 21:02:14 +00:00
cross-probing.cpp Fix pcbnew cross probing ignoring the disabling of the cross probing zoom to fit setting 2021-02-28 10:39:51 -05:00
dimension.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
dimension.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
edit.cpp Use ShowQuasiModal to show a few dialogs. 2021-02-20 14:24:57 +01:00
edit_track_width.cpp Fix change in preference panel name. 2021-02-17 14:08:53 +00:00
edit_zone_helpers.cpp Don't revert commit after user has OK'ed the dialog. 2021-03-04 19:16:43 +00:00
files.cpp Pcbnew: use MRU path when opening files in standalone mode 2021-02-28 14:30:16 -05:00
footprint.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
footprint.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
footprint_edit_frame.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
footprint_edit_frame.h Make sure the title is updated when file is saved/reverted/etc. 2021-02-20 15:09:47 +00:00
footprint_editor_settings.cpp Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
footprint_editor_utils.cpp Fix another case of treating a modal return result as a bool. 2021-02-20 18:22:34 +00:00
footprint_info_impl.cpp Coding policy fixes. 2021-02-09 11:35:43 -05:00
footprint_info_impl.h Replace wxTextFile for writing fp info cache 2020-12-10 21:34:40 -05:00
footprint_libraries_utils.cpp Make sure the title is updated when file is saved/reverted/etc. 2021-02-20 15:09:47 +00:00
footprint_preview_panel.cpp Used cached footprints without check in preview 2021-02-25 15:46:52 -08:00
footprint_preview_panel.h Remove multi-threading for footprint loading. 2020-12-21 22:03:24 +00:00
footprint_tree_pane.cpp More Module -> Footprint and a bit of formatting cleanup. 2020-11-10 20:53:12 +00:00
footprint_tree_pane.h
footprint_viewer_frame.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
footprint_viewer_frame.h More Undo/Redo Cleanup. 2021-02-12 11:26:48 -08:00
footprint_wizard.cpp
footprint_wizard.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
footprint_wizard_frame.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
footprint_wizard_frame.h More Undo/Redo Cleanup. 2021-02-12 11:26:48 -08:00
footprint_wizard_frame_functions.cpp FOOTPRINT_WIZARD_FRAME: minor fixes. 2021-02-06 08:10:13 +01:00
fp_shape.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
fp_shape.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
fp_text.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
fp_text.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
fp_text_grid_table.cpp Whack-a-mole on another case of "module". 2021-02-03 10:53:24 +00:00
fp_text_grid_table.h Whack-a-mole on another case of "module". 2021-02-03 10:53:24 +00:00
fp_tree_model_adapter.cpp Fix library tree behavior when duplicate project table entry is disabled. 2021-01-11 07:46:07 -05:00
fp_tree_model_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
fp_tree_synchronizing_adapter.cpp Fix library tree behavior when duplicate project table entry is disabled. 2021-01-11 07:46:07 -05:00
fp_tree_synchronizing_adapter.h Formatting and naming conventions. 2020-11-07 18:50:30 +00:00
generate_footprint_info.cpp Used cached footprints without check in preview 2021-02-25 15:46:52 -08:00
generate_footprint_info.h
graphics_cleaner.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
graphics_cleaner.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
grid_layer_box_helpers.cpp Don't reset focus flag yet on non-GTK platforms. It's required. 2021-02-23 17:46:15 +00:00
grid_layer_box_helpers.h Dismiss the layer selector grid combobox when it loses focus 2020-10-10 15:24:35 +01:00
initpcb.cpp Formatting. 2021-02-20 15:09:47 +00:00
invoke_pcb_dialog.h MODULE -> FOOTPRINT. 2020-11-13 16:04:03 +00:00
io_mgr.cpp pcbnew: Add Fabmaster import 2021-01-16 14:28:33 -08:00
io_mgr.h Non-Kicad Project Importers: Fix the creation of project fp libraries 2021-02-10 18:49:20 +00:00
kicad_clipboard.cpp Fix typo 2021-02-03 01:55:05 +00:00
kicad_clipboard.h Remove shadowing of identical base m_parser member 2021-01-31 12:56:27 -05:00
load_select_footprint.cpp Preserve Uuids when editing board footprints. 2021-01-31 14:09:59 +00:00
menubar_footprint_editor.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
menubar_pcb_editor.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
netinfo.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
netinfo_item.cpp Fix minor compil warnings. 2020-12-08 18:28:03 +01:00
netinfo_list.cpp More consistent naming. 2020-12-08 13:05:39 +00:00
pad.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pad.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pad_custom_shape_functions.cpp Make sure custom shaped pad primitives get their parents set. 2021-02-24 22:53:58 +00:00
pad_naming.cpp D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
pad_naming.h D_PAD -> PAD. 2020-11-13 15:16:24 +00:00
pcb_base_edit_frame.cpp Don't create project files unconditionally when importing boards 2021-02-03 19:17:32 -05:00
pcb_base_edit_frame.h Remove some dead code. A little bit of comment cleanup as well. 2021-02-15 14:13:43 +00:00
pcb_base_frame.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
pcb_display_options.cpp ADDED: Control to only show ratsnest for visible layers 2020-09-07 16:43:43 -04:00
pcb_draw_panel_gal.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
pcb_draw_panel_gal.h Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
pcb_edit_frame.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_edit_frame.h Inform user (and bail on UpdatePCB) if annotation failed. 2021-03-01 16:57:29 +00:00
pcb_expr_evaluator.cpp Don't run insideArea on ruleAreas. 2021-03-07 17:55:30 +00:00
pcb_expr_evaluator.h Performance improvements for DRC rules. 2021-01-11 22:09:36 +00:00
pcb_group.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_layer_box_selector.cpp Code cleanup: remove include wx.h from pcb_plot_params.h. 2021-01-25 16:18:46 +01:00
pcb_layer_box_selector.h
pcb_marker.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_marker.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
pcb_origin_transforms.h Add more consts all over the place 2020-10-27 11:03:35 +00:00
pcb_painter.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
pcb_painter.h Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
pcb_plot_params.cpp Remove unused line width option 2021-02-06 06:44:53 -08:00
pcb_plot_params.h Remove unused line width option 2021-02-06 06:44:53 -08:00
pcb_plot_params_parser.h
pcb_screen.cpp more cleanup about removing useless include 2020-10-02 14:51:11 +02:00
pcb_shape.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_shape.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_target.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_target.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_text.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_text.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb_view.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
pcb_view.h Naming conventions. 2020-11-14 18:26:03 +00:00
pcbnew.cpp Don't hardcode the file extensions where possible 2021-03-03 01:13:59 +00:00
pcbnew.h Minor code cleanup, step3: remove more useless include. 2020-10-01 18:28:12 +02:00
pcbnew.icns Update icon resource sets 2020-12-22 15:16:33 -08:00
pcbnew_config.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
pcbnew_config.h
pcbnew_doc.icns Update icon resource sets 2020-12-22 15:16:33 -08:00
pcbnew_id.h Cleanup. Push more editing functions to toolset. 2020-11-10 20:14:26 +00:00
pcbnew_printout.cpp Set unprinted layer colors to background. 2021-02-25 14:23:02 +00:00
pcbnew_printout.h Fix the last of broken Doxygen comment specifiers. 2021-01-27 17:39:44 -05:00
pcbnew_settings.cpp Fix footprint editor default grid 2021-02-23 20:07:46 -05:00
pcbnew_settings.h Fix footprint editor default grid 2021-02-23 20:07:46 -05:00
pcbplot.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
pcbplot.h Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
plot_board_layers.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
plot_brditems_plotter.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
plotcontroller.h
plugin.cpp Non-Kicad Project Importers: Fix the creation of project fp libraries 2021-02-10 18:49:20 +00:00
sel_layer.cpp Cancel placement of via if user cancels layer selection. 2021-02-18 11:53:36 +00:00
toolbars_footprint_editor.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
toolbars_footprint_viewer.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
toolbars_pcb_editor.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
track.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
track.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
tracks_cleaner.cpp Honor locking in cleanup ops 2021-02-16 10:20:45 -08:00
tracks_cleaner.h Consider tracks and vias together 2021-01-08 09:35:58 -08:00
undo_redo.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
zone.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
zone.h Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
zone_filler.cpp Make sure layer gets passed in to rules evaluation. 2021-02-08 14:53:49 +00:00
zone_filler.h Fix issues with zone filling connectivity locking 2021-01-18 13:22:12 -05:00
zone_settings.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
zone_settings.h Update some classnames including archaic zone names. 2020-11-12 10:31:25 +00:00
zones.h Update some classnames including archaic zone names. 2020-11-12 10:31:25 +00:00
zones_functions_for_undo_redo.cpp Remove some "class_" prefixes from files. 2020-11-13 15:16:23 +00:00
zones_functions_for_undo_redo.h Convert UNDO_REDO_T to an enum class 2020-08-26 18:04:32 +00:00