Image manipulation


/ Published in: C++
Save to your folder(s)

To Manipulate Certain Images.


Copy this code and paste it in your HTML
  1. void RenderGUI()
  2. {
  3. ImGuiStyle& style = ImGui::GetStyle();
  4. style.Colors[ImGuiCol_Text] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f);
  5. style.Colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f);
  6. style.Colors[ImGuiCol_WindowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.70f);
  7. style.Colors[ImGuiCol_ChildWindowBg] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
  8. style.Colors[ImGuiCol_PopupBg] = ImVec4(0.05f, 0.05f, 0.10f, 0.90f);
  9. style.Colors[ImGuiCol_Border] = ImVec4(0.70f, 0.70f, 0.70f, 0.65f);
  10. style.Colors[ImGuiCol_BorderShadow] = ImVec4(0.00f, 0.00f, 0.00f, 0.00f);
  11. style.Colors[ImGuiCol_FrameBg] = ImVec4(0.80f, 0.80f, 0.80f, 0.30f);
  12. style.Colors[ImGuiCol_FrameBgHovered] = ImVec4(0.90f, 0.80f, 0.80f, 0.40f);
  13. style.Colors[ImGuiCol_FrameBgActive] = ImVec4(0.90f, 0.65f, 0.65f, 0.45f);
  14. style.Colors[ImGuiCol_TitleBg] = ImVec4(0.69f, 0.08f, 0.00f, 1.00f);
  15. style.Colors[ImGuiCol_TitleBgCollapsed] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
  16. style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.69f, 0.08f, 0.00f, 1.00f);
  17. style.Colors[ImGuiCol_MenuBarBg] = ImVec4(0.42f, 0.00f, 0.00f, 0.78f);
  18. style.Colors[ImGuiCol_ScrollbarBg] = ImVec4(0.20f, 0.25f, 0.30f, 0.60f);
  19. style.Colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.51f, 0.00f, 0.00f, 0.78f);
  20. style.Colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.84f, 0.01f, 0.01f, 0.59f);
  21. style.Colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
  22. style.Colors[ImGuiCol_ComboBg] = ImVec4(0.20f, 0.20f, 0.20f, 0.99f);
  23. style.Colors[ImGuiCol_CheckMark] = ImVec4(0.90f, 0.90f, 0.90f, 0.50f);
  24. style.Colors[ImGuiCol_SliderGrab] = ImVec4(1.00f, 1.00f, 1.00f, 0.30f);
  25. style.Colors[ImGuiCol_SliderGrabActive] = ImVec4(0.80f, 0.50f, 0.50f, 1.00f);
  26. style.Colors[ImGuiCol_Button] = ImVec4(0.51f, 0.00f, 0.00f, 0.78f);
  27. style.Colors[ImGuiCol_ButtonHovered] = ImVec4(0.67f, 0.40f, 0.40f, 1.00f);
  28. style.Colors[ImGuiCol_ButtonActive] = ImVec4(0.80f, 0.50f, 0.50f, 1.00f);
  29. style.Colors[ImGuiCol_Header] = ImVec4(0.84f, 0.01f, 0.01f, 0.59f);
  30. style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.59f, 0.00f, 0.00f, 0.59f);
  31. style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.84f, 0.01f, 0.01f, 0.59f);
  32. style.Colors[ImGuiCol_Column] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f);
  33. style.Colors[ImGuiCol_ColumnHovered] = ImVec4(0.70f, 0.60f, 0.60f, 1.00f);
  34. style.Colors[ImGuiCol_ColumnActive] = ImVec4(0.90f, 0.70f, 0.70f, 1.00f);
  35. style.Colors[ImGuiCol_ResizeGrip] = ImVec4(1.00f, 1.00f, 1.00f, 0.30f);
  36. style.Colors[ImGuiCol_ResizeGripHovered] = ImVec4(1.00f, 1.00f, 1.00f, 0.60f);
  37. style.Colors[ImGuiCol_ResizeGripActive] = ImVec4(1.00f, 1.00f, 1.00f, 0.90f);
  38. style.Colors[ImGuiCol_CloseButton] = ImVec4(0.50f, 0.50f, 0.90f, 0.50f);
  39. style.Colors[ImGuiCol_CloseButtonHovered] = ImVec4(0.70f, 0.70f, 0.90f, 0.60f);
  40. style.Colors[ImGuiCol_CloseButtonActive] = ImVec4(0.70f, 0.70f, 0.70f, 1.00f);
  41. style.Colors[ImGuiCol_PlotLines] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
  42. style.Colors[ImGuiCol_PlotLinesHovered] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f);
  43. style.Colors[ImGuiCol_PlotHistogram] = ImVec4(0.90f, 0.70f, 0.00f, 1.00f);
  44. style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(1.00f, 0.60f, 0.00f, 1.00f);
  45. style.Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.00f, 0.00f, 1.00f, 0.35f);
  46. style.Colors[ImGuiCol_ModalWindowDarkening] = ImVec4(0.20f, 0.20f, 0.20f, 0.35f);
  47.  
  48.  
  49.  
  50.  
  51. ImGui::SetNextWindowSize(ImVec2(550, 680), ImGuiSetCond_FirstUseEver);
  52. ImGui::Begin("vlad1337 / TwisTy", p_open = NULL, ImGuiWindowFlags_NoResize);
  53. ImGui::BeginMenuBar();
  54. if (ImGui::MenuItem("Help"))
  55. {
  56.  
  57. }
  58.  
  59. if (ImGui::CollapsingHeader("Aimbot TAB"))
  60. {
  61. ImGui::Checkbox("Aimbot", &aimbotvar);
  62. ImGui::Checkbox("Infinite Ammo", &infammovar);
  63.  
  64. }
  65. if (ImGui::CollapsingHeader("Visual TAB"))
  66. {
  67. ImGui::Checkbox("Wallhack", &wall);
  68. ImGui::Checkbox("Thermal Vision", &thermalvisionvar);
  69. }
  70. if (ImGui::CollapsingHeader("Misc TAB"))
  71. {
  72. ImGui::Checkbox("Infinite Run", &irun);
  73. ImGui::Checkbox("Infinite Oxygen", &ioxygen);
  74. ImGui::Checkbox("GodMode", &godmodevar);
  75. ImGui::Checkbox("WaterCar", &watercarvar);
  76. ImGui::Checkbox("Mega Jump", &megajumpvar);
  77. ImGui::Checkbox("Mousefix", &mousefixvar);
  78. ImGui::Checkbox("Rotation", &rotationvar);
  79. ImGui::Checkbox("FPS Unlocker", &fpsunlockvar);
  80. }
  81. ImGui::End();
  82.  
  83. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.