Convert rlImGui to C

This commit is contained in:
2023-11-11 05:49:43 +01:00
parent 2f358ef5f7
commit 7513ecc7eb
20 changed files with 712 additions and 7062 deletions

View File

@@ -41,13 +41,14 @@
// - Introduction, links and more at the top of imgui.cpp
#pragma once
#include "imgui.h" // IMGUI_IMPL_API
#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS
#include "cimgui.h" // IMGUI_IMPL_API
#ifndef IMGUI_DISABLE
IMGUI_IMPL_API bool ImGui_ImplRaylib_Init();
IMGUI_IMPL_API void ImGui_ImplRaylib_Shutdown();
IMGUI_IMPL_API void ImGui_ImplRaylib_NewFrame();
IMGUI_IMPL_API void ImGui_ImplRaylib_RenderDrawData(ImDrawData* draw_data);
IMGUI_IMPL_API bool ImGui_ImplRaylib_ProcessEvents();
bool ImGui_ImplRaylib_Init();
void ImGui_ImplRaylib_Shutdown();
void ImGui_ImplRaylib_NewFrame();
void ImGui_ImplRaylib_RenderDrawData(ImDrawData* draw_data);
bool ImGui_ImplRaylib_ProcessEvents();
#endif // #ifndef IMGUI_DISABLE