mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-25 09:41:11 -06:00
WIP: G-code viewer menu, refactoring of starting a background process.
This commit is contained in:
parent
014a90b51b
commit
b0bedf33c0
5 changed files with 135 additions and 22 deletions
19
src/slic3r/Utils/Process.hpp
Normal file
19
src/slic3r/Utils/Process.hpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef GUI_PROCESS_HPP
|
||||
#define GUI_PROCESS_HPP
|
||||
|
||||
class wxWindow;
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
// Start a new slicer instance, optionally with a file to open.
|
||||
void start_new_slicer(const wxString *path_to_open = nullptr);
|
||||
// Start a new G-code viewer instance, optionally with a file to open.
|
||||
void start_new_gcodeviewer(const wxString *path_to_open = nullptr);
|
||||
// Open a file dialog, ask the user to select a new G-code to open, start a new G-code viewer.
|
||||
void start_new_gcodeviewer_open_file(wxWindow *parent = nullptr);
|
||||
|
||||
} // namespace GUI
|
||||
} // namespace Slic3r
|
||||
|
||||
#endif // GUI_PROCESS_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue