ImGui.NET icon indicating copy to clipboard operation
ImGui.NET copied to clipboard

[Tut for Fixed] How Change Color Menu (C++ to C#)

Open SMACheats opened this issue 4 years ago • 0 comments

is only example

have searched for a long time but no success therefore I share with you how to color and so on and then sat down to fix it

C++ ` ImGuiStyle* style = &ImGui::GetStyle();

style->WindowPadding = ImVec2(15, 15);

style->Colors[ImGuiCol_Text] = ImVec4(0.80f, 0.80f, 0.83f, 1.00f);

`

C# ` ImGuiIOPtr io = ImGui.GetIO(); ImGuiStylePtr style = ImGui.GetStyle();

ImGui.GetStyle().WindowPadding = new Vector2(15, 15);

    style.Colors[(int)ImGuiCol.TextDisabled] = new Vector4(0.24f, 0.23f, 0.29f, 1.00f);

`

SMACheats avatar Jun 13 '21 16:06 SMACheats