Commit Graph

116 Commits

Author SHA1 Message Date
580b1bc5de First scaling experiments 2019-04-10 09:57:33 +02:00
989aaf086c Implement per-screen DPI on Windows, DPI change event, wxDialog & wxFrame mixin base classes 2019-04-08 11:34:46 +02:00
8dc3dc3d4b Icon updating for all application 2019-04-08 11:10:57 +02:00
5c6189b553 Weird things happen as the Paint messages are floating around the windows being destructed.
Avoid the Paint messages by hiding the main window.
Also the application closes much faster without these unnecessary screen refreshes.
In addition, there were some crashes due to the Paint events sent to already destructed windows.
2019-03-18 23:22:38 +01:00
b12d9f1b27 Performance fix of rendering of the parameter tabs on Windows:
Disabled Windows Vista themes for the wxNotebook.
2019-03-18 20:54:01 +01:00
5263ea796a Set MinSize() in respect to em_unit 2019-03-18 10:38:21 +01:00
d5efdecb6c Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831) 2019-03-01 11:00:34 +01:00
8eeb549134 Renamed the SLA output file to ".sl1" 2019-02-25 15:01:39 +01:00
e53b3a31f2 Removed unnecessary saving of slicer.ini 2019-02-22 17:18:58 +01:00
59784e8eac Fixed bug with update (part of #1801) 2019-02-22 09:38:56 +01:00
ebd11c3f7c Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00
8cb13624f5 Fix of the SLA situation where an object was sliced even after being
moved out of the print bed.

Added an event.Skip() when processing OnActivate event.
2019-02-20 12:21:22 +01:00
ebb077032e OnActivate handler to:
1) Process delayed error messages from background processing
2) Set keyboard focus to the 3D scene if no wx window has keyboard focus.
2019-02-19 14:57:59 +01:00
aa4a02d683 Revert "WIP: SVG import & rasterization"
This reverts commit 9b15908a47.
2019-02-07 12:09:10 +01:00
2f5560756e WIP: SVG import & rasterization
Updated AntiGrain (agg) library to 2.5
Added agg_svg library from AntiGrain 2.5
added src/slic3r/Utils/SVGImport.cpp/hpp
2019-02-07 12:06:51 +01:00
c0287928a6 Added bitmap scaling 2019-02-06 15:29:13 +01:00
6c72fca113 Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-05 11:04:28 +01:00
cccc66dd40 Platform independent delete menus 2019-02-04 15:46:12 +01:00
9ec97263e4 Fixed typo. 2019-02-04 12:08:48 +01:00
9527be5ec6 Handle Del, Ctrl+Del, Ctrl+A hot keys in the 3D scene only,
do not bind it through the menu accelerators.
This time the implementation is the same on all platforms.
2019-02-04 12:04:42 +01:00
daa450b8aa Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-04 10:38:23 +01:00
042b206a2e Fixed "hard_code" setting of the size for the Sidebar and Tabs
+ Fixed assert after config_wizard changing
2019-02-04 10:35:16 +01:00
1484522cd8 Trying to find a reasonable workaround for the single key menu accelerators. 2019-02-03 19:10:20 +01:00
23849e17b2 The accelerators Ctrl+A, Ctrl+Del and Del were incorrectly captured
globally by being defined in the Edit menu.
These accelerators are now suppressed in the menu (shown on Windows
but inactive, not shown on OSX / Linux),
and they are now captured by the 3D scene widget instead.

Fix of ctrl-A doesn't work well #1753
2019-02-03 14:06:13 +01:00
d352cc40a9 First experiment to fix layouts on hdpi 2019-01-31 15:55:09 +01:00
f1ca3f049a Fixed first binding for "Split to parts" menu item in ObjectList 2019-01-30 10:06:10 +01:00
458f3358fe Renamed Open / Save to Open Project / Save Project 2019-01-29 14:44:10 +01:00
9463ee4feb Fixed a crash caused by double-free on application close event (Linux) 2019-01-28 12:12:26 +01:00
f6d9ab2a99 Updated settings menu according to the view mode
+ Created new class PrusaMenu, derived from wxMenu and contains pointers to the separators.
2019-01-25 16:57:44 +01:00
2bc61e663f Updated view mode for object_list and object_menu 2019-01-25 10:57:13 +01:00
090740dc24 Improved application recreation after language change 2019-01-24 15:32:50 +01:00
f63c617251 Fix assert on empty datadir 2019-01-23 14:39:19 +01:00
1488820aea Fix main frame window restore position on Mac #493 2019-01-21 18:11:11 +01:00
61b1ab2647 Fix window geometry persistence #1557 2019-01-21 14:56:23 +01:00
40ecbce8c7 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-21 13:05:59 +01:00
ee1e590858 L10n improvements 2019-01-21 12:34:28 +01:00
b76f438975 WIP Restoration of the layer editing. 2019-01-21 10:06:51 +01:00
f82971b20a Mac: Fix close events on close by command-Q 2019-01-14 16:49:53 +01:00
4e9559463b Fixed #1638 2019-01-14 09:23:24 +01:00
93cb490c3a Mac: Disable auto window menu, fix upload queue window size 2019-01-11 17:07:49 +01:00
efa704bb0b PrintHost: Add upload queue keyboard shortcut 2019-01-10 17:52:14 +01:00
e0b4644946 Partial fix of "Nefunguje menu po změně jazyka #1630" 2019-01-10 14:45:09 +01:00
e57172a7bf Fixed a bug in the Win32 start wrapper (wrong number of parameters was passed for the GUI slic3r.exe).
Reworked command line processing for the GUI slic3r. Now the config is loaded first, then the model files (also the configs from AMF/3MF are applied), and lastly the free standing parameters are applied.
Fixed unescaping for command line parameters. The string parameters are now not unescaped, string vector parameters are unescaped only if enquoted.
Tab::load_current_preset() - disabled CallAfter for predictability. With CallAfter, it was difficult to call the method in sequence with other methods.
Fixed some missing ->Destroy() calls on dialogs created from MainFrame
Fixed some compiler warnings.
2019-01-09 10:43:17 +01:00
fae0b19b40 Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-03 14:34:53 +01:00
4011138999 Removal of wxNotebook from plater set as default 2019-01-03 12:59:06 +01:00
542a026fb4 Fix fs::path <-> wxString conversions 2019-01-02 15:53:52 +01:00
7c70b60908 Fixed the "Ctrl-R" hotkey for Reslice. 2018-12-20 22:50:30 +01:00
3ff89b7529 Printhost: Make queue window non-modal, fix upload start progress 2018-12-20 16:43:17 +01:00
b54648b615 Fixed recreate_GUI() after language change. 2018-12-19 17:38:41 +01:00
f9109f44a9 Added "Keyboard Shortcuts" dialog 2018-12-19 13:06:46 +01:00