Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. {
  2.  
  3. static float f = 0.0f;
  4. const auto button_width = 72.f;
  5. static bool Tabs = 14;
  6. static auto flags = ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoTitleBar;
  7. ImVec4* colors = ImGui::GetStyle().Colors;
  8. colors[ImGuiCol_Button] = ImColor(33, 33, 33, 200);
  9. colors[ImGuiCol_ChildBg] = ImColor(33, 33, 33, 255);
  10. colors[ImGuiCol_TitleBg] = ImColor(158, 70, 151, 255);
  11. colors[ImGuiCol_TitleBgActive] = ImColor(158, 70, 151, 200);
  12. colors[ImGuiCol_TitleBgCollapsed] = ImColor(158, 70, 151, 200);
  13. colors[ImGuiCol_ButtonHovered] = ImColor(224, 121, 216, 200);
  14. colors[ImGuiCol_ButtonActive] = ImColor(255, 166, 248, 200);
  15. colors[ImGuiCol_WindowBg] = ImColor(43, 43, 43, 245);
  16. ImGuiStyle& style = ImGui::GetStyle();
  17. static ImGuiStyle ref_saved_style;
  18.  
  19. //------------------------------------------------------------------------------
  20.  
  21. ImGui::Begin(" ", nullptr, flags);
  22. if (ImGui::BeginChild("Child2", ImVec2(160, 245), true, flags))
  23. {
  24. if (ImGui::Button("Ragebot", ImVec2(145, 25)))
  25. Tabs = 0;
  26. if (ImGui::Button("AntiHit", ImVec2(145, 25)))
  27. Tabs = 1;
  28. if (ImGui::Button("Players", ImVec2(145, 25)))
  29. Tabs = 2;
  30. if (ImGui::Button("Visuals", ImVec2(145, 25)))
  31. Tabs = 3;
  32. if (ImGui::Button("Miscellaneous", ImVec2(145, 25)))
  33. Tabs = 4;
  34. if (ImGui::Button("Skins", ImVec2(145, 25)))
  35. Tabs = 5;
  36. if (ImGui::Button("LUA", ImVec2(145, 25)))
  37. Tabs = 6;
  38. if (ImGui::Button("Configs", ImVec2(145, 25)))
  39. Tabs = 7;
  40. ImGui::EndChild();
  41. ImGui::SameLine();
  42. ImGui::End();
  43.  
  44. //------------------------------------------------------------------------------
  45.  
  46. ImGui::Begin(" ", nullptr, flags);
  47. if (ImGui::BeginChild("Child3", ImVec2(695, 245), true, flags))
  48.  
  49. ImGui::Text("", ImVec2(145, 25));
  50.  
  51. ImGui::EndChild();
  52. ImGui::End();
  53.  
  54.  
  55. //------------------------------------------------------------------------------
  56.  
  57. ImGui::Begin(" ", nullptr, flags);
  58. if (ImGui::BeginChild("Child4", ImVec2(160, 245), true, flags))
  59. if (ImGui::Button("Lua Management", ImVec2(145, 25)))
  60. Tabs = 8;
  61. if (ImGui::Button("Lua Creation", ImVec2(145, 25)))
  62. Tabs = 9;
  63. if (ImGui::Button("Lua Executation", ImVec2(145, 25)))
  64. Tabs = 10;
  65. if (ImGui::Button("Colors", ImVec2(145, 25)))
  66. Tabs = 11;
  67. if (ImGui::Button("Razer Chroma", ImVec2(145, 25)))
  68. Tabs = 12;
  69. ImGui::Text("---------------------", ImVec2(145, 25));
  70. if (ImGui::Button("Export LUA", ImVec2(145, 25)))
  71. Tabs = 13;
  72. if (ImGui::Button("Import LUA", ImVec2(145, 25)))
  73. Tabs = 14;
  74. ImGui::EndChild();
  75. ImGui::SameLine();
  76. ImGui::End();
  77.  
  78. //------------------------------------------------------------------------------
  79.  
  80. ImGui::Begin(" ", nullptr, flags);
  81. if (ImGui::BeginChild("Child5", ImVec2(695, 245), true, flags))
  82.  
  83. ImGui::Text("", ImVec2(145, 25));
  84.  
  85. ImGui::EndChild();
  86. }
  87. ImGui::End();
  88. }
  89.  
  90.  
  91. //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement