mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-27 00:24:00 -06:00
Fixes and tweaks in keyboard shortcuts dialog
This commit is contained in:
parent
a2494689b9
commit
5470af3938
2 changed files with 57 additions and 70 deletions
|
@ -15,7 +15,8 @@ class KBShortcutsDialog : public DPIDialog
|
|||
{
|
||||
typedef std::pair<std::string, std::string> Shortcut;
|
||||
typedef std::vector<Shortcut> Shortcuts;
|
||||
typedef std::vector<std::pair<wxString, Shortcuts>> ShortcutsVec;
|
||||
typedef std::pair<std::pair<wxString, wxString>, Shortcuts> ShortcutsItem;
|
||||
typedef std::vector<ShortcutsItem> ShortcutsVec;
|
||||
|
||||
ShortcutsVec m_full_shortcuts;
|
||||
ScalableBitmap m_logo_bmp;
|
||||
|
@ -32,8 +33,7 @@ private:
|
|||
void fill_shortcuts();
|
||||
|
||||
wxPanel* create_header(wxWindow* parent, const wxFont& bold_font);
|
||||
wxPanel* create_page(wxWindow* parent, const std::pair<wxString, Shortcuts>& shortcuts, const wxFont& font, const wxFont& bold_font);
|
||||
|
||||
wxPanel* create_page(wxWindow* parent, const ShortcutsItem& shortcuts, const wxFont& font, const wxFont& bold_font);
|
||||
};
|
||||
|
||||
} // namespace GUI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue