MCPcopy Create free account
hub / github.com/crosire/reshade / convert_style_var

Function convert_style_var

source/imgui_function_table_18971.cpp:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 return static_cast<ImGuiKey>(old_value - (ImGuiKey_F24 - ImGuiKey_F12) - (ImGuiKey_AppForward - ImGuiKey_KeypadEqual));
22 }
23 auto convert_style_var(ImGuiStyleVar old_value) -> ImGuiStyleVar
24 {
25 if (old_value <= 22) // ImGuiStyleVar_TabRounding
26 return old_value;
27 else
28 return old_value + 1;
29 }
30
31 auto convert_window_flags(ImGuiWindowFlags old_flags) -> ImGuiWindowFlags
32 {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected