Commit Graph

13 Commits

Author SHA1 Message Date
Jon Evans 7f1fb8d24b Regenerate corrupted source SVG for small_refresh dark
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8405
2021-05-18 21:15:53 -04:00
Jon Evans b986797469 Move pcb calculator to new bitmap system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8324
2021-05-03 22:28:25 -04:00
Jon Evans a38ad7f678 Tweak white value of dark mode icons
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8329
2021-05-01 15:19:36 -04:00
Jon Evans 2f4c142911 Add a few PNGs that didn't get updated in 8c92ea1e 2021-04-25 13:44:56 -04:00
Jon Evans 8c92ea1e9a Fix size of pad infographics; update colors for dark mode 2021-04-25 11:37:40 -04:00
Jon Evans 5d3465c54c Update tuning settings legend images
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8128
2021-04-05 21:18:24 -04:00
Jon Evans ea87f52d5a Update some dark theme icons 2021-03-24 18:41:38 -04:00
Jon Evans dfd1a7a558 Tweak dark mode icons 2021-03-13 10:46:53 -05:00
Jon Evans 8349b44841 Tweak dark mode icons 2021-03-13 10:26:00 -05:00
Jon Evans 6a369b230f Tweak eeschema dark mode icons 2021-03-11 18:35:41 -05:00
Jon Evans 1d261e6107 Add some missing images 2021-03-11 17:19:39 -05:00
Jon Evans e570b9b548 Update dark mode icons 2021-03-11 08:39:24 -05:00
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