Commit Graph

31 Commits

Author SHA1 Message Date
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
4e581807be Trying to fix the remaining OSX warnings 2021-02-10 19:07:09 +01:00
5cdd4d5843 Fixed build on Windows 2021-02-09 10:24:08 +01:00
f968cfd2d5 Fixing Clang warnings 3 2021-02-08 17:52:29 +01:00
22ef17af54 Fixing Clang warnings 1 2021-02-08 17:52:29 +01:00
c12f0db22c Merge pull request #4747 from wavexx/monospaced_gcode
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
f58ee46687 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
73d34591a0 Update FirmwareDialog to use GUI_App::code_font 2020-09-13 02:37:05 +02:00
66eed6c4f9 FirmwareDialog: Attempt to fix window double close assertion #2619 2019-09-09 16:41:14 +02:00
82971f923b Comment out stale implementation in Serial, fix #2150 2019-08-02 15:20:52 +02:00
0acf2dd513 Warnings cleanup in BonjourDialog, ConfigWizard, FirmwareDialog,
GLGizmoCut, ImGuiWrapper
2019-06-25 18:16:53 +02:00
96ebd8c90c Firmware updater: Fix MMU flashing in GUI 2019-06-20 11:17:35 +02:00
a997a01803 Firmware updater: Prevent empty flashing jobs 2019-06-20 11:17:35 +02:00
adb0053b8e Firmware updater: Make device names consistent 2019-05-17 13:23:21 +02:00
2c553fcf9c Fixed rare font scaling issue on Windows 10. 2019-05-17 13:15:32 +02:00
9cc219fab7 Localization improvements : Empty spaces at the end of phrase are removed from dictionary.
+ new POT
2019-05-11 23:29:25 +02:00
820200be67 Some more localization improvmenets. 2019-05-09 18:18:21 +02:00
2b39a4df96 Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
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
ae2da7d7e4 Firmware updater: Improve logging 2019-04-02 10:33:37 +02:00
4ffa47ee87 Firmware updater: Support for CW1 2019-04-02 10:33:37 +02:00
57e6d8b89c Fix close/cancel button accel problems on Mac 2019-03-01 13:15:20 +01:00
cad449b786 avrdude: Use a minimalistic embedded conf instead of an external file 2019-03-01 13:15:20 +01:00
b5a03d3663 avrdude: ser_posix: Add timeout in ser_send(), refactoring 2019-03-01 13:15:20 +01:00
1a4cce2d75 Firmware Updater: Handle messages in non-UTF-8 encoding on Windows 2019-02-22 16:11:14 +01:00
ffa9358670 Firmware Updater: Log avrdude arguments 2019-02-22 16:11:13 +01:00
8c01cf8860 Scaling in PrintHostDialogs, FirmwareDialog, UpdateDialogs 2019-02-21 19:00:50 +01:00
0925273b1c Fix of #1606
+ Added dialog closing by "Esc" button for the FirmwareDialog.
2019-01-15 10:31:34 +01:00
91ac484405 Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
582a942c47 Moved functions and variables (for fonts and labels color) to GUI_App
+ corrected Sidebar layouts
+ deleted get_preset_bundle
+ actions with tabs_list moved to GUI_App
2018-10-01 16:31:36 +02:00
1260b8deb3 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00