37 Commits

Author SHA1 Message Date
Jeff Young
de1376e369 Cleanup. 2025-07-14 23:46:02 +01:00
Jeff Young
fa00626512 Upgrade ShowPlayer re-entrancy guard (KICAD-XAC). 2025-07-10 17:54:42 +01:00
Jeff Young
7a91441a82 Formatting. 2025-07-10 17:54:42 +01:00
dsa-t
004645db32 Unset PCM button to avoid crash on close.
(cherry picked from commit 6a003b94d6c93cbdebccde344ecf7bf8f3557486)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2025-05-29 12:29:55 +03:00
Seth Hillbrand
0b2d4d4879 Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo.  Avoids needing to
repeatly update.

Also updates AUTHORS.txt from current repo with contributor names
2025-01-01 14:12:04 -08:00
Alex Shvartzkop
d69cfe45c6 Project manager: Use font inheritance to avoid two extra SetFont calls.
Speeds up language changing, most noticable on Windows.
2024-12-23 18:58:30 +03:00
Marek Roszko
1cc11bc589 Move the editors launcher to a notebook for future expansion 2024-09-05 20:49:19 -04:00
Mark Roszko
b34284b110 Add missing unbind to PANEL_KICAD_LAUNCHER 2024-08-16 02:13:13 +00:00
Alex Shvartzkop
20e2dddc0b Make project manager text aligned with icons, also make it scrollable. 2024-05-27 11:49:16 +03:00
Alex Shvartzkop
eff4b899bb Use bitmap bundles in launcher panel. 2024-05-26 08:05:25 +03:00
Ian McInerney
171458a27b Introduce action friendly names
Friendly names can be used to display action information that is clearer
in non-hierarchical contexts (e.g. not in menus).

Fixes https://gitlab.com/kicad/code/kicad/-/issues/8075
2023-10-27 23:58:29 +01:00
Marek Roszko
b0fa2561b6 Add support for enum based policies 2023-07-13 19:01:04 -04:00
Ian McInerney
e17cd5abc6 Allow action description to be different from tooltip
The tooltip should be short and easy to read, the description can be
longer and more detailed.
2023-06-30 00:06:03 +01:00
qu1ck
f4fa3b02c5 PCM: automatic check for repository updates 2022-08-18 20:41:43 +00:00
Marek Roszko
392ed5fecd Add policy to enable/disable pcm 2022-04-12 10:08:34 -04:00
qu1ck
211820a689 Remove KICAD_PCM cmake option 2022-01-03 04:16:42 +00:00
jean-pierre charras
d03a13b8d8 Kicad and PCM: fix some (minor) issues:
- do not use KICAD_MANAGER_CONTROL::Execute() to run PCM: it is not an external app.
- add a workaround to avoid keeping incorrect focus on buttons in PANEL_KICAD_LAUNCHER.
Fixes #9780
https://gitlab.com/kicad/code/kicad/issues/9780
2021-11-26 10:52:52 +01:00
jean-pierre charras
cc339e56a2 Kicad manager: fix a minor cosmetic issue when clicking on a launcher button.
- On GTK the next button was gaining the focus.
- On MSW the button disappears a bit of time.
Fixes #9676
https://gitlab.com/kicad/code/kicad/issues/9676
2021-11-18 13:44:23 +01:00
Jeff Young
7a993c0211 Add support mode for dark mode to SCINTILLA_TRICKS.
Also removes the return value from the BITMAP_STORE's themeChanged
method as it will provide the wrong answer for the second frame it's
called on.

Also hooked up ACTION_TOOLBAR, the app launcher, and the project tree
to the wx event for system color changes so they change on the fly.

Fixes https://gitlab.com/kicad/code/kicad/issues/6026
2021-09-14 00:18:50 +01:00
Jeff Young
769ca2d255 Add a quantized scaling mode for bitmaps.
125% scaled bitmaps look bad in the Launcher so we pin to 100%,
200%, 300%, etc.
2021-09-11 23:40:31 +01:00
Jeff Young
ad59254be8 Another round of font sizing tweaks.
It appears that both strategies in the last commit worked, leaving us
with squared scaling.  The dialog pixel architecture seems safer than
our icon scaling stuff, so this version attempts to use only it.

Also works around a bug where wxELLIPSIZE_MIDDLE doesn't work on Mac.

Fixes https://gitlab.com/kicad/code/kicad/issues/8608

Fixes https://gitlab.com/kicad/code/kicad/issues/8375
2021-09-10 21:46:13 +01:00
qu1ck
0f7c0e3872 PCM implementation 2021-08-27 21:11:47 +00:00
david-beinder
da833ad7dd Separate focus from hover state in BITMAP_BUTTON, trigger after mouse down+up
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8556
Adds AcceptDragInAsClick() to maintain support for use in toolbar palettes
2021-06-13 17:00:41 +00:00
Marek Roszko
7faee5eda5 Stop salt the eart with wxhtml.h 2021-06-03 07:49:49 -04:00
Wayne Stambaugh
1bf5642228 KiCad: fix initial window size on windows platform.
Fixes https://gitlab.com/kicad/code/kicad/issues/8333
2021-05-18 10:40:09 +00:00
Jon Evans
eac2700af6 Launcher: use unscaled bitmaps
This is not really a toolbar so we should not scale here
2021-04-19 17:18:17 -04:00
Jeff Young
9f8127afcf Disable click processing on launcher titles.
Fixes https://gitlab.com/kicad/code/kicad/issues/7946

Fixes https://gitlab.com/kicad/code/kicad/issues/7946
2021-03-22 17:21:25 +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
Jeff Young
1f109ac6aa Try again to find compromise cross-platform/theme spacing.
Fixes https://gitlab.com/kicad/code/kicad/issues/7728
2021-02-27 11:45:04 +00:00
Jeff Young
cad5198ab7 Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
Jeff Young
ad46330399 Try and fix GTK font bestSize issue.
Fixes https://gitlab.com/kicad/code/kicad/issues/7631
2021-02-20 19:48:36 +00:00
Jeff Young
f3449452db Special case kicad manager default frame sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/7559
2021-02-16 16:24:36 +00:00
Jon Evans
bd71a6e496 Launcher: pull in cell margins a little on non-Mac 2021-02-14 15:04:42 -05:00
Jeff Young
339864f843 Conditional compilation for launcher icon spacing. 2021-02-14 18:40:28 +00:00
Jeff Young
ff61ca5fed Try a different spacing method.... 2021-02-14 16:59:27 +00:00
Jeff Young
bbe315bcb8 Add title to project file view and help strings to launcher icons. 2021-02-14 13:28:20 +00:00
Jon Evans
1bb3135888 Let's try a new layout for kicad manager 2021-02-12 22:39:37 -05:00