mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 23:41:18 +12:00
17 lines
No EOL
653 B
C
17 lines
No EOL
653 B
C
#pragma once
|
|
#include "imgui.h"
|
|
|
|
void ImRotateStart();
|
|
ImVec2 ImRotationCenter();
|
|
void ImRotateEnd(float rad, ImVec2 center = ImRotationCenter());
|
|
|
|
inline ImVec2 operator-(const ImVec2& l, const ImVec2& r) { return{ l.x - r.x, l.y - r.y }; }
|
|
inline bool operator<(const ImVec2& lhs, const ImVec2& rhs) { return lhs.x < rhs.x; }
|
|
inline bool operator>=(const ImVec2& lhs, const ImVec2& rhs) { return lhs.x >= rhs.x; }
|
|
|
|
bool ImGui_BeginPadDistinct(const char* name, bool* p_open, ImGuiWindowFlags flags, bool pad);
|
|
|
|
void ImGui_PrecacheFonts();
|
|
void ImGui_ClearFonts();
|
|
ImFont* ImGui_GetFont(float size);
|
|
void ImGui_UpdateWindowInformation(bool mainWindow); |