Added "Keyboard Shortcuts" dialog

This commit is contained in:
YuSanka 2018-12-19 13:06:24 +01:00
parent 354458ae73
commit 661086554a
6 changed files with 198 additions and 0 deletions

View file

@ -0,0 +1,32 @@
#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::map<wxString, Shortcuts> ShortcutsMap;
wxString text_info {wxEmptyString};
ShortcutsMap m_full_shortcuts;
public:
KBShortcutsDialog();
void fill_shortcuts();
private:
void onCloseDialog(wxEvent &);
};
} // namespace GUI
} // namespace Slic3r
#endif