Commit Graph

23 Commits

Author SHA1 Message Date
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
Vojtech Kral
73184864bb Fix: Rename DPI changed event to not clash with impl in wxwidgets 2019-11-11 17:10:29 +01:00
YuSanka
c6c20ca19b Code cleaning and last msw_rescale() improvements 2019-06-19 11:38:42 +02:00
YuSanka
98c11164b8 Experiments with msw_rescale fixing 2019-06-18 18:02:40 +02:00
bubnikv
2c553fcf9c Fixed rare font scaling issue on Windows 10. 2019-05-17 13:15:32 +02:00
YuSanka
6d0b50b21c Fix of #2249 2019-05-16 13:16:43 +02:00
YuSanka
c65254fcc2 em_unit initialization in one place (DPIAware constructor) 2019-05-15 16:44:33 +02:00
bubnikv
b4010d58c9 Improvements of High DPI scaling on Windows. 2019-05-06 18:28:23 +02:00
bubnikv
d5cbbbc7f7 Another missing include 2019-04-18 17:16:31 +02:00
YuSanka
895d6874b7 Overrided on_dpi_changed() for some Dialogs:
AboutDialog, ConfigSnapshotDialog, FirmwareDialog, SysInfoDialog

+ set correct fonts for KBShortcutsDialog
2019-04-18 15:05:17 +02:00
YuSanka
687b998f23 Code refactoring 2019-04-17 12:49:10 +02:00
YuSanka
e5d0af695d Fixed crash of build under OSX and Linux.
+ Added flag to control if application rescale is possible
2019-04-16 17:06:28 +02:00
YuSanka
580b1bc5de First scaling experiments 2019-04-10 09:57:33 +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
73c4a0e10d Fix build on MSVC with PCH off 2019-03-27 12:14:34 +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
c26e48943f Fix wxNotebook event incontinence 2018-11-28 19:26:48 +01:00
Vojtech Kral
6f3e386e85 Cutting 2018-11-18 21:20:47 +01: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