C++ ImGui Menu

Новичок
Статус
Оффлайн
Регистрация
24 Сен 2021
Сообщения
1
Реакции[?]
3
Поинты[?]
0
Before saying it is shit , think that it took me around 2-3 min to make.
People may get something out of this xd

Menu:
Пожалуйста, авторизуйтесь для просмотра ссылки.


Did not know how to set the white things on only if tab is open. Maybe someone can help me out here.

Code:


void InitStyle()
{
ImGui::StyleColorsDark();

auto& Style = ImGui::GetStyle();

Style.WindowPadding = ImVec2(12.000f, 6.000f);
Style.WindowRounding = 9.000f;
Style.WindowTitleAlign = ImVec2(0.500f, 0.500f);
Style.WindowMenuButtonPosition = 1;
Style.ChildRounding = 9.000f;
Style.PopupRounding = 9.000f;
Style.FrameRounding = 5.000f;
Style.GrabRounding = 9.000f;
Style.LogSliderDeadzone = 9.000f;
Style.TabRounding = 9.000f;
Style.TabBorderSize = 1.000f;


ImGuiIO& io = ImGui::GetIO();
io.Fonts->AddFontFromFileTTF("C:/Users/valen/Downloads/Fonts/calibrib.ttf", 18.000f);
}

void DrawMenu()
{
ImGui::SetNextWindowSize(ImVec2(666.000f, 666.000f), ImGuiCond_Once);
ImGui::Begin("hello world", NULL, 80299);

ImVec2 P1, P2;
ImDrawList* pDrawList;
const auto& CurrentWindowPos = ImGui::GetWindowPos();
const auto& pWindowDrawList = ImGui::GetWindowDrawList();
const auto& pBackgroundDrawList = ImGui::GetBackgroundDrawList();
const auto& pForegroundDrawList = ImGui::GetForegroundDrawList();

P1 = ImVec2(0.000f, 0.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(7777.000f, 999.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddRectFilledMultiColor(P1, P2,
ImColor(0.253f, 0.697f, 0.576f, 1.000f),
ImColor(0.073f, 0.560f, 0.887f, 1.000f),
ImColor(0.818f, 0.067f, 0.087f, 1.000f),
ImColor(0.156f, 0.098f, 0.840f, 1.000f));

P1 = ImVec2(0.000f, 10.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(100.000f, 100.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

P1 = ImVec2(100.000f, 101.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(3.000f, 200.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

ImGui::SetCursorPos(ImVec2(188.000f, 71.000f));
ImGui::Checkbox("Checkbox", &g_Config.Misc.varname);

ImGui::SetCursorPos(ImVec2(187.000f, 47.000f));
ImGui::Text("Main");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 110.000f));
ImGui::Combo("Combo", &g_Config.Misc.varname, "Hello\0World\0");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 156.000f));
ImGui::SliderInt("SliderInt", &g_Config.Misc.varname, 0, 100);

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 205.000f));
ImGui::InputText("TextInput", &g_Config.Misc.varname, IM_ARRAYSIZE(g_Config.Misc.varname));

ImGui::SetCursorPos(ImVec2(188.000f, 252.000f));
ImGui::Button("Button", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 2", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 3", ImVec2(100.000f, 0.000f));

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(416.000f, 157.000f));
ImGui::SliderFloat("SliderFloat", &g_Config.Misc.varname, 0.000f, 156.000f);

ImGui::SetCursorPos(ImVec2(58.000f, 62.000f));
ImGui::Button("AIMBOT", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(39.000f, 195.000f));
ImGui::Button("ANTIAIM", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(44.000f, 331.000f));
ImGui::Button("VISUALS", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(46.000f, 449.000f));
ImGui::Button("MISC", ImVec2(90.000f, 90.000f));

ImGui::End();
}

 
Пользователь
Статус
Оффлайн
Регистрация
28 Фев 2021
Сообщения
591
Реакции[?]
118
Поинты[?]
0
очередной раз убеждаюсь, что западное комьюнити не умеет делать меню
Поляк и Шизотерик не умеют 100%, про ламу ничего говорить не буду, чувак делает нормальное меню
 
