mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	NEW: rearch calibration
Change-Id: I20ee304eba1a63e08d0a36abdf06ebe6a6e4451f Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
		
							parent
							
								
									ced9e43be6
								
							
						
					
					
						commit
						2368d929fe
					
				
					 44 changed files with 7710 additions and 5851 deletions
				
			
		
							
								
								
									
										80
									
								
								src/slic3r/GUI/CalibrationWizardStartPage.hpp
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										80
									
								
								src/slic3r/GUI/CalibrationWizardStartPage.hpp
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,80 @@ | |||
| #ifndef slic3r_GUI_CalibrationWizardStartPage_hpp_ | ||||
| #define slic3r_GUI_CalibrationWizardStartPage_hpp_ | ||||
| 
 | ||||
| #include "CalibrationWizardPage.hpp" | ||||
| 
 | ||||
| namespace Slic3r { namespace GUI { | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| class CalibrationStartPage : public CalibrationWizardPage | ||||
| { | ||||
| public: | ||||
|     CalibrationStartPage(wxWindow* parent, | ||||
|         wxWindowID id = wxID_ANY, | ||||
|         const wxPoint& pos = wxDefaultPosition, | ||||
|         const wxSize& size = wxDefaultSize, | ||||
|         long style = wxTAB_TRAVERSAL); | ||||
| 
 | ||||
| protected: | ||||
|     CalibMode m_cali_mode; | ||||
|     wxString  m_wiki_url; | ||||
| 
 | ||||
|     wxBoxSizer*   m_top_sizer; | ||||
|     wxBoxSizer*   m_images_sizer; | ||||
|     wxStaticText* m_wiki_text; | ||||
|     wxStaticText* m_when_title; | ||||
|     wxStaticText* m_when_content; | ||||
|     wxStaticBitmap* m_before_bmp; | ||||
|     wxStaticBitmap* m_after_bmp; | ||||
| 
 | ||||
|     void create_wiki(wxWindow* parent); | ||||
|     void create_when(wxWindow* parent, wxString title, wxString content); | ||||
|     void create_bitmap(wxWindow* parent, const wxBitmap& before_img, const wxBitmap& after_img); | ||||
|     void create_bitmap(wxWindow* parent, std::string before_img, std::string after_img); | ||||
| }; | ||||
| 
 | ||||
| class CalibrationPAStartPage : public CalibrationStartPage | ||||
| { | ||||
| public: | ||||
|     CalibrationPAStartPage(wxWindow* parent, | ||||
|         wxWindowID id = wxID_ANY, | ||||
|         const wxPoint& pos = wxDefaultPosition, | ||||
|         const wxSize& size = wxDefaultSize, | ||||
|         long style = wxTAB_TRAVERSAL); | ||||
| 
 | ||||
|     void create_page(wxWindow* parent); | ||||
| 
 | ||||
|     void on_reset_page(); | ||||
|     void on_device_connected(MachineObject* obj); | ||||
| }; | ||||
| 
 | ||||
| class CalibrationFlowRateStartPage : public CalibrationStartPage | ||||
| { | ||||
| public: | ||||
|     CalibrationFlowRateStartPage(wxWindow* parent, | ||||
|         wxWindowID id = wxID_ANY, | ||||
|         const wxPoint& pos = wxDefaultPosition, | ||||
|         const wxSize& size = wxDefaultSize, | ||||
|         long style = wxTAB_TRAVERSAL); | ||||
| 
 | ||||
|     void create_page(wxWindow* parent); | ||||
|     void on_reset_page(); | ||||
|     void on_device_connected(MachineObject* obj); | ||||
| }; | ||||
| 
 | ||||
| class CalibrationMaxVolumetricSpeedStartPage : public CalibrationStartPage | ||||
| { | ||||
| public: | ||||
|     CalibrationMaxVolumetricSpeedStartPage(wxWindow* parent, | ||||
|         wxWindowID id = wxID_ANY, | ||||
|         const wxPoint& pos = wxDefaultPosition, | ||||
|         const wxSize& size = wxDefaultSize, | ||||
|         long style = wxTAB_TRAVERSAL); | ||||
| 
 | ||||
|     void create_page(wxWindow* parent); | ||||
| }; | ||||
| 
 | ||||
| }} // namespace Slic3r::GUI
 | ||||
| 
 | ||||
| #endif | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Stone Li
						Stone Li