1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Oleksandra Yushchenko fd071421cb 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
Lukas Matena b85de89751 Fixing Clang warnings 2 2021-02-08 17:52:29 +01:00
YuSanka 569200eb99 Added "G-code thumbnails" parameter to the Printer Settings tab 2020-12-07 16:42:20 +01:00
YuSanka 7f22ce63f6 Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
YuSanka 77f845b0be Added a possibility to suppress scrolling for some ComboBoxes 2020-11-24 18:44:13 +01:00
YuSanka 186d408cf4 Big code cleaning
Deleted all unused code
2020-11-02 06:48:30 -08:00
YuSanka 1c22d788aa Custom control : Implemented blinking icon 2020-11-02 06:48:30 -08:00
YuSanka 4f5efc99fb Custom control : Action buttons are "alive" now
- show tooltips for buttons
- LBtnClick invokes revert functions for the field
2020-11-02 06:48:30 -08:00
YuSanka e93e80166b Custom control : fixed re-scaling for MSW 2020-11-02 06:48:30 -08:00
YuSanka f1a74367ed Choice field: Use wxComboBox instead of wxBitmapComboBox for non-OSX platforms 2020-11-02 06:48:30 -08:00
YuSanka 74d6aea4d4 Custom control: first implementation 2020-11-02 06:48:30 -08:00
Vojtech Bubnik 7c571c1d9d Merge of pull request Add support for RepetierServer #4384 by @docbobo
with the following refactorings:

1) Removed the "printhost_slug" config from the Printer config
   and from all the Printer config related spots.
2) "printhost_slug" renamed to "printhost_port". Slug sounds nasty.
3) Improved error reporting of RepetierHost class.
4) Refactored for the new "Physical Printers"

Following refactorings were done independently of the Repetier pull request:
1) Removed PrintHost static print config.
2) Clean-up after conversion of print host configuration
   from Printer config to Physical Printer config.
3) Fixed some issues, where the Printer config was still queried for
   host configuration. Vojtech believes that this should not happen
   after the host configuration is converted to physical printers.

