Files
OrcaSlicer-bambulab/src/slic3r/GUI/KBShortcutsDialog.hpp
T

33 lines
649 B
C++
Raw Normal View History

2018-12-19 13:06:24 +01:00
#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;
2019-01-31 13:21:17 +01:00
typedef std::vector< std::pair<wxString, std::pair<Shortcuts, int>> > ShortcutsVec;
2018-12-19 13:06:24 +01:00
wxString text_info {wxEmptyString};
2019-01-31 13:21:17 +01:00
ShortcutsVec m_full_shortcuts;
2018-12-19 13:06:24 +01:00
public:
KBShortcutsDialog();
void fill_shortcuts();
private:
void onCloseDialog(wxEvent &);
};
} // namespace GUI
} // namespace Slic3r
#endif