Commit Graph

529 Commits

Author SHA1 Message Date
qu1ck 0f7c0e3872 PCM implementation 2021-08-27 21:11:47 +00:00
Johan Grip b984777b52 Add more items to 3D viewer toolbar 2021-08-21 17:06:42 +00:00
Seth Hillbrand 6cd4d68d57 Add drop shadows to MacOS icons
Apple UI guidelines ask for small drop shadows on the icons.  We add
these using ImageMagick when resizing
2021-07-30 20:55:34 -07:00
Seth Hillbrand e7d8b1a975 Resize MacOS icons and script their creation
Creates a script that will fomat the MacOS icons at 80% of the total
size in line with Apple's guidelines.

Script requires Inkscape 1.0 and png2icns (available on Linux boxen)

Fixes https://gitlab.com/kicad/code/kicad/issues/7977
2021-07-30 20:28:14 -07:00
Jeff Young e62969d007 Move zone fracture display mode to AdvancedCfg, and add triangulation.
Fixes https://gitlab.com/kicad/code/kicad/issues/8762
2021-07-26 18:57:35 +01:00
Érico Nogueira 63b98d959b Error out if tar can't be found.
Only applies for platforms other than Windows.
2021-06-19 19:41:03 +00:00
luz paz f968fc8719 Fix source comment / documentation typos 2021-06-09 19:32:58 +00:00
david-beinder 6dfda38f02 Simplify curved ratsnest toggle icon 2021-06-04 19:11:25 +02:00
david-beinder 3dc92da44b Icons: SMD for pad outline mode, large via for via outline mode 2021-06-03 20:22:56 +00:00
Jon Evans eff9746f34 CHANGED: Net highlight in PcbNew is now persistent to match Eeschema
CHANGED: Highlight net tool changed to highlight display toggle; moved to left toolbar
CHANGED: Multi-net highlight is now accessible when using the highlight net action
ADDED: Highlight Net and Clear Highlight actions to Net Tools context menu
ADDED: Default hotkey (Ctrl+`) for toggling net highlighting

The current and previous net highlight state are now stored and can be toggled
on or off with an action (no hotkey by default).

Highlight is now treated as a persistent state rather than a tool that is entered,
meaning there is no longer a special tool to enter in order to highlight nets.
Highlighting can be controlled while any other tool is active using the hotkeys
or context menu on a net object.

Tweak the icons for highlight net and layer display mode to better disambiguate them.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8250
2021-05-29 12:40:24 -04:00
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
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