Commit Graph

26 Commits

Author SHA1 Message Date
jean-pierre charras f1f80711d0 Fix Coverity and Compil warnings (unused /shadowed / uninitialized vars)
No actual code change.
2026-01-02 17:15:56 +01:00
Alex Shvartzkop 72cade48e0 Unset wxListCtrl item images on MSW.
MSW shows first image from the list on items that
don't set the image to -1 explicitly for some reason.

See https://github.com/wxWidgets/wxWidgets/issues/26062
2026-01-02 03:37:48 +05:00
Jeff Young 74fa19e23b Equalise font size between two lists.
Also use title-case for buttons.
2026-01-01 18:20:41 +00:00
Alex Shvartzkop c4556d6595 Use newer SetImages API for tree icons instead of wxImageList. 2026-01-01 20:15:44 +03:00
Jeff Young 5686440ef2 Our Mac wxWidgets branch reports itself as 3.2 but has some 3.3 fixes in it. 2026-01-01 15:19:32 +00:00
Alex Shvartzkop 743adf20f3 Remove bad (on wx 3.2) assert. 2026-01-01 00:20:07 +03:00
Alex Shvartzkop c2461ddaa5 Request tree icon bitmaps in physical pixels (tested on GTK + wx 3.2) 2026-01-01 00:13:01 +03:00
Alex Shvartzkop b869b29b24 Try to improve tree icon bitmaps code.
And fix the wx error on Windows.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22601
2025-12-31 23:41:03 +05:00
Jeff Young caa5a2757c Don't run Mac-specific code elsewhere.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/22601
2025-12-31 17:27:20 +00:00
Jeff Young 9cf72d50a2 Move customisable toolbars out from under advanced cfg. 2025-12-29 20:30:35 +00:00
Jeff Young 1f9965bd60 Add control handling to toolbar customisation. 2025-12-29 20:30:35 +00:00
Jeff Young 2ad5e15f4a Fix bug where Mac tree icons are 2X bigger than grid icons. 2025-12-28 21:17:09 +00:00
Jeff Young c3d681de3b Implement up/down arrows for custom toolbar definitions. 2025-12-28 21:17:09 +00:00
Jeff Young 47e40148de Support double-click in toolbar customisation dialog. 2025-12-28 21:17:09 +00:00
jean-pierre charras e79e889599 Fix a few typos in comments and tool tips.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/22187
2025-11-01 09:19:33 +01:00
Jeff Young 7d47e4031c Formatting and other cleanup. 2025-10-31 13:22:50 +00:00
Jeff Young af9fdbcd33 Nullptr safety. 2025-08-11 17:19:12 +01:00
Jeff Young f3050bd7ed Nullptr safety; performance; formatting. 2025-06-08 16:33:05 +01:00
jean-pierre charras 69891438a6 Coverity warning fixes. 2025-05-18 13:44:04 +02:00
jean-pierre charras 0755ab8ea9 Fix a few Coverity warnings (uninitialized vars) 2025-04-27 18:23:41 +02:00
jean-pierre charras 925f2f9bc1 class TOOLBAR_ITEM_TYPE: replace GROUP by TB_GROUP (collision with a Windows header) 2025-03-02 14:49:03 +01:00
jean-pierre charras 2890500f4c PANEL_TOOLBAR_CUSTOMIZATION: fix sizer issues. 2025-03-02 12:53:59 +01:00
Ian McInerney e202b00a74 Rework the toolbar settings storage and panel
This format is more extendable in the future, should separator and
spacer support be added to groups.

Also, this now has a working UI for modifying the toolbars.
2025-02-28 02:05:50 +00:00
Ian McInerney 18e5a16040 Improve the toolbar customization UI 2025-02-28 01:57:37 +00:00
Ian McInerney 85810510f4 Tweak toolbar settings a bit
* Manage the settings using the settings manager for better lifetimes
* Better architect the internals and JSON to make it easier to identify
  the various tool types
2025-02-28 01:57:37 +00:00
Ian McInerney e53c155b8c Initial dialog work 2025-02-28 01:57:37 +00:00