Go to the source code of this file.
|
void | ImGui_ImplGlfw_CharCallback (GLFWwindow *window, unsigned int c) |
|
static const char * | ImGui_ImplGlfw_GetClipboardText (void *user_data) |
|
static bool | ImGui_ImplGlfw_Init (GLFWwindow *window, bool install_callbacks, GlfwClientApi client_api) |
|
bool | ImGui_ImplGlfw_InitForOpenGL (GLFWwindow *window, bool install_callbacks) |
|
bool | ImGui_ImplGlfw_InitForVulkan (GLFWwindow *window, bool install_callbacks) |
|
void | ImGui_ImplGlfw_KeyCallback (GLFWwindow *window, int key, int scancode, int action, int mods) |
|
void | ImGui_ImplGlfw_MouseButtonCallback (GLFWwindow *window, int button, int action, int mods) |
|
void | ImGui_ImplGlfw_NewFrame () |
|
void | ImGui_ImplGlfw_ScrollCallback (GLFWwindow *window, double xoffset, double yoffset) |
|
static void | ImGui_ImplGlfw_SetClipboardText (void *user_data, const char *text) |
|
void | ImGui_ImplGlfw_Shutdown () |
|
static void | ImGui_ImplGlfw_UpdateGamepads () |
|
static void | ImGui_ImplGlfw_UpdateMouseCursor () |
|
static void | ImGui_ImplGlfw_UpdateMousePosAndButtons () |
|
◆ GLFW_HAS_NEW_CURSORS
#define GLFW_HAS_NEW_CURSORS (0) |
◆ GLFW_HAS_PER_MONITOR_DPI
◆ GLFW_HAS_VULKAN
◆ GLFW_HAS_WINDOW_ALPHA
◆ GLFW_HAS_WINDOW_HOVERED
◆ GLFW_HAS_WINDOW_TOPMOST
◆ MAP_ANALOG
#define MAP_ANALOG |
( |
|
NAV_NO, |
|
|
|
AXIS_NO, |
|
|
|
V0, |
|
|
|
V1 |
|
) |
| { float v = (axes_count > AXIS_NO) ? axes[AXIS_NO] : V0; v = (v - V0) / (V1 - V0); if (v > 1.0f) v = 1.0f; if (io.NavInputs[NAV_NO] < v) io.NavInputs[NAV_NO] = v; } |
◆ MAP_BUTTON
#define MAP_BUTTON |
( |
|
NAV_NO, |
|
|
|
BUTTON_NO |
|
) |
| { if (buttons_count > BUTTON_NO && buttons[BUTTON_NO] == GLFW_PRESS) io.NavInputs[NAV_NO] = 1.0f; } |
◆ GlfwClientApi
Enumerator |
---|
GlfwClientApi_Unknown | |
GlfwClientApi_OpenGL | |
GlfwClientApi_Vulkan | |
Definition at line 62 of file imgui_impl_glfw.cpp.
◆ ImGui_ImplGlfw_CharCallback()
void ImGui_ImplGlfw_CharCallback |
( |
GLFWwindow * |
window, |
|
|
unsigned int |
c |
|
) |
| |
◆ ImGui_ImplGlfw_GetClipboardText()
static const char* ImGui_ImplGlfw_GetClipboardText |
( |
void * |
user_data | ) |
|
|
static |
◆ ImGui_ImplGlfw_Init()
◆ ImGui_ImplGlfw_InitForOpenGL()
bool ImGui_ImplGlfw_InitForOpenGL |
( |
GLFWwindow * |
window, |
|
|
bool |
install_callbacks |
|
) |
| |
◆ ImGui_ImplGlfw_InitForVulkan()
bool ImGui_ImplGlfw_InitForVulkan |
( |
GLFWwindow * |
window, |
|
|
bool |
install_callbacks |
|
) |
| |
◆ ImGui_ImplGlfw_KeyCallback()
void ImGui_ImplGlfw_KeyCallback |
( |
GLFWwindow * |
window, |
|
|
int |
key, |
|
|
int |
scancode, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
◆ ImGui_ImplGlfw_MouseButtonCallback()
void ImGui_ImplGlfw_MouseButtonCallback |
( |
GLFWwindow * |
window, |
|
|
int |
button, |
|
|
int |
action, |
|
|
int |
mods |
|
) |
| |
◆ ImGui_ImplGlfw_NewFrame()
void ImGui_ImplGlfw_NewFrame |
( |
| ) |
|
◆ ImGui_ImplGlfw_ScrollCallback()
void ImGui_ImplGlfw_ScrollCallback |
( |
GLFWwindow * |
window, |
|
|
double |
xoffset, |
|
|
double |
yoffset |
|
) |
| |
◆ ImGui_ImplGlfw_SetClipboardText()
static void ImGui_ImplGlfw_SetClipboardText |
( |
void * |
user_data, |
|
|
const char * |
text |
|
) |
| |
|
static |
◆ ImGui_ImplGlfw_Shutdown()
void ImGui_ImplGlfw_Shutdown |
( |
| ) |
|
◆ ImGui_ImplGlfw_UpdateGamepads()
static void ImGui_ImplGlfw_UpdateGamepads |
( |
| ) |
|
|
static |
◆ ImGui_ImplGlfw_UpdateMouseCursor()
static void ImGui_ImplGlfw_UpdateMouseCursor |
( |
| ) |
|
|
static |
◆ ImGui_ImplGlfw_UpdateMousePosAndButtons()
static void ImGui_ImplGlfw_UpdateMousePosAndButtons |
( |
| ) |
|
|
static |
◆ g_ClientApi
◆ g_InstalledCallbacks
bool g_InstalledCallbacks = false |
|
static |
◆ g_MouseCursors
◆ g_MouseJustPressed
◆ g_PrevUserCallbackChar
◆ g_PrevUserCallbackKey
◆ g_PrevUserCallbackMousebutton
◆ g_PrevUserCallbackScroll
◆ g_Time
◆ g_Window