struct EE::UI::MouseBindings::Shortcut

#include <mouseshortcut.hpp>

struct Shortcut {
    // fields

    MouseAction action { MouseAction::Click };
    MouseButtonsMask key { KEY_UNKNOWN };
    Uint32 mod { 0 };

    // construction

    Shortcut();
    Shortcut(MouseAction action, MouseButtonsMask mouseMask, Uint32 mod);

    // methods

    bool operator<(const Shortcut& other) const;
    bool operator==(const Shortcut& other) const;
    bool operator!=(const Shortcut& other) const;
    bool empty() const;
};