General UI tweaks (#1538)

This commit is contained in:
DayibBaba
2023-06-27 14:05:44 +02:00
committed by GitHub
parent a5b2c28c3b
commit 78986f7c02
19 changed files with 85 additions and 160 deletions

View File

@ -47,10 +47,11 @@ namespace big
components::player_command_button<"fakeban">(g_player_service->get_selected(), {});
static int wanted_level;
ImGui::SliderInt("WANTED_LVL"_T.data(), &wanted_level, 0, 5);
components::small_text("WANTED_LVL");
ImGui::SliderInt("##wantedlevelslider", &wanted_level, 0, 5);
ImGui::SameLine();
components::player_command_button<"wanted">(g_player_service->get_selected(), {(uint64_t)wanted_level}, "Set");
ImGui::SameLine();
components::player_command_button<"remweaps">(g_player_service->get_selected(), {});
components::player_command_button<"tutorial">(g_player_service->get_selected(), {});