mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
18 lines
499 B
C++
18 lines
499 B
C++
#include "render.h"
|
|
|
|
int Render::ControlWindow() {
|
|
ImGui::PushStyleColor(ImGuiCol_MenuBarBg, ImVec4(0, 0, 0, 0));
|
|
static bool a, b, c, d, e;
|
|
ImGui::SetNextWindowPos(ImVec2(0, 0), ImGuiCond_Always);
|
|
ImGui::BeginChild("ControlWindow",
|
|
ImVec2(main_window_width_, menu_window_height_),
|
|
ImGuiChildFlags_Border, ImGuiWindowFlags_NoScrollbar);
|
|
|
|
ControlBar();
|
|
|
|
ImGui::SetWindowFontScale(1.0f);
|
|
ImGui::PopStyleColor();
|
|
ImGui::EndChild();
|
|
|
|
return 0;
|
|
} |