Участник
Статус
Оффлайн
Регистрация
16 Июн 2017
Сообщения
825
Реакции[?]
179
Поинты[?]
2K
Поляк и Шизотерик не умеют 100%, про ламу ничего говорить не буду, чувак делает нормальное меню
я уверен на 100%, что ему делали меню на заказ.
взять из опыта, куча eu предпринимателей сотрудничают с русскими в плане дизайна и прочего.
 
Эксперт
Статус
Оффлайн
Регистрация
13 Сен 2020
Сообщения
1,415
Реакции[?]
712
Поинты[?]
9K
Before saying it is shit , think that it took me around 2-3 min to make.
People may get something out of this xd

Menu:
Пожалуйста, авторизуйтесь для просмотра ссылки.


Did not know how to set the white things on only if tab is open. Maybe someone can help me out here.

Code:


void InitStyle()
{
ImGui::StyleColorsDark();

auto& Style = ImGui::GetStyle();

Style.WindowPadding = ImVec2(12.000f, 6.000f);
Style.WindowRounding = 9.000f;
Style.WindowTitleAlign = ImVec2(0.500f, 0.500f);
Style.WindowMenuButtonPosition = 1;
Style.ChildRounding = 9.000f;
Style.PopupRounding = 9.000f;
Style.FrameRounding = 5.000f;
Style.GrabRounding = 9.000f;
Style.LogSliderDeadzone = 9.000f;
Style.TabRounding = 9.000f;
Style.TabBorderSize = 1.000f;


ImGuiIO& io = ImGui::GetIO();
io.Fonts->AddFontFromFileTTF("C:/Users/valen/Downloads/Fonts/calibrib.ttf", 18.000f);
}

void DrawMenu()
{
ImGui::SetNextWindowSize(ImVec2(666.000f, 666.000f), ImGuiCond_Once);
ImGui::Begin("hello world", NULL, 80299);

ImVec2 P1, P2;
ImDrawList* pDrawList;
const auto& CurrentWindowPos = ImGui::GetWindowPos();
const auto& pWindowDrawList = ImGui::GetWindowDrawList();
const auto& pBackgroundDrawList = ImGui::GetBackgroundDrawList();
const auto& pForegroundDrawList = ImGui::GetForegroundDrawList();

P1 = ImVec2(0.000f, 0.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(7777.000f, 999.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddRectFilledMultiColor(P1, P2,
ImColor(0.253f, 0.697f, 0.576f, 1.000f),
ImColor(0.073f, 0.560f, 0.887f, 1.000f),
ImColor(0.818f, 0.067f, 0.087f, 1.000f),
ImColor(0.156f, 0.098f, 0.840f, 1.000f));

P1 = ImVec2(0.000f, 10.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(100.000f, 100.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

P1 = ImVec2(100.000f, 101.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(3.000f, 200.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

ImGui::SetCursorPos(ImVec2(188.000f, 71.000f));
ImGui::Checkbox("Checkbox", &g_Config.Misc.varname);

ImGui::SetCursorPos(ImVec2(187.000f, 47.000f));
ImGui::Text("Main");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 110.000f));
ImGui::Combo("Combo", &g_Config.Misc.varname, "Hello\0World\0");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 156.000f));
ImGui::SliderInt("SliderInt", &g_Config.Misc.varname, 0, 100);

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 205.000f));
ImGui::InputText("TextInput", &g_Config.Misc.varname, IM_ARRAYSIZE(g_Config.Misc.varname));

ImGui::SetCursorPos(ImVec2(188.000f, 252.000f));
ImGui::Button("Button", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 2", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 3", ImVec2(100.000f, 0.000f));

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(416.000f, 157.000f));
ImGui::SliderFloat("SliderFloat", &g_Config.Misc.varname, 0.000f, 156.000f);

ImGui::SetCursorPos(ImVec2(58.000f, 62.000f));
ImGui::Button("AIMBOT", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(39.000f, 195.000f));
ImGui::Button("ANTIAIM", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(44.000f, 331.000f));
ImGui::Button("VISUALS", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(46.000f, 449.000f));
ImGui::Button("MISC", ImVec2(90.000f, 90.000f));

ImGui::End();
}