Vojtech still feels that more refactoring is needed in regard to porting
the host configuration from Printer profile to the new Physical Printer
profile.
2020-10-28 09:51:05 +01:00
YuSanka 398ff9053d Code refactoring of the OptionsGroup class:
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
YuSanka 1a2926050f PhysicalPrinter. PhysicalPrinterDialog improvements 2020-06-25 12:58:59 +02:00
YuSanka a56bbea140 Reworked sys_color_changed() functions
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode

Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
YuSanka b69dfd63ca Completed a search list cleaning (deleted unused options).
+ Implemented BlinkingBitmap
+ Options, that doesn't have related controls, are highlighted near the widgets.
2020-04-16 09:59:12 +02:00
YuSanka cd13356b6d Code cleaning 2020-04-07 16:22:03 +02:00
YuSanka 752083cbe6 Implemented blinking icon to highlight a searched field 2020-04-07 12:09:58 +02:00
YuSanka 5f31d9ed41 Merge remote-tracking branch 'origin/master' into ys_search 2020-04-01 20:23:34 +02:00
YuSanka 815989d488 The print bed is limited to 1.2m x 1.2m. (related to #2877) 2020-04-01 19:01:38 +02:00
YuSanka ebfaf7abb0 Removed SearchCombobox from the Sidebar.
Tab->SearchCombobox works with all parameters now.
Overridden GetWindow() for PointCtrl.
2020-03-23 10:28:28 +01:00
bubnikv ab7109568a WIP: Fixed some compilation issues on OSX, fixed some "override" vs. "virtual"
warnings.
2020-03-04 12:48:04 +01:00
YuSanka d1e3435956 Fixed non-correct TextCtrl's update on wxEVT_KILL_FOCUS (partially related to #3482),
when for Parameter validation dialog "Selecting NO caused no change".

OSX:TextCtrl:wxEVT_KILL_FOCUS: Second call is suppressed

+ Under OSX set a little bit more wider width for Fields
2020-02-18 11:11:39 +01:00
YuSanka fcd1cf371b Alignments of options in settings tabs
+ msw_rescale() is overridden for PrinterTab to rescale of all the option Pages and not just a respect to current print technology
+ A Setting of the option.width in PrintConfig is no need anymore
2020-02-12 12:51:34 +01:00
YuSanka 94712544aa Fix for #2845
+ Fixed get_config_value for coFloatOrPercent (percent mode allow non-just-int values)
2019-09-02 14:02:26 +02:00
YuSanka 7ff68ad210 Merge remote-tracking branch 'origin/master' into ys_update_settings 2019-08-22 10:27:45 +02:00
YuSanka ea4f76ea80 Implemented update for overridden options on sidebar 2019-08-22 10:25:19 +02:00
YuSanka 3e62d7ae64 Implemented button "Reset to Filament Color" 2019-08-20 09:52:00 +02:00
YuSanka 7c2e199472 Try to fix selection of overridden option when TextCtrl is focused
Note: the problem was observed only under OSX
2019-07-30 14:16:07 +02:00
YuSanka 7b5c8b7e16 Implemented some upgrades for filament overrides 2019-07-29 14:00:22 +02:00
YuSanka 40a576a8ad Implemented update of the override filaments options from/to config 2019-07-28 22:00:39 +02:00
Vojtech Kral 8133aa1324 Fix wxSpinCtrl in settings on Mac OS, cf. #2237 2019-05-20 14:39:42 +02:00
bubnikv b247bbab2e Fixed localization of parameter legends. 2019-05-09 15:13:14 +02:00
Enrico Turri cc98c9bbe2 Fixed disappearing visual hints when the user presses the ENTER key while editing one of the object manipulators fields 2019-05-09 11:43:28 +02:00
YuSanka 708037158e Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
YuSanka 065448e9e5 Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
YuSanka 077321b228 Implemented em_unit() function for getting of em_unit value from correct parent.
+ Added correct em_unit to Fields
2019-04-17 21:35:53 +02:00
YuSanka f7ddddcff5 Application Scaling for MSW: Next big step
- Added rescale() function for the most of controls
 - Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +02:00
YuSanka b382ad1ffb Some improvements 2019-03-08 16:20:20 +01:00
YuSanka 0ec718a510 All wxComboBoxes are changed to the wxBitmapComboBoxes 2019-03-07 16:21:56 +01:00
Vojtech Kral f7529dbef5 Tab: Update print host address and cafile properly, fix #1687 2019-01-29 17:11:07 +01:00
YuSanka 66f998bdbf Fix of the change of the perimeters count in a vase-mode (part fix of #1649) 2019-01-14 15:41:24 +01:00
YuSanka 6efcdd1ddf Added wxEVT_TEXT_ENTER handling for TextCtrl, SpinCtrl & PointCtrl (but it doesn't work under OSX) (fix of #1518) 2019-01-08 16:06:58 +01:00
YuSanka 7d1fb201e7 Implemented updating of the settings values for PointCtrl and Choice.
* wx_EVT_KILL_FOCES doesn't handled on OSX, so values are updating on wx_EVT_TEXT like a temporary workaround.
2018-12-18 15:29:49 +01:00
YuSanka e1cea03cda Added template for the handle of the TextCtrl's focus event 2018-12-11 14:05:56 +01:00
YuSanka d7bc1410ee Update value inside TextCtrl & SpinCtrl after wxEVT_KILL_FOCES instead of wxEVT_TEXT (or wxEVT_TEXT_ENTER) 2018-12-11 14:05:56 +01:00
YuSanka 054d202817 Correct mixed_selection updating from 3dScene to ObjectList 2018-11-30 11:22:06 +01:00
bubnikv a378bb7bed 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
YuSanka c6b597b813 Fixed updating of the options values after the clearing of the TextCtrl 2018-11-21 15:05:18 +01:00
YuSanka 62aa34b444 SpinCtrsl inside Manipulation pane is replaced to TextCtrls
+ Added "proces_enter" mode for TextCtrl (The control will generate the event wxEVT_TEXT_ENTER)
2018-11-14 12:35:15 +01:00