openMSX
|
#include "imgui.h"
#include "imgui_impl_sdl2.h"
#include <SDL.h>
#include <SDL_syswm.h>
Go to the source code of this file.
Classes | |
struct | ImGui_ImplSDL2_Data |
struct | ImGui_ImplSDL2_ViewportData |
Macros | |
#define | SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 0 |
#define | SDL_HAS_WINDOW_ALPHA SDL_VERSION_ATLEAST(2,0,5) |
#define | SDL_HAS_ALWAYS_ON_TOP SDL_VERSION_ATLEAST(2,0,5) |
#define | SDL_HAS_USABLE_DISPLAY_BOUNDS SDL_VERSION_ATLEAST(2,0,5) |
#define | SDL_HAS_PER_MONITOR_DPI SDL_VERSION_ATLEAST(2,0,4) |
#define | SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6) |
#define | SDL_HAS_DISPLAY_EVENT SDL_VERSION_ATLEAST(2,0,9) |
Functions | |
bool | ImGui_ImplSDL2_ProcessEvent (const SDL_Event *event) |
bool | ImGui_ImplSDL2_InitForOpenGL (SDL_Window *window, void *sdl_gl_context) |
bool | ImGui_ImplSDL2_InitForVulkan (SDL_Window *window) |
bool | ImGui_ImplSDL2_InitForD3D (SDL_Window *window) |
bool | ImGui_ImplSDL2_InitForMetal (SDL_Window *window) |
bool | ImGui_ImplSDL2_InitForSDLRenderer (SDL_Window *window, SDL_Renderer *renderer) |
bool | ImGui_ImplSDL2_InitForOther (SDL_Window *window) |
void | ImGui_ImplSDL2_Shutdown () |
void | ImGui_ImplSDL2_SetGamepadMode (ImGui_ImplSDL2_GamepadMode mode, struct _SDL_GameController **manual_gamepads_array, int manual_gamepads_count) |
void | ImGui_ImplSDL2_NewFrame () |
#define SDL_HAS_ALWAYS_ON_TOP SDL_VERSION_ATLEAST(2,0,5) |
Definition at line 114 of file imgui_impl_sdl2.cc.
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 0 |
Definition at line 111 of file imgui_impl_sdl2.cc.
#define SDL_HAS_DISPLAY_EVENT SDL_VERSION_ATLEAST(2,0,9) |
Definition at line 118 of file imgui_impl_sdl2.cc.
#define SDL_HAS_PER_MONITOR_DPI SDL_VERSION_ATLEAST(2,0,4) |
Definition at line 116 of file imgui_impl_sdl2.cc.
#define SDL_HAS_USABLE_DISPLAY_BOUNDS SDL_VERSION_ATLEAST(2,0,5) |
Definition at line 115 of file imgui_impl_sdl2.cc.
#define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6) |
Definition at line 117 of file imgui_impl_sdl2.cc.
#define SDL_HAS_WINDOW_ALPHA SDL_VERSION_ATLEAST(2,0,5) |
Definition at line 113 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForD3D | ( | SDL_Window * | window | ) |
Definition at line 584 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForMetal | ( | SDL_Window * | window | ) |
Definition at line 592 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForOpenGL | ( | SDL_Window * | window, |
void * | sdl_gl_context | ||
) |
Definition at line 567 of file imgui_impl_sdl2.cc.
Referenced by openmsx::VisibleSurface::VisibleSurface().
bool ImGui_ImplSDL2_InitForOther | ( | SDL_Window * | window | ) |
Definition at line 602 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForSDLRenderer | ( | SDL_Window * | window, |
SDL_Renderer * | renderer | ||
) |
Definition at line 597 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForVulkan | ( | SDL_Window * | window | ) |
Definition at line 572 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::UseVulkan.
void ImGui_ImplSDL2_NewFrame | ( | ) |
Definition at line 857 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::MouseButtonsDown, ImGui_ImplSDL2_Data::MouseCanReportHoveredViewport, ImGui_ImplSDL2_Data::MouseLastLeaveFrame, ImGui_ImplSDL2_Data::MouseWindowID, ImGui_ImplSDL2_Data::Renderer, ImGui_ImplSDL2_Data::Time, ImGui_ImplSDL2_Data::WantUpdateMonitors, and ImGui_ImplSDL2_Data::Window.
bool ImGui_ImplSDL2_ProcessEvent | ( | const SDL_Event * | event | ) |
Definition at line 336 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::MouseButtonsDown, ImGui_ImplSDL2_Data::MouseLastLeaveFrame, ImGui_ImplSDL2_Data::MouseWindowID, ImGui_ImplSDL2_Data::WantUpdateGamepadsList, and ImGui_ImplSDL2_Data::WantUpdateMonitors.
void ImGui_ImplSDL2_SetGamepadMode | ( | ImGui_ImplSDL2_GamepadMode | mode, |
struct _SDL_GameController ** | manual_gamepads_array, | ||
int | manual_gamepads_count | ||
) |
Definition at line 728 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::GamepadMode, ImGui_ImplSDL2_Data::Gamepads, and ImGui_ImplSDL2_Data::WantUpdateGamepadsList.
void ImGui_ImplSDL2_Shutdown | ( | ) |
Definition at line 609 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::ClipboardTextData, and ImGui_ImplSDL2_Data::MouseCursors.
Referenced by openmsx::VisibleSurface::~VisibleSurface().