OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
KeyChord.cpp File Reference
#include "KeyChord.hpp"
#include "GUI.hpp"
#include "I18N.hpp"
#include <wx/accel.h>
#include <string>
#include <cstddef>
#include <optional>
#include <vector>
#include <wx/event.h>
#include <algorithm>
#include <array>
#include <cctype>
Include dependency graph for KeyChord.cpp:

Go to the source code of this file.

Classes

struct  Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::KeyName

Namespaces

namespace  Slic3r
 |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
namespace  Slic3r::GUI
namespace  Slic3r::GUI::anonymous_namespace{KeyChord.cpp}

Functions

bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::equals_ignoring_case (const std::string &a, const char *b)
bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::is_letter (int key)
bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::is_digit (int key)
bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::is_printable (int key)
bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::is_symbol (int key)
bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::is_function_key (int key)
bool Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::is_special (int key)
std::string Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::special_key_name (int key)
std::string Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::special_key_label (int key)
int Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::parse_key (const std::string &text)
int Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::parse_modifier (const std::string &text)
int Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::fold_numpad (int key)
const char * Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::canonical_modifier_prefix (int modifier)
template<typename Prefix>
std::string Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::join_modifiers (int modifiers, Prefix prefix)

Variables

constexpr int Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::BINDABLE_MODIFIERS = wxMOD_CONTROL | wxMOD_SHIFT | wxMOD_ALT | wxMOD_RAW_CONTROL
constexpr std::array< KeyName, 15 > Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::special_keys
constexpr std::array< int, 3 > Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::MODIFIER_ORDER { wxMOD_CONTROL, wxMOD_SHIFT, wxMOD_ALT }

Class Documentation

◆ Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::KeyName

struct Slic3r::GUI::anonymous_namespace{KeyChord.cpp}::KeyName
Class Members
const char * alias
int key
const char * label
const char * name