Commit Graph

30 Commits

Author SHA1 Message Date
enricoturri1966
d6e040c282 Follow-up of e782d34ec8 -> Fix in DPIAware::rescale() 2020-06-19 12:48:01 +02:00
enricoturri1966
e782d34ec8 ENABLE_LAYOUT_NO_RESTART -> Fixed font scaling when switching to non modal setting dialog layout when building against wxWidgets 3.1.3 2020-06-19 11:18:48 +02:00
enricoturri1966
9608103d58 ENABLE_LAYOUT_NO_RESTART -> Fixed font scaling when switching to/from non modal setting dialog layout when building against wxWidgets prior to 3.1.3 2020-06-19 11:04:08 +02:00
enricoturri1966
af5c3583e8 Follow-up of dcf68aefd7 - disable old from builds against wxWidgets 3.1.3 2020-06-16 08:15:36 +02:00
enricoturri1966
dcf68aefd7 Enable built-in DPI changed event handler when building against wxWidgets 3.1.3 2020-06-15 16:20:34 +02:00
enricoturri1966
a1319cc8f7 Fixed restoring of application starting position 2020-06-11 16:07:28 +02:00
YuSanka
db32c1f15a Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
bubnikv
2f6326a2eb 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
e12512dec0 Fix: Rename DPI changed event to not clash with impl in wxwidgets 2019-11-11 17:10:29 +01:00
YuSanka
12133f9599 Code cleaning and last msw_rescale() improvements 2019-06-19 11:38:42 +02:00
YuSanka
415877d79e Experiments with msw_rescale fixing 2019-06-18 18:02:40 +02:00
bubnikv
563a1a8441 Fixed rare font scaling issue on Windows 10. 2019-05-17 13:15:32 +02:00
YuSanka
cc933789eb Fix of #2249 2019-05-16 13:16:43 +02:00
YuSanka
0bcb449fb4 em_unit initialization in one place (DPIAware constructor) 2019-05-15 16:44:33 +02:00
bubnikv
c9cd4818c7 Improvements of High DPI scaling on Windows. 2019-05-06 18:28:23 +02:00
bubnikv
e7d6586220 Another missing include 2019-04-18 17:16:31 +02:00
YuSanka
9cd3c594be 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
3e9c0c396e Code refactoring 2019-04-17 12:49:10 +02:00
YuSanka
3b9803ba6e 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
82573390c7 First scaling experiments 2019-04-10 09:57:33 +02:00
Vojtech Kral
7e32f2df71 Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes 2019-04-08 11:34:46 +02:00
Vojtech Kral
734d57a714 Fix build on MSVC with PCH off 2019-03-27 12:14:34 +01:00
Vojtech Kral
7d969a6f36 ConfigWizard: Bugfixes 2019-02-12 10:11:00 +01:00
Vojtech Kral
b3d7bf1c1e Fix window geometry persistence #1557 2019-01-21 14:56:23 +01:00
Vojtech Kral
18c95c404c Fix wxNotebook event incontinence 2018-11-28 19:26:48 +01:00
Vojtech Kral
6629d75853 Cutting 2018-11-18 21:20:47 +01:00
Vojtech Kral
ec0c65a80a Fix CheckboxFileDialog, for real this time (I hope) 2018-10-19 15:13:20 +02:00
Vojtech Kral
b6251dd85b Fix CheckboxFileDialog 2018-10-19 13:39:34 +02:00
Vojtech Kral
d4371b6089 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
1f926964ee WIP: Plater, build fixes 2018-10-08 17:41:37 +02:00