Commit Graph

51 Commits

Author SHA1 Message Date
YuSanka
45406faf1c Added SVG-file for G-CodeViewer logo 2021-10-07 11:53:19 +02:00
Vojtech Bubnik
4035a8921e Fix of "About" screen still shows 2020 at the copyright notice (#7018) 2021-09-27 10:07:29 +02:00
Lukáš Hejl
28a67ea610 Added fast_float library as a replacement for std::from_chars and strtod. 2021-09-11 00:54:30 +02:00
David Kocik
6c048a4b7f Notice dialog when opening any link outside PrusaSlicer 2021-08-25 15:07:38 +02:00
YuSanka
c0252cb10e GalleryDialog: Fixed sort of the filenames inside the list.
+ OSX Specific:
   * Fixed scale of the lock on the system file icons
   * Fixed buttons alignment for AboutDialog and SysInfoDialog
2021-07-14 16:45:34 +02:00
YuSanka
b83e109222 Fixed Windows DarkMode for some dialogues.
+ ProjectDropDialog: wxRadiloBox was changes to the wxStaticBox with wxRadioButtons because of dark mode colors update
+ Preferences: Fixed update of the text colors
2021-07-13 18:27:30 +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
Vojtech Bubnik
60cc12002e Removal of not numerically robust libraries "poly2tree" and "polypartition".
Adjustment of GUI/3DBed.cpp,hpp to use the more stable triangulation algoritm
derived from SGI glut.
Fix of an extremely slow bridging calculation, caused by an extremely
slow bridged area detection function, of which the results were never used.
Fixes "slicing fails or takes too long #5974"
2021-02-09 18:36:28 +01:00
Lukas Matena
e6fc1ed357 Added missing includes for gcc 2020-12-08 12:31:59 +01:00
YuSanka
a8568f31d9 In AboutDialog added "Copy Version Info" button (FR #4990) 2020-12-07 19:04:09 +01:00
Vojtech Bubnik
4a6dd55b27 Fixed missing include 2020-12-04 13:37:36 +01:00
YuSanka
c16221dc8c Localization: Fixed some phrases. Updated POT and NL dictionary. 2020-12-04 13:08:48 +01:00
YuSanka
3bc30d868e Refactoring:
1. Use C++ style cast instead of C style
2. Deleted unused code from Search
2020-11-26 14:34:54 +01:00
enricoturri1966
a72d8f7aef ENABLE_GCODE_VIEWER set as default in:
3DScene hpp/cpp

AboutDialog.cpp

BackgroundSlicingProcess hpp/cpp

BitmapCache.cpp

ConfigWizard_private.hpp

GUI_App hpp/cpp

GUI_Init.cpp
2020-11-18 10:44:03 +01:00
YuSanka
649d2aad72 Fixed a Dialog position under OSX
Always set parent for the Dialog, if we want to see the Dialog in the same display as a parent.
Dialog will be shown in the primary monitor otherwise.

+ fixed a draw of the canvas legend when we move application between Retina and non-Retina displays
2020-11-05 11:53:16 -08:00
bubnikv
b3b989158a Fixes of DPI scaling on Windows. 2020-09-30 14:02:23 +02:00
enricoturri1966
fb1c75d898 Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer 2020-09-11 08:03:13 +02:00
YuSanka
33f5e2c583 Code cleaning.
+ Use default DPIfont for wxHtmlWindows
2020-09-04 13:01:02 +02:00
YuSanka
c5df518e9e Merge remote-tracking branch 'origin/master' into ys_search 2020-03-25 11:20:34 +01:00
YuSanka
d5c0c84b5a Added fts_fuzzy_match.h borrowed from https://github.com/forrestthewoods/lib_fts
Search impoved using lib_fts
Function for filtering by score is prepared.
2020-03-25 10:24:43 +01:00
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
Lukas Matena
1ed94fe8f9 Copyright year incremented (AboutDialog, manifests) 2020-03-06 16:06:21 +01:00
Lukas Matena
18fd7fa45f Fixing build against wxWidgets 3.0
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +01:00
Lukas Matena
0e734239ba Include cleanup in several files
src/slic3r/Config/Snapshot.cpp
src/slic3r/Config/Snapshot.hpp
src/slic3r/Config/Version.cpp
src/slic3r/Config/Version.hpp
src/slic3r/GUI/2DBed.cpp
src/slic3r/GUI/3DBed.cpp
src/slic3r/GUI/3DScene.cpp
src/slic3r/GUI/3DScene.hpp
src/slic3r/GUI/AboutDialog.cpp
src/slic3r/GUI/AboutDialog.hpp
src/slic3r/GUI/AppConfig.cpp
src/slic3r/GUI/BackgroundSlicingProcess.cpp
src/slic3r/GUI/BackgroundSlicingProcess.hpp
2020-03-03 15:47:02 +01:00
Lukas Matena
d58b5617cc Fixing wxString::Format encoding mismatches (part 1) 2020-03-03 10:54:17 +01:00
Vojtech Kral
eb7f4cff7e Fix encoding of a few files in GUI
GUI/AboutDialog.cpp
GUI/MainFrame.hpp
GUI/OptionsGroup.cpp
2019-08-19 17:04:14 +02:00
bubnikv
4f4aa20553 Add AppImage credits #2747 2019-08-19 14:34:12 +02:00
YuSanka
1163f65bd0 Added Real-Time DXT1/DXT5 C compression library to CopyrightsDialog
+ updated icons for mirroring
2019-07-31 17:38:06 +02:00
bubnikv
02d38eee49 Merge remote-tracking branch 'remotes/origin/ys_new_features' 2019-05-16 17:02:07 +02:00
YuSanka
423a04f53b Added CopyrightsDialog 2019-05-16 16:55:44 +02:00
bubnikv
b4f729435c Fix of New assertion failure with 2.0.0rc #2250
Calls to Dialog::Close() after Dialog::EndModal() were removed.
2019-05-16 16:06:57 +02:00
bubnikv
c50d5840a2 Updated the About dialog with the "based on Slic3r" note. 2019-05-14 18:10:20 +02:00
bubnikv
95041ea550 WIP: Renaming to PrusaSlicer.
Removed the obsolte icons.
2019-05-13 12:13:28 +02:00
YuSanka
8364482870 AboutDialog localization 2019-05-09 16:38:44 +02:00
YuSanka
2b39a4df96 Added msw_buttons_rescale() - Function for a scaling Dialog's buttons under MSW 2019-04-25 15:09:12 +02:00
YuSanka
0da12d08fd Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
YuSanka
6f3fbe34bb Merge remote-tracking branch 'origin/ys_bug_fixing' into ys_msw_dpi 2019-04-18 15:24:50 +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
bubnikv
dc6e438b90 More unification of the application naming. 2019-04-15 19:49:37 +02:00
bubnikv
31edb6082e Harmonized the application naming. 2019-04-15 16:14:19 +02:00
Vojtech Kral
b7a3f8de30 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
YuSanka
8dc3dc3d4b Icon updating for all application 2019-04-08 11:10:57 +02:00
bubnikv
20b3b21c86 Bumped up the year in About Dialog. 2019-03-04 15:34:22 +01:00
YuSanka
369cda4cd3 Added scaling for more some dialogs
+ Set size for mode buttons
2019-02-11 14:14:35 +01:00
YuSanka
774f4096e2 Fixed scaling of the controls and InfoDialogs (Sys and About) 2019-02-06 10:13:27 +01:00
YuSanka
9c87288a6b Fixed flashing
+ Adde experiments with FromDIP function
2019-02-05 11:48:28 +01:00
YuSanka
570dff2bb6 Fix of SPE-765
Suppress the dialog closing by clicking on a logo.
2019-01-21 15:43:06 +01:00
YuSanka
0925273b1c Fix of #1606
+ Added dialog closing by "Esc" button for the FirmwareDialog.
2019-01-15 10:31:34 +01:00
bubnikv
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
YuSanka
6ef60faa39 Ported System Info Dialog 2018-10-25 12:49:29 +02:00