Ian McInerney
708050aa55
pcb_calculator: Some code cleaning
2021-10-10 16:26:23 +01:00
Ian McInerney
bd0fb5ca89
pcb_calculator: Update bitmaps on color code panel when theme changes
...
They aren't actually different between light and dark currently, but
this brings it inline with all other bitmaps.
2021-10-10 16:26:23 +01:00
jean-pierre charras
a92516bcd2
Pcb_calculator: fix not working GetCalculator() template.
...
Use now wxWidgets functions to find a calculator panel.
Fixes #9358
https://gitlab.com/kicad/code/kicad/issues/9358
2021-10-10 14:16:11 +02:00
jean-pierre charras
2662433374
Pcb calculator panels: ensure sizer are correctly updated.
...
On wxWidgets 3.0, SetSizeHints must be called once the panel is fully populated.
On wxWidgets 3.1.5, SetSizeHints is not mandatory but can be called to ensure
right sizes once the panel is fully populated.
2021-10-09 09:07:18 +02:00
Ian McInerney
c14bdf7fe0
pcb_calculator: Update panel images/text when system theme changes
2021-10-08 17:31:21 +01:00
Ian McInerney
1f4955a632
Reorganize the pcb_calculator directory to make it more logical
2021-10-08 15:44:44 +01:00