Commit Graph

64 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
Seth Hillbrand 25e78162c8 Cleanup icons
- Adjust group/ungroup
- Use Mirror triangles for rotate
- Smooth goto badge
2021-02-17 17:26:16 -08: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
Seth Hillbrand 43e7b1ab6e Set icons for front/back assembly layers 2021-01-06 13:49:00 -08:00
Michael Kavanagh ea8065b212 Icons: conform to KiCad style
- Stroke width: 2px
 - Stroke cap: round
 - Padding
 - Pixel alignment
2021-01-02 23:16:33 +00:00
Seth Hillbrand 54ca087999 Update icon resource sets
Updates the .icns, .ico and .png files used by various distros to show
KiCad and KiCad files.
2020-12-22 15:16:33 -08:00
Seth Hillbrand ad1ee40441 Add 32x32 icon sources 2020-12-21 17:17:13 -08:00
Seth Hillbrand 3820751c8c Add scaled program icons 2020-12-21 17:09:44 -08:00
Jeff Young c469cf4c7c Darken text in eeschema icon so it doesn't look so fuzzy. 2020-12-22 00:14:54 +00:00
Michael Kavanagh 23cd1bb81e Icons: pixel align pagelayout_*
- Standardise light grey background (#F3F3F3)
 - Minor rename
2020-12-21 17:22:43 +00:00
Jeff Young e6a8ae7dfc More conssitent visual weighting for eeschema icon.
Also smaller hole in gear on options.
2020-12-20 15:59:09 +00:00
Jeff Young a7efb179eb Browner eeschema background; less saturated PCB background. 2020-12-19 19:51:51 +00:00
Jeff Young f6ad031056 A pagelayout editor icon that matches the visual frequency better. 2020-12-17 02:31:53 +00:00
Jeff Young 6931b64ed8 Adjustments to app icons.
Remove "Ki"s.
Remove magnifying glass from GerbView.
Downsize ModEdit slightly.
2020-12-17 02:31:53 +00:00
Seth Hillbrand 871075571b Unify cvpcb icons 2020-12-15 10:37:13 -08:00
Seth Hillbrand 9eb50bb9b0 Make libedit icon as blue to match modedit 2020-12-15 10:07:22 -08:00
Seth Hillbrand 6d3e9948b2 Thicken libedit lines 2020-12-14 16:22:44 -08:00
Seth Hillbrand 40d4dd9a95 Enlarge gerbview's magnifying glass 2020-12-11 17:04:45 -08:00
Seth Hillbrand 1f8847b9e2 Make pcbnew green again 2020-12-11 17:04:45 -08:00
Seth Hillbrand 8cf98bdfff Refresh bitmap2component icon 2020-12-11 17:04:45 -08:00
Seth Hillbrand 4656503a35 Darken red in icons to lessen pixel bleed 2020-12-11 17:04:45 -08:00
Seth Hillbrand 7de7e1b180 Update gerbview related icons 2020-12-11 11:16:42 -08:00
Seth Hillbrand 9c96384521 Standardize various library icons 2020-12-11 09:17:15 -08:00
Seth Hillbrand a1f9b68e3c Change bitmaps from 26x26 to 24x24
This aligns with most platforms and provides better scaling factors to 16,
48, 64 and 128
2020-12-10 17:04:06 -08:00
Seth Hillbrand fbca825f1b Pixel-align module icons 2020-12-09 17:51:41 -08:00
Seth Hillbrand d9cfd3c463 Restore previous reannotate bitmaps
New icons here did not add value and previous icons are clean/simple
2020-12-09 15:28:19 -08:00
Seth Hillbrand 87be80b2ad Embiggen main icons 2020-12-09 10:21:40 -08:00
Seth Hillbrand 6e24b06dd6 Update main program icons 2020-12-08 15:30:30 -08:00
Seth Hillbrand e38b34a4eb Minor rework of the program icons 2020-12-08 12:22:18 -08:00
Seth Hillbrand 3704c1cdb7 New icons for v6
Fixes https://gitlab.com/kicad/code/kicad/issues/2542
2020-12-05 11:17:15 -08:00
Seth Hillbrand 89b83a14dc Cleanup icons
Removes 48 icons from the repository that are no longer used by the
project
2020-09-28 16:08:06 -07:00
bjpiccioni d08bf90576 ADDED: Geographic Reannotation 2020-08-09 12:43:05 -04:00
John Beard bb2ae8e13b Bitmaps: move bitmap defs to bitmaps library
The bitmap definitions (BITMAP_DEF and so on) do not
have any dependencies on other libs, including WX. This
means the bitmaps library can be isolated from the other
dependencies.

Common now depends on bitmaps, and libraries that depend
on common can pick it up from the common target_link_libraries,
as it is PUBLIC. This means a lot of targets no longer
need manual bitmap linkage.

This avoids a circular dependency that was previously reported
by static analysis.

Avoiding pulling in WX and other headers into the include
tree of each bitmap .cpp is a huge speed up (around 10x) in
compilation, and the generated static library is also 10x
smaller (20MB vs 200MB)

Add common as a link library to pnsrouter,connectivity.
THese library do still use common code (including bitmaps,
via base_screen.h) and this allows them to pick up the libcommon
includes correctly.
2019-02-04 19:29:31 -08:00
Oliver 80ad4c956f Pixel align PCB icons 2018-01-23 08:18:46 -05:00
Oliver 195b85b0c5 Cleanup of KiCad Icons
Major cleanup of many icons (started as a simple effort to tweak libedit and modedit icons)
Ref: https://lists.launchpad.net/kicad-developers/msg32860.html
* Each application icon has been updated
* Consolidated icon "modifiers" across many icons
* Replaced confusing arrows with "load" and "save" icons
* Slight code updates to reference correct icons
* Consolidate multiple representations of single icon type(s)
2018-01-12 14:06:45 -05:00
Fabrizio Tappero b45af7f428 minor icons fix 2017-08-09 15:44:16 -04:00
Fabrizio Tappero ac9a64a173 general UI fix. Fixed a lot of icons and a lot of menu.
Also a few no longer used .cpp icon files are removed.
2017-06-02 11:51:11 +02:00
Baranovskiy Konstantin de28e58350 Better icons, by Konstantin Baranovskiy and Fabrizio Tappero 2017-05-24 20:02:12 +02:00
Fabrizio Tappero 68c2639e7d Update pl editor icon 2017-02-22 08:53:36 +01:00
jean-pierre charras b960404f22 page layout editor: better icon 2016-11-19 10:22:08 +01:00
jean-pierre charras 3f104448df Rename libedit_icon to icon_libedit, bo be consistent with other icon names. 2016-09-20 13:23:17 +02:00
Fabrizio Tappero bf4e50945a New icons for Eeschema and Pcbnew 2016-09-20 09:56:16 +02:00
jean-pierre charras d83eb11aa6 Minor fixes. Remove unused icon. Add 3 new icons. Change one icon (3 icons are from Konstantin Baranowskiy) 2014-12-11 13:00:59 +01:00
Fabrizio Tappero b4f6cc45f2 Some icons update 2014-02-12 14:56:52 +01:00
Fabrizio Tappero b954478621 Update icon_bitmap2component. 2014-02-12 08:53:55 +01:00
jean-pierre charras 788b38c09b Cosmetic enhancement: better icon for bitmap2component. 2014-02-09 21:06:05 +01:00
Fabrizio Tappero c407654224 Fix issues in icons with texts, from Fabrizio Tappero. 2014-02-06 16:49:37 +01:00
Fabrizio Tappero c84f6331b0 New icons from Fabrizio Tappero 2014-02-05 15:36:57 +01:00
jean-pierre charras 50743cf3ba Initial release of pl_editor, the page layout and title block editor. 2013-07-19 20:27:22 +02:00