kicad/common
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
..
dialog_about Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
dialogs Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
drawing_sheet Make drawing sheet editor item names translatable. 2021-03-08 16:58:52 +00:00
gal Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
kicad_curl Remove all debugging output that cannot be disabled. 2020-08-18 10:17:36 -04:00
libeval Remove "useMils" variable from numeric evaluator 2020-10-03 20:06:56 +00:00
libeval_compiler Libeval: don't try to dereference invalid STRUCT_REF parent 2021-02-28 14:46:13 -05:00
plotters Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
plugins altium: add unit-tests for ReadProperties() and fix some issues found while doing so 2021-03-08 23:03:00 +01:00
preview_items Fix broken Doxygen comment specifiers. 2021-01-25 07:42:36 -05:00
project Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
settings Move paste and mask clearance settings back to board file 2021-02-28 14:04:28 -05:00
swig Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
tool Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
view Fix a minor compil and a minor Coverity warnings. 2021-02-26 15:33:50 +01:00
widgets Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
CMakeLists.txt Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
advanced_config.cpp Remove unused variable since this option was removed in 86aaa2e9 2021-02-26 18:46:18 +00:00
array_axis.cpp Pcbnew: add a step field to the array tool 2019-05-16 11:20:52 +01:00
array_options.cpp Arrays: isolate axis code in a new class 2019-05-16 11:20:52 +01:00
asset_archive.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
base64.cpp Plot SVG embedded 2019-12-08 08:57:33 -08:00
base_screen.cpp Mark null project initial screen as zoom-initialized 2021-01-31 00:49:11 +00:00
base_units.cpp Add instrumentation to track down local issues in symbol library file code. 2021-02-01 12:57:16 -05:00
basic_gal.cpp Replace STROKE_FONT performance fix, this time with correct type. 2020-11-20 11:24:52 +00:00
bin_mod.cpp Move the file history into the frames 2020-05-17 00:12:49 +01:00
bitmap.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
bitmap_base.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
bitmap_store.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
board_printout.cpp Set unprinted layer colors to background. 2021-02-25 14:23:02 +00:00
build_version.cpp Remove unused variables plus some more fixes from CppCheck 2020-11-19 02:28:47 +00:00
commit.cpp More Undo/Redo Cleanup. 2021-02-12 11:26:48 -08:00
common.cpp Take file size into account in cache hash 2021-02-20 06:27:12 -08:00
config_params.cpp Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
confirm.cpp Remove transitive inclusion of bitmaps.h 2021-03-07 16:08:57 -05:00
cursors.cpp Adjust how wire tool cursors are arranged 2021-01-26 08:44:39 -08:00
dialog_shim.cpp Fix a few (minor) issues: 2021-02-17 20:56:43 +01:00
draw_panel_gal.cpp GAL memory allocation fixes. 2021-02-22 08:15:09 -05:00
drc_rules.keywords Fixes for hole clearance and hole-to-hole tests. 2020-11-29 23:35:23 +00:00
dsnlexer.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
eda_base_frame.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
eda_dde.cpp Avoid include wx/wx.h in many files that do not actually use this include. 2020-10-18 18:21:34 +02:00
eda_doc.cpp Remove another abandoned function 2021-02-26 19:36:55 -05:00
eda_draw_frame.cpp Round 2 of Worksheet -> Drawing Sheet. 2021-02-23 11:57:44 +00:00
eda_item.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
eda_pattern_match.cpp Add missing <algorithm> 2020-11-06 00:37:57 +00:00
eda_rect.cpp Naming conventions. 2020-11-14 18:26:03 +00:00
eda_size_ctrl.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
eda_text.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
eda_units.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
env_paths.cpp Revert "Always return a path if we can't normalize it" 2021-02-05 00:49:34 -05:00
env_vars.cpp Change environmental variables to human-readable 2021-01-01 16:20:35 +00:00
exceptions.cpp Report lexer issues through error reporter. 2020-10-16 12:44:20 +01:00
executable_names.cpp
filehistory.cpp File history (recent opened files): fix incorrect behavior when a filename 2020-08-05 15:48:03 +02:00
filename_resolver.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
filter_reader.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
footprint_filter.cpp Add group-by-suffix display option in net inspector 2020-11-04 02:49:19 +00:00
footprint_info.cpp Formatting. 2021-01-09 13:47:24 +00:00
fp_lib_table.cpp Fix library tree behavior when duplicate project table entry is disabled. 2021-01-11 07:46:07 -05:00
gbr_metadata.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
gestfich.cpp Don't search hardcoded (and never valid on non-english) Windows paths 2020-11-18 19:22:00 -05:00
getrunningmicrosecs.cpp Cleanup: Replace C-only deprecated headers 2019-12-05 11:03:15 -08:00
gl_context_mgr.cpp Dealing with inconsistent wxGLCanvas::IsDisplaySupported() 2018-06-11 12:26:59 +02:00
gr_basic.cpp Split base_struct into eda_item and eda_rect 2020-10-13 21:24:50 -04:00
gr_text.cpp More module -> footprint. 2020-11-13 15:16:24 +00:00
grid_tricks.cpp Implement Delete in grid tricks. 2021-02-25 15:37:52 +00:00
hash_eda.cpp First-class support for filled shapes. 2020-11-14 01:40:32 +00:00
hotkey_store.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
hotkeys_basic.cpp Header clean up round 2. 2020-12-19 13:55:28 -05:00
kiface_i.cpp Move default model location to 3dmodels 2020-10-15 16:55:51 +00:00
kiid.cpp Silence some msvc warnings 2021-02-20 11:58:55 -05:00
kiway.cpp Fix some typos and improve wording 2021-03-02 19:13:49 +01:00
kiway_express.cpp Support synchronous messaging over KIWAY EXPRESS. 2019-04-08 13:26:09 +01:00
kiway_holder.cpp Replace EESchema DLIST 2020-01-10 06:37:08 -08:00
kiway_player.cpp Save file / window states for kicad project locally 2020-08-24 02:01:14 +00:00
languages_menu.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
launch_ext.cpp Fix not working LaunchExternal() on Linux on wxWidgets 3.1.4 2020-12-29 10:29:54 +01:00
layer_id.cpp Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
lib_id.cpp Unify LIB_IDs now that both are stored in sexpr files. 2020-12-18 00:30:26 +00:00
lib_table.keywords
lib_table_base.cpp Fix library tree behavior when duplicate project table entry is disabled. 2021-01-11 07:46:07 -05:00
lib_tree_model.cpp Fix access into empty container. 2020-12-24 19:43:33 +00:00
lib_tree_model_adapter.cpp Fix GTK crash when multiple libraries are expanded 2021-02-04 13:20:33 -08:00
locale_io.cpp Move LOCALE_IO out of common.h 2020-10-23 21:49:42 -04:00
lockfile.cpp Fix formatting error 2020-09-15 10:55:31 -07:00
lset.cpp Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
marker_base.cpp Make RENDER_SETTINGS argument const 2021-01-12 20:51:31 +00:00
netclass.cpp Split EDA_UNITS out from common. 2020-10-25 00:02:52 -04:00
netlist.keywords Transmit pin electrical types through to pads. 2021-01-23 00:10:01 +00:00
newstroke_font.cpp Fix some glyph of CJK characters 2021-01-05 19:11:41 +00:00
observable.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
origin_transforms.cpp Add more consts all over the place 2020-10-27 11:03:35 +00:00
origin_viewitem.cpp Keep snap line alignment before new snaps 2020-09-11 14:22:41 -07:00
page_info.cpp Eeschema : Add A5 sheet size 2020-07-21 00:00:36 +00:00
painter.cpp Only apply B&W printer fixes when printing. 2021-02-02 15:37:30 +00:00
paths.cpp Rework bitmap system to load from archived PNGs 2021-03-11 08:37:35 -05:00
pcb.keywords Save pintype alongside pinfunction (in pads). 2021-01-26 15:28:48 +00:00
pcb_plot_params.keywords Save DXF plot params to file and remove some dead code. 2021-01-03 14:22:25 +00:00
pgm_base.cpp Move Serbian po 2021-03-05 09:19:58 -08:00
printout.cpp Implement a new settings framework across all of KiCad 2020-02-19 23:44:56 -05:00
project.cpp Split out arrayDim and MIRROR templates from macros.h 2020-11-17 20:21:04 -05:00
properties.cpp
property_mgr.cpp Hook libeval compiler up to rule parser 2020-07-20 22:11:53 +01:00
ptree.cpp Add const specifiers 2020-11-18 19:50:36 +00:00
rc_item.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
refdes_utils.cpp Netnames are case sensitive. 2020-11-23 01:10:08 +00:00
render_settings.cpp Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
reporter.cpp Better board-edge error reporting. 2020-08-17 23:55:31 +01:00
richio.cpp Minor adjustments 2021-01-12 20:51:31 +00:00
scintilla_tricks.cpp Don't log error messages when using the clipboard 2021-02-03 01:55:05 +00:00
search_stack.cpp Make search stack path_seps correct for msvc 2021-01-01 02:18:32 +00:00
searchhelpfilefullpath.cpp Kick the osx specific path helpers into PATHS 2021-02-16 23:29:26 -05:00
single_top.cpp Fix app names in Quit menu items on Mac. 2021-03-09 16:45:33 +00:00
status_popup.cpp Add some missing headers required on wx3.0 at least 2020-10-18 12:45:41 -04:00
streamwrapper.cpp Replace WIN32 preprocessor symbol by the official symbol _WIN32, used almost everywhere 2018-10-20 09:22:24 +02:00
string.cpp Quote string context only needs to escape double-quotes. 2021-01-07 14:33:27 +00:00
strtok_r.c
systemdirsappend.cpp Fix search paths for default project template 2021-02-27 20:30:18 -05:00
template_fieldnames.cpp Mostly formatting cleanup but a few type-casting cleanups too. 2020-11-24 22:16:41 +00:00
template_fieldnames.keywords Variable substitution framework. 2020-03-30 14:15:59 +01:00
textentry_tricks.cpp more cleanup about removing useless include 2020-10-02 19:56:10 +02:00
title_block.cpp Fix issue with predefined variable texts ${COMMENT0} to ${COMMENT9} 2021-02-21 18:29:14 +01:00
trace_helpers.cpp Fix Python environment variable handling 2020-08-12 00:14:19 +01:00
undo_redo_container.cpp Added a lot of consts and refactored a few lines 2021-03-08 12:49:48 -08:00
utf8.cpp Many callers of uni_forward are not expecting an exception. 2020-01-13 15:40:32 +00:00
validators.cpp Unify LIB_IDs now that both are stored in sexpr files. 2020-12-18 00:30:26 +00:00
wildcards_and_files_ext.cpp Don't hardcode the file extensions where possible 2021-03-03 01:13:59 +00:00
wx_filename.cpp Split wx_filename out of common 2020-10-25 20:01:13 -04:00
wxdataviewctrl_helpers.cpp
xnode.cpp Escape slashes in labels and netnames. 2019-04-07 00:24:10 +01:00