summaryrefslogtreecommitdiff
path: root/src/port/ui/Menu.cpp
diff options
context:
space:
mode:
authorKiritoDv <36680385+KiritoDv@users.noreply.github.com>2025-05-16 02:44:40 +0000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2025-05-16 02:44:40 +0000
commitb53a5dbcfa24ef2aa4860b6d9512709976686de8 (patch)
tree441f2bb9c0bc8f955eb9289d19b13beab5c239c5 /src/port/ui/Menu.cpp
parentbdf5ca8d603ae56ac275bebf9fde58ae72484d76 (diff)
clang formatclang-format
Diffstat (limited to 'src/port/ui/Menu.cpp')
-rw-r--r--src/port/ui/Menu.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/port/ui/Menu.cpp b/src/port/ui/Menu.cpp
index 670e304fc..01eba78ae 100644
--- a/src/port/ui/Menu.cpp
+++ b/src/port/ui/Menu.cpp
@@ -9,10 +9,10 @@
#include <tuple>
extern "C" {
- extern s32 gGamestateNext;
- extern s32 gMenuSelection;
- #include "audio/external.h"
- #include "defines.h"
+extern s32 gGamestateNext;
+extern s32 gMenuSelection;
+#include "audio/external.h"
+#include "defines.h"
}
std::vector<ImVec2> windowTypeSizes = { {} };
@@ -181,8 +181,8 @@ uint32_t Menu::DrawSearchResults(std::string& menuSearchText) {
for (int i = 0; i < sidebar.columnWidgets.size(); i++) {
auto& column = sidebar.columnWidgets.at(i);
for (auto& info : column) {
- if (info.type == WIDGET_SEARCH || info.type == WIDGET_SEPARATOR || info.type == WIDGET_SEPARATOR_TEXT ||
- info.isHidden) {
+ if (info.type == WIDGET_SEARCH || info.type == WIDGET_SEPARATOR ||
+ info.type == WIDGET_SEPARATOR_TEXT || info.isHidden) {
continue;
}
const char* tooltip = info.options->tooltip;
@@ -288,7 +288,7 @@ void Menu::MenuDrawItem(WidgetInfo& widget, uint32_t width, UIWidgets::Colors me
if (UIWidgets::Combobox("Renderer API (Needs reload)", &configWindowBackend, availableWindowBackendsMap,
options)) {
Ship::Context::GetInstance()->GetConfig()->SetInt("Window.Backend.Id",
- (int32_t)(configWindowBackend));
+ (int32_t) (configWindowBackend));
Ship::Context::GetInstance()->GetConfig()->SetString("Window.Backend.Name",
windowBackendsMap.at(configWindowBackend));
Ship::Context::GetInstance()->GetConfig()->Save();