- 58
- 1
- Версия MoonLoader
- Другое
Привет всем. Я новичок в lua, хотел подключить Imgui (стиль), который сделал сам через imgui.editor
Искал в интернете, даже в чужих кодах пробывал не получилось..
ps: Умники, плиз, не долбите мозги. Для этого я отметил слово КРАСНЫМ цветом!
Искал в интернете, даже в чужих кодах пробывал не получилось..
ps: Умники, плиз, не долбите мозги. Для этого я отметил слово КРАСНЫМ цветом!
Lua:
ImVec4* colors = ImGui::GetStyle().Colors;
colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.38f, 0.42f, 0.53f, 1.00f);
colors[ImGuiCol_WindowBg] = ImVec4(0.11f, 0.11f, 0.13f, 1.00f);
colors[ImGuiCol_ChildBg] = ImVec4(0.61f, 0.61f, 0.61f, 0.00f);
colors[ImGuiCol_PopupBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.92f);
colors[ImGuiCol_Border] = ImVec4(0.22f, 0.24f, 0.30f, 1.00f);
colors[ImGuiCol_BorderShadow] = ImVec4(1.00f, 1.00f, 1.00f, 0.00f);
colors[ImGuiCol_FrameBg] = ImVec4(0.22f, 0.24f, 0.30f, 0.58f);
colors[ImGuiCol_FrameBgHovered] = ImVec4(0.37f, 0.40f, 0.49f, 1.00f);
colors[ImGuiCol_FrameBgActive] = ImVec4(0.24f, 0.25f, 0.31f, 1.00f);
colors[ImGuiCol_TitleBg] = ImVec4(1.00f, 1.00f, 1.00f, 0.89f);
colors[ImGuiCol_TitleBgActive] = ImVec4(0.22f, 0.24f, 0.30f, 1.00f);
colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.58f, 0.58f, 0.58f, 0.20f);
colors[ImGuiCol_MenuBarBg] = ImVec4(0.55f, 0.55f, 0.55f, 1.00f);
colors[ImGuiCol_ScrollbarBg] = ImVec4(1.00f, 1.00f, 1.00f, 0.38f);
colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.22f, 0.24f, 0.30f, 0.69f);
colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.80f, 0.80f, 0.84f, 0.40f);
colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(1.00f, 1.00f, 1.00f, 0.60f);
colors[ImGuiCol_CheckMark] = ImVec4(0.46f, 0.49f, 0.60f, 1.00f);
colors[ImGuiCol_SliderGrab] = ImVec4(0.37f, 0.41f, 0.51f, 1.00f);
colors[ImGuiCol_SliderGrabActive] = ImVec4(0.55f, 0.55f, 0.55f, 0.60f);
colors[ImGuiCol_Button] = ImVec4(0.22f, 0.24f, 0.30f, 1.00f);
colors[ImGuiCol_ButtonHovered] = ImVec4(0.81f, 0.83f, 0.90f, 0.79f);
colors[ImGuiCol_ButtonActive] = ImVec4(0.73f, 0.73f, 0.73f, 1.00f);
colors[ImGuiCol_Header] = ImVec4(0.84f, 0.84f, 1.00f, 0.45f);
colors[ImGuiCol_HeaderHovered] = ImVec4(0.22f, 0.24f, 0.30f, 1.00f);
colors[ImGuiCol_HeaderActive] = ImVec4(1.00f, 1.00f, 1.00f, 0.80f);
colors[ImGuiCol_Separator] = ImVec4(0.22f, 0.24f, 0.30f, 1.00f);
colors[ImGuiCol_SeparatorHovered] = ImVec4(0.91f, 0.91f, 1.00f, 1.00f);
colors[ImGuiCol_SeparatorActive] = ImVec4(0.59f, 0.59f, 0.59f, 1.00f);
colors[ImGuiCol_Tab] = ImVec4(0.34f, 0.34f, 0.34f, 0.79f);
colors[ImGuiCol_TabHovered] = ImVec4(1.00f, 1.00f, 1.00f, 0.80f);
colors[ImGuiCol_TabActive] = ImVec4(0.22f, 0.24f, 0.30f, 1.00f);
colors[ImGuiCol_TabUnfocused] = ImVec4(0.48f, 0.48f, 0.48f, 0.84f);