mirror of
https://github.com/joel16/VITAlbum.git
synced 2024-11-26 21:10:25 +00:00
21 lines
531 B
C++
21 lines
531 B
C++
#pragma once
|
|
|
|
#include "imgui.h"
|
|
#include "textures.h"
|
|
#include "windows.h"
|
|
|
|
namespace Popups {
|
|
inline void SetupPopup(const char *id) {
|
|
ImGui::OpenPopup(id);
|
|
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(15, 15));
|
|
ImGui::SetNextWindowPos(ImVec2(480.0f, 272.0f), ImGuiCond_Appearing, ImVec2(0.5f, 0.5f));
|
|
};
|
|
|
|
inline void ExitPopup(void) {
|
|
ImGui::EndPopup();
|
|
ImGui::PopStyleVar();
|
|
};
|
|
|
|
void ImageProperties(bool &state, WindowData &data, Tex &texture);
|
|
}
|