78 lines
2.4 KiB
C++
78 lines
2.4 KiB
C++
// THIS FILE HAS BEEN AUTO-GENERATED BY THE 'DEAR BINDINGS' GENERATOR.
|
|
// **DO NOT EDIT DIRECTLY**
|
|
// https://github.com/dearimgui/dear_bindings
|
|
|
|
#include "imgui.h"
|
|
#include "imgui_impl_sdl3.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
// Wrap this in a namespace to keep it separate from the C++ API
|
|
namespace cimgui
|
|
{
|
|
#include "impl_sdl3.h"
|
|
}
|
|
|
|
// By-value struct conversions
|
|
|
|
// Function stubs
|
|
|
|
#ifndef IMGUI_DISABLE
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_InitForOpenGL(cimgui::SDL_Window* window, void* sdl_gl_context)
|
|
{
|
|
return ::ImGui_ImplSDL3_InitForOpenGL(reinterpret_cast<::SDL_Window*>(window), sdl_gl_context);
|
|
}
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_InitForVulkan(cimgui::SDL_Window* window)
|
|
{
|
|
return ::ImGui_ImplSDL3_InitForVulkan(reinterpret_cast<::SDL_Window*>(window));
|
|
}
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_InitForD3D(cimgui::SDL_Window* window)
|
|
{
|
|
return ::ImGui_ImplSDL3_InitForD3D(reinterpret_cast<::SDL_Window*>(window));
|
|
}
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_InitForMetal(cimgui::SDL_Window* window)
|
|
{
|
|
return ::ImGui_ImplSDL3_InitForMetal(reinterpret_cast<::SDL_Window*>(window));
|
|
}
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_InitForSDLRenderer(cimgui::SDL_Window* window, cimgui::SDL_Renderer* renderer)
|
|
{
|
|
return ::ImGui_ImplSDL3_InitForSDLRenderer(reinterpret_cast<::SDL_Window*>(window), reinterpret_cast<::SDL_Renderer*>(renderer));
|
|
}
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_InitForOther(cimgui::SDL_Window* window)
|
|
{
|
|
return ::ImGui_ImplSDL3_InitForOther(reinterpret_cast<::SDL_Window*>(window));
|
|
}
|
|
|
|
CIMGUI_IMPL_API void cimgui::cImGui_ImplSDL3_Shutdown(void)
|
|
{
|
|
::ImGui_ImplSDL3_Shutdown();
|
|
}
|
|
|
|
CIMGUI_IMPL_API void cimgui::cImGui_ImplSDL3_NewFrame(void)
|
|
{
|
|
::ImGui_ImplSDL3_NewFrame();
|
|
}
|
|
|
|
CIMGUI_IMPL_API bool cimgui::cImGui_ImplSDL3_ProcessEvent(const SDL_Event* event)
|
|
{
|
|
return ::ImGui_ImplSDL3_ProcessEvent(event);
|
|
}
|
|
|
|
CIMGUI_IMPL_API void cimgui::cImGui_ImplSDL3_SetGamepadMode(cimgui::ImGui_ImplSDL3_GamepadMode mode)
|
|
{
|
|
::ImGui_ImplSDL3_SetGamepadMode(static_cast<::ImGui_ImplSDL3_GamepadMode>(mode));
|
|
}
|
|
|
|
CIMGUI_IMPL_API void cimgui::cImGui_ImplSDL3_SetGamepadModeEx(cimgui::ImGui_ImplSDL3_GamepadMode mode, cimgui::SDL_Gamepad** manual_gamepads_array, int manual_gamepads_count)
|
|
{
|
|
::ImGui_ImplSDL3_SetGamepadMode(static_cast<::ImGui_ImplSDL3_GamepadMode>(mode), reinterpret_cast<::SDL_Gamepad**>(manual_gamepads_array), manual_gamepads_count);
|
|
}
|
|
|
|
#endif // #ifndef IMGUI_DISABLE
|