mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00

Co-authored-by: Maddy <59680197+xM4ddy@users.noreply.github.com> Co-authored-by: Yimura <andreas.maerten@scarlet.be>
19 lines
485 B
C++
19 lines
485 B
C++
#include "views/view.hpp"
|
|
#include "widgets/imgui_hotkey.hpp"
|
|
|
|
namespace big
|
|
{
|
|
void view::settings() {
|
|
components::small_text("Hotkeys");
|
|
|
|
ImGui::PushItemWidth(350.f);
|
|
|
|
if (ImGui::Hotkey("Menu Toggle", &g->settings.hotkeys.menu_toggle))
|
|
g->settings.hotkeys.editing_menu_toggle = true; // make our menu reappear
|
|
|
|
ImGui::Text("(Below hotkey is not implemented)");
|
|
ImGui::Hotkey("Teleport to waypoint", &g->settings.hotkeys.teleport_waypoint);
|
|
|
|
ImGui::PopItemWidth();
|
|
}
|
|
} |