Commit Graph

518 Commits

Author SHA1 Message Date
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
Seth Hillbrand ecb39f1e0f Fix licensing mistake
2 files were accidentally committed with CC-NC-SA-4 licenses.  These
were duplicated into additional files.  This corrects the license to
the intended variant.
2021-04-02 09:32:26 -07:00
Ian McInerney 804c09b8f2 Use wx to draw the arrow on the collapsable pane
This allows for color changes and scaling of the arrow
when the display needs it (e.g. HiDPI displays).

Also make the arrow and text respond to if the window is
active to mimic native controls.

Fixes https://gitlab.com/kicad/code/kicad/issues/6042
2021-03-26 15:50:56 +00:00
Jon Evans ea87f52d5a Update some dark theme icons 2021-03-24 18:41:38 -04:00
Marek Roszko 7f8ea6e06a Monkey patch finding tar on windows. 2021-03-16 19:32:07 -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 77d7eae7c3 Fix availability of "other"-sized bitmaps; update some comments 2021-03-11 17:16:49 -05:00
Jon Evans e570b9b548 Update dark mode icons 2021-03-11 08:39:24 -05:00
Jon Evans 44f88f840c Bitmaps: a few improvements from review 2021-03-11 08:37:35 -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
Jon Evans afc11ca771 Preliminary take on dark theme colors
Script added to generate dark theme from light.
Target colors can be adjusted and then icons can be
re-generated until we're happy with the starting point,
then individual icons can be tweaked.
2021-03-01 21:24:30 -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 7cc28a5a02 Shrink appearance manager bitmap buttons to 16x16
Finish off 38cc2f106b
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
Jeff Young 38cc2f106b 16x16 versions of icons for the appearances panel. 2021-02-05 22:55:08 +00:00
Ian McInerney beb50c529e Reorganize the CMake folder to separate build and configure steps
The BuildSteps folder now contains the CMake scripts that are
called during the build process as individual stages, while
the root CMakeModules directory contains the CMake files used
during the configuration phase.
2021-01-28 00:24:22 +00:00
Seth Hillbrand 679a755690 Adjust how wire tool cursors are arranged
Moves the cross-hair active point to the bottom left to align with the
wire graphic

Fixes https://gitlab.com/kicad/code/kicad/issues/7278
2021-01-26 08:44:39 -08: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
Jeff Young 0ba0160da9 Add a PT_NIC pin electrical type and a netlist token for SCH_NO_CONNECT.
ADDED a new pin electrical type "free" for internally unconnected pins.

CHANGED the "unconnected" pin electrical type is now represented by
"no_connect" in files and netlists.  (The legacy syntax is also accepted
in files.)
2021-01-23 00:10:01 +00:00
qu1ck 07d4a28024 Improvements to pcbnew action plugins settings panel
1. Add open plugins directory button (same as in tools menu)
2. Add show plugin errors button to help debug issues
2021-01-20 09:09:53 +00:00
Michael Kavanagh 23b11f0090 Update stroke_* bitmaps to new colour scheme
+ fix SVG file formats
2021-01-19 22:57:25 +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