Mikolaj Wielgus
faad5ee1ce
Use system text and background colors in PCB calculator
wxHtmlWindow forces white background and black text. Force it back to
system settings.
4 years ago
jean-pierre charras
a74851bb5d
pcb_calculator rework: move transline panel to its own files panel_transline_xx
also a small code cleanup
4 years ago
jean-pierre charras
813fd8ee0a
try to fix a compil issue on Linux that does not happen on my computer, round 2.
4 years ago
jean-pierre charras
a04ae6f13e
try to fix a compil issue on Linux that does not happen on my computer.
4 years ago
jean-pierre charras
d161d7431e
pcb_calculator rework: move eseries panel to its own files panel_eserie_xx
4 years ago
jean-pierre charras
187c685c64
pcb_calculator rework: move board class panel to its own files panel_board_class_xx
4 years ago
jean-pierre charras
c7faeeabea
pcb_calculator rework: move electrical spacing panel to its own files panel_electrical_spacing_xx
4 years ago
jean-pierre charras
f446d23deb
pcb_calculator rework: move track width panel to its own files panel_track_width_xx
4 years ago
jean-pierre charras
3ac0b46798
pcb_calculator rework: move via size panel to its own files panel_via_size_xx
4 years ago
jean-pierre charras
5b5e9102bb
pcb_calculator rework: move color code panel to its own files panel_color_code_xx
4 years ago
jean-pierre charras
78ddb1408f
pcb_calculator/eserie.*: fix some coding style issues.
No actual code change (I hope...)
4 years ago
jean-pierre charras
21d3662ed3
pcb_calculator rework: move attenuators panel to its own files panel_attenuators_xx
4 years ago
jean-pierre charras
0f48522342
pcb_calculator rework: move regulator panel to its own files panel_regulator_xx
also rename regulators_funct.cpp to panel_regulator.cpp
4 years ago
Jeff Young
2479e1d7b1
Improve common settings property grouping.
Also moves apply-icon-scaling-to-fonts to its own checkbox. (We used
to try to infer when to do it, but that turns out to be a rathole.)
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
jean-pierre charras
b38592b1f6
pcb_calculator: minor enhancement: show formula used to calculate Zdiff
4 years ago
JonRB
bffff6c1bf
update PCB calculator Zdiff calc. Associated with #9077
adding new messages to the array
increasing the message count
add function and variable declaration
adding main functions
update UI layout to reflect changes
4 years ago
Jeff Young
9c78e4cf54
Mac needs different font size handling than MSW & GTK.
Mac already uses diverse font sizes (for instance, smaller fonts for
radio button groups), and the anti-aliasing is a lot better. The
other platforms need a more limited range of sizes.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
Jeff Young
fbee62fc15
Tie font size scaling to when automatic icon scaling fails.
It appears that SetSymbolicSize() and ConvertDialogToPixes() fail
under the same circumstances.
4 years ago
Jeff Young
7a822b55aa
Another round of changes to attempt to fix the GTK font size issue.
Fixes https://gitlab.com/kicad/code/kicad/issues/8608
4 years ago
Seth Hillbrand
bc0302fafe
Replace RefDesCmp with better StrNumCmp
4 years ago
Seth Hillbrand
4cd9278041
Remove most wxFilepicker wildcards from translations
This prevents translation errors from preventing user actions such as
opening the correct file
4 years ago
jean-pierre charras
60c65c2a1d
Avoid loading python stuff when starting applications that do not use it.
It is useless, and debug is slightly easier (less constraints) at least on msys2
4 years ago
Jeff Young
95b87ba29a
Freshen microwave polygon dialog and remove a bunch of dead code.
4 years ago
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
4 years ago
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
4 years ago
Seth Hillbrand
ad8acd328c
Expunge some remaining references to kicad-pcb
4 years ago
Jeff Young
6aaf4413b3
Fix kicad_string.h / string.cpp mismatch.
They don't define a KiCad string class, so the header file name was
somewhat misleading. But the fact that they didn't match definitely
made coding more difficult.
4 years ago
Wayne Stambaugh
37b200cb3e
Pass wxString objects by reference instead of on the stack.
4 years ago
Jeff Young
3c1af1af74
Update selected tool string when language changes.
Fixes https://gitlab.com/kicad/code/kicad/issues/8813
4 years ago
Wayne Stambaugh
1a301d8eea
Stop using wxDialog::EndModal() from inside dialogs.
Calling wxDialog::EndModal() directly from inside the dialog is a
potential bug if the dialog is shown in the modeless or window modal
(quasi-modal). Use the internal button events where possible and
check for the appropriate mode before calling the correct end dialog
function.
4 years ago
Wayne Stambaugh
4c457b5ed3
More NULL expunging.
4 years ago
Marek Roszko
c794a6ce7a
Add pdb install option for msvc
4 years ago
luz paz
0446d35f0d
Fix source comment/doc typos (follow-up)
Found via `codespell -q 3 -S *.po,./thirdparty -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,dout,einstance,modul,ot,overide,serie,te,,tesselate,tesselator,tht`
4 years ago
Jeff Young
0c2ac9a711
Move GUI font code to common.
This also allows the Mac fixes for font facenames to be more
compartmentalized.
Fixes https://gitlab.com/kicad/code/kicad/issues/8657
4 years ago
Jeff Young
a1dfc36233
More error message regularization.
4 years ago
luz paz
5f1e9bc8a7
Fix typos in source code
4 years ago
luz paz
f968fc8719
Fix source comment / documentation typos
4 years ago
jean-pierre charras
49de9e405e
Fix duplicate variables in a class and its parent.
4 years ago
jean-pierre charras
5cce3f6e18
Fix a few Coverity warnings (not initialized vars) and a minor compil warning
4 years ago
Marek Roszko
20134e4a1b
Evict some more eda_item.h includes
4 years ago
Wayne Stambaugh
6b5d512b9f
More header clean up.
4 years ago
Marek Roszko
551ddee29e
Kick wx.h out of pcb_calculator src
4 years ago
Jon Evans
c9a660a80c
Rework JSON integration to speed up build
4 years ago
Ian McInerney
e5446f8d7d
Remove wx/wx.h include from some pcb calculator headers
4 years ago
Marek Roszko
a7d1ef9927
Fix some more uninitialized warnings
From PVS Studio
4 years ago
jean-pierre charras
8513ca974c
Pcb_calculator: track width tool: make resistivity value read only.
The formula used to calculate the track width is valid only for copper tracks.
So the resistivity value displayed in the panel is only for info, and cannot
be modified.
4 years ago
jean-pierre charras
fe5c2d30a3
PCB_CALCULATOR_FRAME_BASE: fix wxWidgets minor alerts.
Fixes #8374
https://gitlab.com/kicad/code/kicad/issues/8374
4 years ago
Jon Evans
b986797469
Move pcb calculator to new bitmap system
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8324
4 years ago
Jon Evans
c04e19f9ac
Include optimization: move some things from common.h to point-of-use
5 years ago