metaforce/imgui/imconfig_user.h

23 lines
981 B
C
Raw Normal View History

2021-05-24 14:25:31 -07:00
#include <cstdint>
2021-05-30 05:02:45 -07:00
#include <zeus/CVector2f.hpp>
2021-05-24 14:25:31 -07:00
#define IMGUI_DISABLE_OBSOLETE_FUNCTIONS
// Use 32-bit index type for boo
#define ImDrawIdx uint32_t
2021-05-26 21:56:25 -07:00
enum ImUserTextureID {
ImGuiUserTextureID_Atlas,
ImGuiUserTextureID_MetaforceIcon,
ImGuiUserTextureID_MAX,
};
#define ImTextureID ImUserTextureID
2021-05-30 05:02:45 -07:00
#define IM_VEC2_CLASS_EXTRA \
ImVec2(const zeus::CVector2f& v) { \
x = v.x(); \
y = v.y(); \
} \
operator zeus::CVector2f() const { return zeus::CVector2f{x, y}; }