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) |
#define | SDL_HAS_SHOW_WINDOW_ACTIVATION_HINT SDL_VERSION_ATLEAST(2,0,18) |
Functions | |
ImGuiKey | ImGui_ImplSDL2_KeyEventToImGuiKey (SDL_Keycode keycode, SDL_Scancode scancode) |
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 122 of file imgui_impl_sdl2.cc.
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 0 |
Definition at line 119 of file imgui_impl_sdl2.cc.
#define SDL_HAS_DISPLAY_EVENT SDL_VERSION_ATLEAST(2,0,9) |
Definition at line 126 of file imgui_impl_sdl2.cc.
#define SDL_HAS_PER_MONITOR_DPI SDL_VERSION_ATLEAST(2,0,4) |
Definition at line 124 of file imgui_impl_sdl2.cc.
#define SDL_HAS_SHOW_WINDOW_ACTIVATION_HINT SDL_VERSION_ATLEAST(2,0,18) |
Definition at line 127 of file imgui_impl_sdl2.cc.
#define SDL_HAS_USABLE_DISPLAY_BOUNDS SDL_VERSION_ATLEAST(2,0,5) |
Definition at line 123 of file imgui_impl_sdl2.cc.
#define SDL_HAS_VULKAN SDL_VERSION_ATLEAST(2,0,6) |
Definition at line 125 of file imgui_impl_sdl2.cc.
#define SDL_HAS_WINDOW_ALPHA SDL_VERSION_ATLEAST(2,0,5) |
Definition at line 121 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForD3D | ( | SDL_Window * | window | ) |
Definition at line 614 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForMetal | ( | SDL_Window * | window | ) |
Definition at line 622 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForOpenGL | ( | SDL_Window * | window, |
void * | sdl_gl_context | ||
) |
Definition at line 597 of file imgui_impl_sdl2.cc.
Referenced by openmsx::VisibleSurface::VisibleSurface().
bool ImGui_ImplSDL2_InitForOther | ( | SDL_Window * | window | ) |
Definition at line 632 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForSDLRenderer | ( | SDL_Window * | window, |
SDL_Renderer * | renderer | ||
) |
Definition at line 627 of file imgui_impl_sdl2.cc.
bool ImGui_ImplSDL2_InitForVulkan | ( | SDL_Window * | window | ) |
Definition at line 602 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::UseVulkan.
ImGuiKey ImGui_ImplSDL2_KeyEventToImGuiKey | ( | SDL_Keycode | keycode, |
SDL_Scancode | scancode | ||
) |
Definition at line 206 of file imgui_impl_sdl2.cc.
Referenced by ImGui_ImplSDL2_ProcessEvent().
void ImGui_ImplSDL2_NewFrame | ( | ) |
Definition at line 890 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 353 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_KeyEventToImGuiKey(), 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 757 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 639 of file imgui_impl_sdl2.cc.
References ImGui_ImplSDL2_Data::ClipboardTextData, and ImGui_ImplSDL2_Data::MouseCursors.
Referenced by openmsx::VisibleSurface::~VisibleSurface().