Commit Graph

29 Commits

Author SHA1 Message Date
Oleksandra Yushchenko
a41a214584 MSW specific: Implementation of the own notebook control
* MSW specific: First implementation of the Notebook control to support Dark/Light color modes

* MSW specific: Set mode sizer to the Notebook control.

* MSW specific: Added icons to the Notepad control
 + There is no need to restart application after the changing of the color mode

* Fixed non-MSW build

* Updated color for SavePresetDialog
+ Added wrapper to wxMessageBox for mom-MSW platforms
2021-06-29 16:23:45 +02:00
Vojtech Bubnik
6df900b735 Fix of wxWidgets3.0 again wxGetApp not declared in this scope #6655 2021-06-28 07:45:13 +02:00
combolek
52dd514295 Fixes Linux (and probably MacOS) build: wx/msw/registry.h is only available on Windows. (#6634) 2021-06-19 11:45:48 +02:00
Oleksandra Yushchenko
ffd33d6494 DarkMode for MSW (#6632)
* MSW specific: Dark Mode: First implementation

* Use menu instead of NoteBook

* Implemented MessageDialog
+ Fixed DarkMode for all dialogs and ColorPicker

* MSW DarkMode: Added missed updates for the switching between modes

* MSW DarkMode: Updated all existed context menus after switching of the mode
+ Added markers for the menu item witch is related to the selected tab

* Used wxFrame instead of wxDialog for SettingsDialog
(this change allow us to use menu bar in SettingsDialog)

+ fix for #6548 - Prusa Slicer 2.3.1 not activating non-modal settings window if settings window is minimized

* Implemented "Always use Dark mode colors" preference option

* Fixes for non_MSW build

* Next fixes for non-MSW builds

* Preferences: Fixed selection of the Settings Layout for non-MSW platforms
+ Updated DarkMode for colorpickers

* Windows DarkMode next fixes

* MSWDarkMode: Suppress to use system color to the PrusaSlicer
Select "Preferences -> Use Dark color mode (experimental)" to allow dark mode for the application

* Fixed MSW build

* MSWDarkMode: Upadteed color mode for ExtruderSequenceDialog and for dialogs related to the DoubleSlider

* Implemented Auto recreation of the PrusaSlicer when color mode is changed.

* Preferences: Added option "Set settings tabs as menu items (experimental)"
2021-06-18 19:46:04 +02:00
David Kocik
bbbfedb600 Check loading of blacklisted dlls and show warning dialog at startup. Also show these dlls in sysinfo dialog. 2021-01-27 10:40:38 +01:00
Lukas Matena
0d90082b9f Fixed missing include on Linux, printf format string fix
boost/format.hpp was missing in the header
2020-10-02 09:32:50 +02:00
bubnikv
b3b989158a Fixes of DPI scaling on Windows. 2020-09-30 14:02:23 +02:00
enricoturri1966
b29ac59fc1 Follow-up of dcf68aefd7 - disable old from builds against wxWidgets 3.1.3 2020-06-16 08:15:36 +02:00
tamasmeszaros
adba95dbdb Fix font size on windows with wx3.1.3 2020-05-04 15:00:17 +02:00
bubnikv
c38803720c Fixed compilation on Linux / OSX 2020-03-13 15:11:40 +01:00
bubnikv
4cd1243a79 Windows specific refactoring of Mouse3DController and RemovableDriveManager.
PrusaSlicer newly registers by Windows operating system for HID USB
plug / unplug notifications and for Volume attach / detach notifications,
and the background threads of the two respective services are waken up
on these Windows notifications.
The RemovableDriveManager also wakes up every 30 seconds to cope with
the drives ejected from Windows Explorer or from another application,
for example Cura, for which Windows OS does not send out notifications.
2020-03-13 14:19:14 +01:00
bubnikv
e74f5631f1 One more fix for Make compile and works for FreeBSD (#3556) 2020-02-18 10:15:41 +01:00
Vojtech Kral
73184864bb Fix: Rename DPI changed event to not clash with impl in wxwidgets 2019-11-11 17:10:29 +01:00
tamasmeszaros
73254ba3dd Can build with (original llvm) clang-cl on windows 2019-08-01 16:03:52 +02:00
bubnikv
f9dcbce726 Fixed the previous commit, SystemParametersInfoForDpi was called
with incorrect parameters.
2019-05-17 13:41:19 +02:00
bubnikv
2c553fcf9c Fixed rare font scaling issue on Windows 10. 2019-05-17 13:15:32 +02:00
bubnikv
b4010d58c9 Improvements of High DPI scaling on Windows. 2019-05-06 18:28:23 +02:00
Vojtech Kral
989aaf086c Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes 2019-04-08 11:34:46 +02:00
Vojtech Kral
0014e0a89c Fix window geometry shenanigans 2019-02-12 10:11:00 +01:00
Vojtech Kral
5e4e98f1d8 ConfigWizard: Bugfixes 2019-02-12 10:11:00 +01:00
Vojtech Kral
61b1ab2647 Fix window geometry persistence #1557 2019-01-21 14:56:23 +01:00
Vojtech Kral
6f3e386e85 Cutting 2018-11-18 21:20:47 +01:00
bubnikv
96eba71a21 Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
2018-11-08 20:18:40 +01:00
Enrico Turri
79aa687ce7 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
Enrico Turri
9455b1f367 Replaced dummy string in CheckboxFileDialog::ExtraPanel 2018-10-19 15:35:39 +02:00
Vojtech Kral
90cad5196c Fix CheckboxFileDialog, for real this time (I hope) 2018-10-19 15:13:20 +02:00
Vojtech Kral
f24592dfc7 Fix CheckboxFileDialog 2018-10-19 13:39:34 +02:00
Vojtech Kral
264eb95399 Refactor window position & size persistence
in a way that is hopefully robust wrt. platform quirks
2018-10-17 14:09:18 +02:00
Vojtech Kral
934f899ce9 WIP: Plater, build fixes 2018-10-08 17:41:37 +02:00