jean-pierre charras
dc6b211227
better tool tips
2024-06-07 11:19:56 +02:00
jean-pierre charras
8b1e971f29
bitmap_info.cpp: fix a crash when opening the simulator frame.
...
It was due to missing bitmaps, used in simulator frame horizontal toolbar.
They were removed probably by mistake in commit 0e66adbc
2024-06-07 11:13:58 +02:00
Jon Evans
10922a194c
Remove extraneous cache fill per row
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18159
(cherry picked from commit 64da49f22e
)
Co-authored-by: Jon Evans <jon@craftyjon.com>
2024-06-05 16:08:45 +00:00
dsa-t
34f0fb8f21
Revert "Don't reset the view controls state just because we are setting the already active tool state again"
...
This reverts commit e914c0c1a0
(cherry picked from commit 6b7b6fa3e3
)
Co-authored-by: Mark Roszko <mark.roszko@gmail.com>
2024-06-04 18:03:41 +00:00
dsa-t
ca18112041
Fix ellipse angles when importing DXF.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18121
(cherry picked from commit 044a2305e3
)
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
2024-06-04 04:19:51 +00:00
Seth Hillbrand
9f2c9636f0
Update conn minor check to use Advanced Config
2024-06-03 11:56:37 -07:00
xx
4dffa6f9e8
Fix equal comparison in BOM_PRESET
...
Fixes #18097 .
2024-06-03 16:33:34 +00:00
Jeff Young
ec0fdfffff
ADDED: markers for excluded-from-sim items.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15382
2024-06-03 17:12:15 +01:00
Jeff Young
4a01f322ff
Special-case hit-testing of filled schematic rule areas.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17879
2024-06-01 22:48:02 +01:00
Alex Shvartzkop
cf7ad330e9
Fix some platform ifdef checks.
2024-06-01 06:49:11 +03:00
Alex Shvartzkop
bc07efc076
Fix a build issue on MSVC with wx 3.3.
2024-06-01 06:48:47 +03:00
Seth Hillbrand
e8c96a8a20
Fixups for a9ae86ee
...
Correcting a couple mistakes and clarifying rounding
2024-05-31 17:31:50 -07:00
Seth Hillbrand
a9ae86eefd
Cleanup geometry functions
...
Added Distance(VECTOR2) function that returns a double. Removed
superfluous EuclideanNorm, GetLineLength, integer constructor for
EDA_ANGLE (this promotes to double in the CTOR), DistanceLinePoint and
HitTestPoints
Also extended the size for arc calculations that get distances to center
points to avoid overflow
2024-05-31 12:26:37 -07:00
Jeff Young
931de12072
Use wxWidgets to track DPI.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17981
2024-05-31 17:08:43 +01:00
Jeff Young
2681461992
Formatting.
2024-05-31 13:35:44 +01:00
Jeff Young
7151f9a131
Formatting.
2024-05-31 10:36:51 +01:00
Alex Shvartzkop
7a0d75a5c4
Improve GRID_CELL_ICON_TEXT_RENDERER rendering on hidpi monitors.
2024-05-30 03:56:30 +03:00
Jeff Young
c828deee35
Sorting is not implemented on LIB_TREE columns.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18101
2024-05-29 18:49:11 +01:00
Jeff Young
51004e42f4
Improve comments.
2024-05-28 15:37:11 +01:00
Alex Shvartzkop
e3e63fb1b8
Disable hidpi cursors on GTK and OSX.
...
wxCursor scale factors won't be supported before wx 3.3.
MSW doesn't scale cursors, so it works as expected there.
2024-05-28 16:25:01 +03:00
Jeff Young
b88d3b13ac
ADDED: sketch-pads-on-fab-layers to CLI PDF & SVG export.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18091
2024-05-27 20:59:11 +01:00
xx
5ff61ae561
Add rectangle height and width to properties
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17181
2024-05-27 17:28:32 +00:00
Jeff Young
513e68a04a
Trim punctuation from end of URLs.
2024-05-27 17:06:09 +01:00
Jeff Young
e9a1c3032d
Update commenting following a bit of research into commit history.
2024-05-27 12:23:56 +01:00
Jeff Young
233ebb3e09
Add commenting regarding double-output of text.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18090
2024-05-27 12:14:08 +01:00
Alex Shvartzkop
41b30e6ac6
Use logical size to center the bitmap in bitmap button.
2024-05-27 11:25:55 +03:00
Alex Shvartzkop
b6aa01a572
Accept bitmap bundles for menu items (but don't use it yet).
2024-05-27 01:02:12 +03:00
Alex Shvartzkop
c401e3d24b
Prefer wxFB sizes in bitmap buttons.
2024-05-27 00:12:55 +03:00
Alex Shvartzkop
5e64bd6256
Center bitmaps in bitmap buttons by default.
2024-05-27 00:12:55 +03:00
Alex Shvartzkop
2a5903cd9b
More universal way of scaling indicator icon bitmaps.
2024-05-26 22:14:52 +03:00
Seth Hillbrand
ab0426d620
Detect if HiDPI cursors are needed
...
HiDPI cursors are twice as large as regular cursors, allowing them to be
more easily seen on a HiDPI system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16231
2024-05-26 07:51:15 -07:00
Jeff Young
30b5adde17
Fix spacing/scaling of indicators on MacOS.
...
Also pushes indicator scaling improvements to GerbView.
2024-05-26 14:37:05 +01:00
Alex Shvartzkop
b64a30f44b
Fix color swatches and color picker dialog on GTK with window scaling.
2024-05-26 13:02:37 +03:00
Alex Shvartzkop
296630d484
Allow using higher resolution bitmaps in bitmap buttons on GTK.
2024-05-26 09:23:43 +03:00
Alex Shvartzkop
1afbcb04db
Improve WX_GRID col label height to avoid clipping on hidpi.
2024-05-26 08:05:25 +03:00
Alex Shvartzkop
6eb8bf3d39
Add hidpi PCM icons for launcher panel.
2024-05-26 08:05:25 +03:00
Alex Shvartzkop
0e66adbca1
Generate hidpi variants for mid size (_24) application icons.
2024-05-26 08:05:25 +03:00
Alex Shvartzkop
067e9c308d
Improve sizing in color picker dialog.
2024-05-26 03:56:58 +03:00
Alex Shvartzkop
0b4ff7b859
Improve indicator icons in hidpi monitors.
2024-05-26 01:16:47 +03:00
dsa-t
9a1b3471fd
Revert "Improve toolbar bitmap redraw performance on Windows."
...
This reverts commit 6170151cbc
2024-05-25 20:32:48 +00:00
Alex Shvartzkop
b89d4a7f20
3D model export improvements:
...
- Option to export pads separately from tracks+vias
- Options export silkscreen and soldermask as flat faces
- Improve 3D model export dialog layout
- Use VisMaterialTool to specify metallic-roughness for glTF.
- Less OCCT boolean operations (faster, less bugs)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2072
2024-05-25 22:27:01 +03:00
Alex Shvartzkop
6170151cbc
Improve toolbar bitmap redraw performance on Windows.
...
Especially noticeable on high dpi.
2024-05-25 21:47:51 +03:00
Marek Roszko
7dee29f70a
Hackfix some cases the IME on windows locks up
...
Asking the IME to cancel when the canvas takes focus fixes the case where:
- Windows input lang set to Chinese
- Input mode set to english instead of chinese
- You spam the M key while launching a sch/pcb from the kicad.exe until the editor opens
- The windows would then normally be frozen
2024-05-25 13:25:10 -04:00
Marek Roszko
808517dd74
Remove no longer needed hack on msw with wx 3.2.5
...
wxButton::GetDefaultSize was fixed and returns the correct size now
2024-05-25 10:45:27 -04:00
Jeff Young
1c77e087a7
Add a sprinkling of GetPixelScaleFactor() for MacOs.
2024-05-25 14:26:43 +01:00
Jeff Young
17308e821f
Formatting.
2024-05-25 12:05:13 +01:00
Jeff Young
26fe4c05e1
CmpNoCase() returns 0 for a match (which evals to false as a bool).
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18087
2024-05-25 12:05:13 +01:00
Alex Shvartzkop
894bf45480
Make color picker dialog usable on hidpi monitors.
...
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17860
2024-05-25 04:13:13 +03:00
Marek Roszko
e9fde0051f
Don't let CaptureCursor fight modal dialog
2024-05-24 18:57:24 -04:00
Jeff Young
ecb7cd6b84
Fix color-swatch sizing on MacOS.
...
Also fixes BITMAP_BUTTON sizing.
2024-05-24 18:27:15 +01:00