useless :(
 
OllyDbg
Пользователь
Статус
Оффлайн
Регистрация
24 Дек 2018
Сообщения
290
Реакции[?]
38
Поинты[?]
2K
Before saying it is shit , think that it took me around 2-3 min to make.
People may get something out of this xd

Menu:
Пожалуйста, авторизуйтесь для просмотра ссылки.


Did not know how to set the white things on only if tab is open. Maybe someone can help me out here.

Code:


void InitStyle()
{
ImGui::StyleColorsDark();

auto& Style = ImGui::GetStyle();

Style.WindowPadding = ImVec2(12.000f, 6.000f);
Style.WindowRounding = 9.000f;
Style.WindowTitleAlign = ImVec2(0.500f, 0.500f);
Style.WindowMenuButtonPosition = 1;
Style.ChildRounding = 9.000f;
Style.PopupRounding = 9.000f;
Style.FrameRounding = 5.000f;
Style.GrabRounding = 9.000f;
Style.LogSliderDeadzone = 9.000f;
Style.TabRounding = 9.000f;
Style.TabBorderSize = 1.000f;


ImGuiIO& io = ImGui::GetIO();
io.Fonts->AddFontFromFileTTF("C:/Users/valen/Downloads/Fonts/calibrib.ttf", 18.000f);
}

void DrawMenu()
{
ImGui::SetNextWindowSize(ImVec2(666.000f, 666.000f), ImGuiCond_Once);
ImGui::Begin("hello world", NULL, 80299);

ImVec2 P1, P2;
ImDrawList* pDrawList;
const auto& CurrentWindowPos = ImGui::GetWindowPos();
const auto& pWindowDrawList = ImGui::GetWindowDrawList();
const auto& pBackgroundDrawList = ImGui::GetBackgroundDrawList();
const auto& pForegroundDrawList = ImGui::GetForegroundDrawList();

P1 = ImVec2(0.000f, 0.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(7777.000f, 999.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddRectFilledMultiColor(P1, P2,
ImColor(0.253f, 0.697f, 0.576f, 1.000f),
ImColor(0.073f, 0.560f, 0.887f, 1.000f),
ImColor(0.818f, 0.067f, 0.087f, 1.000f),
ImColor(0.156f, 0.098f, 0.840f, 1.000f));

P1 = ImVec2(0.000f, 10.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(100.000f, 100.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

P1 = ImVec2(100.000f, 101.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(3.000f, 200.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

ImGui::SetCursorPos(ImVec2(188.000f, 71.000f));
ImGui::Checkbox("Checkbox", &g_Config.Misc.varname);

ImGui::SetCursorPos(ImVec2(187.000f, 47.000f));
ImGui::Text("Main");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 110.000f));
ImGui::Combo("Combo", &g_Config.Misc.varname, "Hello\0World\0");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 156.000f));
ImGui::SliderInt("SliderInt", &g_Config.Misc.varname, 0, 100);

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 205.000f));
ImGui::InputText("TextInput", &g_Config.Misc.varname, IM_ARRAYSIZE(g_Config.Misc.varname));

ImGui::SetCursorPos(ImVec2(188.000f, 252.000f));
ImGui::Button("Button", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 2", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 3", ImVec2(100.000f, 0.000f));

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(416.000f, 157.000f));
ImGui::SliderFloat("SliderFloat", &g_Config.Misc.varname, 0.000f, 156.000f);

ImGui::SetCursorPos(ImVec2(58.000f, 62.000f));
ImGui::Button("AIMBOT", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(39.000f, 195.000f));
ImGui::Button("ANTIAIM", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(44.000f, 331.000f));
ImGui::Button("VISUALS", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(46.000f, 449.000f));
ImGui::Button("MISC", ImVec2(90.000f, 90.000f));

ImGui::End();
}

code cringe
 
Пользователь
Статус
Оффлайн
Регистрация
15 Апр 2020
Сообщения
236
Реакции[?]
104
Поинты[?]
0
Ok I don't get the point of releasing this
Yeah u tell him ?
Before saying it is shit , think that it took me around 2-3 min to make.
People may get something out of this xd

Menu:
Пожалуйста, авторизуйтесь для просмотра ссылки.


Did not know how to set the white things on only if tab is open. Maybe someone can help me out here.

Code:


void InitStyle()
{
ImGui::StyleColorsDark();

auto& Style = ImGui::GetStyle();

Style.WindowPadding = ImVec2(12.000f, 6.000f);
Style.WindowRounding = 9.000f;
Style.WindowTitleAlign = ImVec2(0.500f, 0.500f);
Style.WindowMenuButtonPosition = 1;
Style.ChildRounding = 9.000f;
Style.PopupRounding = 9.000f;
Style.FrameRounding = 5.000f;
Style.GrabRounding = 9.000f;
Style.LogSliderDeadzone = 9.000f;
Style.TabRounding = 9.000f;
Style.TabBorderSize = 1.000f;


ImGuiIO& io = ImGui::GetIO();
io.Fonts->AddFontFromFileTTF("C:/Users/valen/Downloads/Fonts/calibrib.ttf", 18.000f);
}

void DrawMenu()
{
ImGui::SetNextWindowSize(ImVec2(666.000f, 666.000f), ImGuiCond_Once);
ImGui::Begin("hello world", NULL, 80299);

ImVec2 P1, P2;
ImDrawList* pDrawList;
const auto& CurrentWindowPos = ImGui::GetWindowPos();
const auto& pWindowDrawList = ImGui::GetWindowDrawList();
const auto& pBackgroundDrawList = ImGui::GetBackgroundDrawList();
const auto& pForegroundDrawList = ImGui::GetForegroundDrawList();

P1 = ImVec2(0.000f, 0.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(7777.000f, 999.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddRectFilledMultiColor(P1, P2,
ImColor(0.253f, 0.697f, 0.576f, 1.000f),
ImColor(0.073f, 0.560f, 0.887f, 1.000f),
ImColor(0.818f, 0.067f, 0.087f, 1.000f),
ImColor(0.156f, 0.098f, 0.840f, 1.000f));

P1 = ImVec2(0.000f, 10.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(100.000f, 100.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

P1 = ImVec2(100.000f, 101.000f);
P1.x += CurrentWindowPos.x;
P1.y += CurrentWindowPos.y;
P2 = ImVec2(3.000f, 200.000f);
P2.x += CurrentWindowPos.x;
P2.y += CurrentWindowPos.y;
pDrawList = pWindowDrawList;
pDrawList->AddLine(P1, P2, ImColor(1.000f, 1.000f, 1.000f, 1.000f), 1.000f);

ImGui::SetCursorPos(ImVec2(188.000f, 71.000f));
ImGui::Checkbox("Checkbox", &g_Config.Misc.varname);

ImGui::SetCursorPos(ImVec2(187.000f, 47.000f));
ImGui::Text("Main");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 110.000f));
ImGui::Combo("Combo", &g_Config.Misc.varname, "Hello\0World\0");

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 156.000f));
ImGui::SliderInt("SliderInt", &g_Config.Misc.varname, 0, 100);

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(188.000f, 205.000f));
ImGui::InputText("TextInput", &g_Config.Misc.varname, IM_ARRAYSIZE(g_Config.Misc.varname));

ImGui::SetCursorPos(ImVec2(188.000f, 252.000f));
ImGui::Button("Button", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 2", ImVec2(100.000f, 0.000f));

ImGui::SameLine();
ImGui::Button("Button 3", ImVec2(100.000f, 0.000f));

ImGui::SetNextItemWidth(150.000f);
ImGui::SetCursorPos(ImVec2(416.000f, 157.000f));
ImGui::SliderFloat("SliderFloat", &g_Config.Misc.varname, 0.000f, 156.000f);

ImGui::SetCursorPos(ImVec2(58.000f, 62.000f));
ImGui::Button("AIMBOT", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(39.000f, 195.000f));
ImGui::Button("ANTIAIM", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(44.000f, 331.000f));
ImGui::Button("VISUALS", ImVec2(90.000f, 90.000f));

ImGui::SetCursorPos(ImVec2(46.000f, 449.000f));
ImGui::Button("MISC", ImVec2(90.000f, 90.000f));

ImGui::End();
}

Y did u draw tabs separate? Just do begin group and do pos once ?‍♂
 
ЧВК EB_LAN
Забаненный
Статус
Оффлайн
Регистрация
12 Янв 2019
Сообщения
838
Реакции[?]
298
Поинты[?]
17K
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Фу нахуй, кусок имгуя с ебучим градиент бекграундом (ещё бы лгбт цвета бы поставил ещё лучше было бы.)...
 
Сверху Снизу