mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
imgui: Makes the window edges rounded
This commit is contained in:
parent
80bf46da4c
commit
8447507d66
@ -51,6 +51,7 @@ void Initialize(const ::Vulkan::Instance& instance, const Frontend::WindowSDL& w
|
|||||||
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
|
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
|
||||||
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
io.ConfigFlags |= ImGuiConfigFlags_DockingEnable;
|
||||||
io.DisplaySize = ImVec2((float)window.getWidth(), (float)window.getHeight());
|
io.DisplaySize = ImVec2((float)window.getWidth(), (float)window.getHeight());
|
||||||
|
ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 5.0f); // Makes the window edges rounded
|
||||||
|
|
||||||
auto path = config_path.u8string();
|
auto path = config_path.u8string();
|
||||||
char* config_file_buf = new char[path.size() + 1]();
|
char* config_file_buf = new char[path.size() + 1]();
|
||||||
|
Loading…
Reference in New Issue
Block a user