mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			649 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			649 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef slic3r_GUI_KBShortcutsDialog_hpp_
 | |
| #define slic3r_GUI_KBShortcutsDialog_hpp_
 | |
| 
 | |
| #include <wx/wx.h>
 | |
| #include <map>
 | |
| 
 | |
| namespace Slic3r { 
 | |
| namespace GUI {
 | |
| 
 | |
| class KBShortcutsDialog : public wxDialog
 | |
| {
 | |
|     typedef std::pair<std::string, std::string> Shortcut;
 | |
|     typedef std::vector< Shortcut >             Shortcuts;
 | |
|     typedef std::vector< std::pair<wxString, std::pair<Shortcuts, int>> >   ShortcutsVec;
 | |
| 
 | |
|     wxString text_info {wxEmptyString};
 | |
| 
 | |
|     ShortcutsVec m_full_shortcuts;
 | |
| 
 | |
| public:
 | |
|     KBShortcutsDialog();
 | |
|     
 | |
|     void fill_shortcuts();
 | |
| 
 | |
| private:
 | |
|     void onCloseDialog(wxEvent &);
 | |
| };
 | |
| 
 | |
| } // namespace GUI
 | |
| } // namespace Slic3r
 | |
| 
 | |
| #endif
 | 
