Commit Graph

165 Commits

Author SHA1 Message Date
qu1ck 0f7c0e3872 PCM implementation 2021-08-27 21:11:47 +00: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
Jon Evans ec2c5fa052 Initial cmake shuffling for dark icon theme 2021-03-01 21:24:30 -05:00
Jeff Young 739f43ee4d New rotate icons. 2021-02-22 17:35:46 +00:00
Seth Hillbrand 896188ca5e Align Mirror icons with color policy 2021-02-17 17:39:38 -08:00
Seth Hillbrand 25e78162c8 Cleanup icons
- Adjust group/ungroup
- Use Mirror triangles for rotate
- Smooth goto badge
2021-02-17 17:26:16 -08:00
Jeff Young 2a7e60960a Use standard mirror icons & terminology.
Also use standard group icons.

Also put both (and rotate commands) in toolbar.

Fixes https://gitlab.com/kicad/code/kicad/issues/7504
2021-02-16 21:11:36 +00:00
Michael Kavanagh 332fdee567 Remove now unused icons
Functionality removed in c2dbd28101
2021-02-06 22:51:56 +00:00
Michael Kavanagh 54cd66d778 Icons: make menubar and launcher consistent 2021-02-06 22:51:56 +00:00
Michael Kavanagh 69484c8800 Icons: increase contrast of project icons 2021-02-06 22:51:56 +00:00
Michael Kavanagh 404d18763d Icons: try a new version of the 'new' badge
and use it more consistently.
2021-02-06 22:51:56 +00:00
Michael Kavanagh 97775aa50b Icons: redo missed simulator icon in new style 2021-02-06 22:51:56 +00:00
Michael Kavanagh 8e74f4a98f Icons: pixel alignment 2021-02-06 22:51:56 +00:00
Michael Kavanagh 66bb6e2e7c Icons: make datasheet more distinct 2021-02-06 22:51:56 +00:00
Michael Kavanagh f7962cc73b Icons: pixel alignment 2021-02-06 22:51:56 +00:00
Michael Kavanagh 1e61bd814e Icons: pixel align and increase contrast 2021-01-25 14:21:23 +00:00
Michael Kavanagh fe622b956a Icons: unify pin table and spreadsheet icons
+ use KiCad colour scheme
2021-01-25 14:21:22 +00:00
Michael Kavanagh 98814db118 Icons: make sure all footprints are the same 2021-01-25 14:21:22 +00:00
Michael Kavanagh 98b0558bf6 Icons: make sure all op-amps are the same
+ fix wrong icon in About dialog

Fixes https://gitlab.com/kicad/code/kicad/issues/7214
2021-01-25 14:21:22 +00:00
Michael Kavanagh 81ac5ec7c2 Icons: add colour to zone_fillet in DRC panel 2021-01-25 14:21:22 +00:00
Michael Kavanagh ccc3eeb3c3 Icons: delete old unused bitmap 2021-01-25 14:21:22 +00:00
Michael Kavanagh 1750faac4b Icons: make copy/paste a bit more standard
+ Paste special shouldn't share an icon with paste
2021-01-19 22:57:25 +00:00
Michael Kavanagh 5db5781b42 Icons: make search_tree actually look like a tree 2021-01-19 22:57:25 +00:00
Michael Kavanagh 54f4a36fa6 Icons: centralise pad_number 2021-01-19 22:57:25 +00:00
Michael Kavanagh 9a6a8cac25 Icons: make import_vector more background agnostic 2021-01-19 22:57:25 +00:00
Michael Kavanagh 0280a61a64 Icons: tidy up badges
- Where white outlines are used, use a clipping mask to prevent ugly
artifacts.
 - Use new link in badges
 - Fix a couple of 26x26 icon sizes
 - Remove backgrounds from language.svg
2021-01-19 22:57:25 +00:00
Michael Kavanagh 2fdd97cc44 Icons: tweak to avoid user bewilderment
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7073
2021-01-19 22:57:25 +00:00
Michael Kavanagh 80dbc24326 Icons: remove superfluous icon
Remove icons where menu text gives context
2021-01-19 22:57:25 +00:00
Michael Kavanagh 02594dfcca Icons: pixel align move_* 2021-01-19 22:57:25 +00:00
Michael Kavanagh 9418a15ce3 Icons: pixel align unit_* arrows 2021-01-19 22:57:24 +00:00
Michael Kavanagh c9aa07aaf0 Icons: unify zone display/duplicate with add zone 2021-01-19 22:57:24 +00:00
Michael Kavanagh b90eabd68b Icons: out with the old, in with the new
+ remove icons where they dont make sense or are duplicated within the
same context
2021-01-19 22:57:24 +00:00
Michael Kavanagh 8a1a1aba5d Icons: lighten up hierarchy navigator a bit 2021-01-11 23:31:25 +00:00
Michael Kavanagh a00b9cc821 Icons: general tweaks and pixel alignment
+ minor rename
+ fix missing bitmap in DRC panel
2021-01-11 23:31:25 +00:00
Michael Kavanagh dc83cb7a41 Icons: general tweaks and pixel alignment
+ remove some unused icons
2021-01-11 23:31:25 +00:00
Michael Kavanagh 0a50e0d4be Icons: defeature and refine Fill/Unfill Zone 2021-01-11 23:31:25 +00:00
Michael Kavanagh 9e23e3e56a Icons: improved fabrication icon 2021-01-11 23:31:25 +00:00
Michael Kavanagh 32f7f30958 Icons: remove where they don't make sense
Also avoid icon reuse
2021-01-11 23:31:25 +00:00
Michael Kavanagh 8fba0c257b Icons: remove more inconsistencies around Select
Missed from 5d9b2d3fea
2021-01-11 23:31:24 +00:00
Michael Kavanagh bc52d7413c Icons: we have new ones, so lets use them 2021-01-11 23:31:24 +00:00
Seth Hillbrand 43e7b1ab6e Set icons for front/back assembly layers 2021-01-06 13:49:00 -08:00
Michael Kavanagh 2a24886d47 Icons: remove more duplicates 2021-01-06 00:35:20 +00:00
Michael Kavanagh 3f640d8821 Icons: use new link symbol in pin2pin 2021-01-06 00:35:20 +00:00
Michael Kavanagh 6fd718fbd8 Icons: replace old with new 2021-01-06 00:35:20 +00:00
Michael Kavanagh a640d7b43c Icons: unify op-amp in icons
+ new icon for symbol-library links
+ new icon for edit symbol's footprint
2021-01-06 00:35:20 +00:00
Michael Kavanagh fc60f611f6 Icons: use 2px line thickness in break_line 2021-01-06 00:35:20 +00:00
Michael Kavanagh 50886a968d Icons: simplify enter and leave sheet
The menubar text and toolbar placement give ample context, so there is
no need to repeat the hierarchy tree icon in both.
2021-01-06 00:35:20 +00:00
Michael Kavanagh ef8c3650b7 Icons: minor tweaks to Find/Find and Replace
Flip find magnifying glass to differentiate from zoom
2021-01-06 00:35:20 +00:00
Michael Kavanagh 5d9b2d3fea Icons: new filter icon
+ remove icons where they don't make sense.
2021-01-06 00:35:20 +00:00
Michael Kavanagh adc10ac6c5 Icons: remove superfluous grey 2021-01-06 00:35:20 +00:00