помогите мне, пожалуйста, пытаюсь поменять менюшку, хочу передвинуть кнопки в бок менюшки, но они не перемещаются по координате Y, переместились только так как вы можете видеть на скрине, может быть я что то не так делаю? мне надо их передвинуть вниз.
Посмотреть вложение 202138
static int x = 700, y = 900;
ImGui::SetWindowSize(ImVec2(ImFloor(x), ImFloor(900)));
ImGui::SetCursorPos({ 0, 100 });
/*if (logggo == nullptr)
D3DXCreateTextureFromFileInMemoryEx(g_pd3dDevice, &Logo, sizeof(Logo), 462, 462, D3DX_DEFAULT, 0, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &logggo);
if (RGBline == nullptr)
D3DXCreateTextureFromFileInMemoryEx(g_pd3dDevice, &RGBLINE, sizeof(RGBLINE), 462, 462, D3DX_DEFAULT, 0, D3DFMT_UNKNOWN, D3DPOOL_DEFAULT, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &RGBline);*/
ImDrawList* draw = ImGui::GetWindowDrawList();
ImVec2 pos(ImGui::GetWindowPos());
//draw->AddRectFilled(pos, ImVec2(pos.x + 600, pos.y + 580), ImColor(3, 3, 3)); //BG
//draw->AddImage(logggo, ImVec2(pos.x + 5, pos.y + 5), ImVec2(pos.x + 55, pos.y + 50));
//draw->AddImage(RGBline, ImVec2(pos.x, pos.y + 49), ImVec2(pos.x + 600, pos.y + 51));
ImGui::PushFont(two);
draw->AddText(ImVec2(pos.x + 50, pos.y + 15), ImColor(255, 255, 255), "MillyWare");
ImGui::PopFont();
ImGui::SetCursorPos({ 0, 51 });
ImGui::BeginGroup();
{
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(20);
if (ImGui::Tab("Legit", CurrentTAB == 0, 100))
CurrentTAB = 0;
ImGui::SameLine();
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(40);
if (ImGui::Tab("Rage", CurrentTAB == 1, 100))
CurrentTAB = 1;
ImGui::SameLine();
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(60);
if (ImGui::Tab("ESP", CurrentTAB == 2, 100))
CurrentTAB = 2;
ImGui::SameLine();
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(80);
if (ImGui::Tab("Chams", CurrentTAB == 3, 100))
CurrentTAB = 3;
ImGui::SameLine();
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(100);
if (ImGui::Tab("Misc", CurrentTAB == 4, 100))
CurrentTAB = 4;
ImGui::SameLine();
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(120);
if (ImGui::Tab("Config", CurrentTAB == 5, 100))
CurrentTAB = 5;
ImGui::SameLine();
ImGui::SetCursorPosX(600);
ImGui::SetCursorPosY(140);
if (ImGui::Tab("Other", CurrentTAB == 6, 100))
CurrentTAB = 6;
}
ImGui::EndGroup();
if (CurrentTAB == 0)
{
Legit();
}
if (CurrentTAB == 1)
{
Aimbot();
}
if (CurrentTAB == 2)
{
Visuals();
}
if (CurrentTAB == 3)
{
Misc();
}
if (CurrentTAB == 4)
{
Skins();
}
if (CurrentTAB == 5)
{
Configurations();
}
if (CurrentTAB == 6)
{
Other();
}
}
ImGui::End();
}