Unravel Engine C++ Reference
Loading...
Searching...
No Matches
shortcuts.h File Reference
#include <imgui/imgui.h>
#include <editor/imgui/integration/imgui.h>

Go to the source code of this file.

Namespaces

namespace  unravel
 
namespace  unravel::shortcuts
 

Functions

auto unravel::shortcuts::get_shortcut_name (const ImGuiKeyCombination &shortcut) -> std::string
 
auto unravel::shortcuts::get_shortcut_name (ImGuiKey key) -> std::string
 

Variables

constexpr ImGuiKey unravel::shortcuts::modifier_camera_speed_boost = ImGuiKey_LeftShift
 
constexpr ImGuiKey unravel::shortcuts::modifier_snapping = ImGuiKey_LeftCtrl
 
const ImGuiKeyCombination unravel::shortcuts::new_scene = {ImGuiKey_LeftCtrl, ImGuiKey_N}
 
const ImGuiKeyCombination unravel::shortcuts::open_scene = {ImGuiKey_LeftCtrl, ImGuiKey_O}
 
const ImGuiKeyCombination unravel::shortcuts::save_scene = {ImGuiKey_LeftCtrl, ImGuiKey_S}
 
const ImGuiKeyCombination unravel::shortcuts::save_scene_as = {ImGuiKey_LeftCtrl, ImGuiKey_LeftShift, ImGuiKey_S}
 
constexpr ImGuiKey unravel::shortcuts::play_toggle = ImGuiKey_F5
 
constexpr ImGuiKey unravel::shortcuts::pause_toggle = ImGuiKey_F6
 
constexpr ImGuiKey unravel::shortcuts::step_frame = ImGuiKey_F7
 
constexpr ImGuiKey unravel::shortcuts::camera_forward = ImGuiKey_W
 
constexpr ImGuiKey unravel::shortcuts::camera_backward = ImGuiKey_S
 
constexpr ImGuiKey unravel::shortcuts::camera_left = ImGuiKey_A
 
constexpr ImGuiKey unravel::shortcuts::camera_right = ImGuiKey_D
 
constexpr ImGuiKey unravel::shortcuts::rename_item = ImGuiKey_F2
 
constexpr ImGuiKey unravel::shortcuts::delete_item = ImGuiKey_Delete
 
const ImGuiKeyCombination unravel::shortcuts::duplicate_item = {ImGuiKey_LeftCtrl, ImGuiKey_D}
 
constexpr ImGuiKey unravel::shortcuts::navigate_back = ImGuiKey_Backspace
 
constexpr ImGuiKey unravel::shortcuts::item_action = ImGuiKey_Enter
 
constexpr ImGuiKey unravel::shortcuts::item_action_alt = ImGuiKey_KeypadEnter
 
constexpr ImGuiKey unravel::shortcuts::item_cancel = ImGuiKey_Escape
 
const ImGuiKeyCombination unravel::shortcuts::select_all = {ImGuiKey_LeftCtrl, ImGuiKey_A}
 
const ImGuiKeyCombination unravel::shortcuts::cut = {ImGuiKey_LeftCtrl, ImGuiKey_X}
 
const ImGuiKeyCombination unravel::shortcuts::copy = {ImGuiKey_LeftCtrl, ImGuiKey_C}
 
const ImGuiKeyCombination unravel::shortcuts::paste = {ImGuiKey_LeftCtrl, ImGuiKey_V}
 
const ImGuiKeyCombination unravel::shortcuts::undo = {ImGuiKey_LeftCtrl, ImGuiKey_Z}
 
const ImGuiKeyCombination unravel::shortcuts::redo = {ImGuiKey_LeftCtrl, ImGuiKey_Y}
 
const ImGuiKeyCombination unravel::shortcuts::redo_alt = {ImGuiKey_LeftCtrl, ImGuiKey_LeftShift, ImGuiKey_Z}
 
const ImGuiKeyCombination unravel::shortcuts::undo_history = {ImGuiKey_LeftCtrl, ImGuiKey_U}
 
const ImGuiKeyCombination unravel::shortcuts::recompile_ui = {ImGuiKey_LeftCtrl, ImGuiKey_LeftShift, ImGuiKey_R}
 
constexpr ImGuiKey unravel::shortcuts::move_tool = ImGuiKey_W
 
constexpr ImGuiKey unravel::shortcuts::rotate_tool = ImGuiKey_E
 
constexpr ImGuiKey unravel::shortcuts::scale_tool = ImGuiKey_R
 
constexpr ImGuiKey unravel::shortcuts::universal_tool = ImGuiKey_Q
 
constexpr ImGuiKey unravel::shortcuts::bounds_tool = ImGuiKey_T
 
constexpr ImGuiKey unravel::shortcuts::ik_ccd = ImGuiKey_K
 
constexpr ImGuiKey unravel::shortcuts::ik_fabrik = ImGuiKey_L
 
constexpr ImGuiKey unravel::shortcuts::focus_selected = ImGuiKey_F
 
const ImGuiKeyCombination unravel::shortcuts::frame_all = {ImGuiKey_LeftAlt, ImGuiKey_F}
 
constexpr ImGuiKey unravel::shortcuts::toggle_gizmo_mode = ImGuiKey_Z
 
constexpr ImGuiKey unravel::shortcuts::toggle_local_global = ImGuiKey_L
 
constexpr ImGuiKeyChord unravel::shortcuts::snap_scene_camera_to_selected_camera = ImGuiKey_F | ImGuiMod_Shift
 
constexpr ImGuiKey unravel::shortcuts::help = ImGuiKey_F1