TmpMenu/BigBaseV2/src/views/settings/view_settings.cpp
LiamD-Flop e7cc2611b6 feat(GUI): Simplifying the gui (#118)
Co-authored-by: Maddy <59680197+xM4ddy@users.noreply.github.com>
Co-authored-by: Yimura <andreas.maerten@scarlet.be>
2022-05-04 19:16:40 +02:00

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();
}
}