Macros | Functions | Variables
imgui_impl_glfw.cpp File Reference
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include <GLFW/glfw3.h>
Include dependency graph for imgui_impl_glfw.cpp:

Go to the source code of this file.

Macros

#define OFFSETOF(TYPE, ELEMENT)   ((size_t)&(((TYPE *)0)->ELEMENT))
 

Functions

void ImGui_ImplGlfw_CharCallback (GLFWwindow *, unsigned int c)
 
bool ImGui_ImplGlfw_CreateDeviceObjects ()
 
static const char * ImGui_ImplGlfw_GetClipboardText ()
 
bool ImGui_ImplGlfw_Init (GLFWwindow *window, bool install_callbacks)
 
void ImGui_ImplGlfw_InvalidateDeviceObjects ()
 
void ImGui_ImplGlFw_KeyCallback (GLFWwindow *, int key, int, int action, int mods)
 
void ImGui_ImplGlfw_MouseButtonCallback (GLFWwindow *, int button, int action, int)
 
void ImGui_ImplGlfw_NewFrame (float scale_factor)
 
void ImGui_ImplGlfw_RenderDrawLists (ImDrawData *draw_data)
 
void ImGui_ImplGlfw_ScrollCallback (GLFWwindow *, double, double yoffset)
 
static void ImGui_ImplGlfw_SetClipboardText (const char *text)
 
void ImGui_ImplGlfw_Shutdown ()
 

Variables

static GLuint g_FontTexture = 0
 
static bool g_MousePressed [3] = { false, false, false }
 
static float g_MouseWheel = 0.0f
 
static double g_Time = 0.0f
 
static GLFWwindowg_Window = NULL
 

Macro Definition Documentation

#define OFFSETOF (   TYPE,
  ELEMENT 
)    ((size_t)&(((TYPE *)0)->ELEMENT))

Function Documentation

void ImGui_ImplGlfw_CharCallback ( GLFWwindow ,
unsigned int  c 
)

Definition at line 149 of file imgui_impl_glfw.cpp.

bool ImGui_ImplGlfw_CreateDeviceObjects ( )

Definition at line 156 of file imgui_impl_glfw.cpp.

static const char* ImGui_ImplGlfw_GetClipboardText ( )
static

Definition at line 113 of file imgui_impl_glfw.cpp.

bool ImGui_ImplGlfw_Init ( GLFWwindow window,
bool  install_callbacks 
)

Definition at line 192 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlfw_InvalidateDeviceObjects ( )

Definition at line 182 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlFw_KeyCallback ( GLFWwindow ,
int  key,
int  ,
int  action,
int  mods 
)

Definition at line 134 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlfw_MouseButtonCallback ( GLFWwindow ,
int  button,
int  action,
int   
)

Definition at line 123 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlfw_NewFrame ( float  scale_factor)

Definition at line 241 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlfw_RenderDrawLists ( ImDrawData draw_data)

Definition at line 35 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlfw_ScrollCallback ( GLFWwindow ,
double  ,
double  yoffset 
)

Definition at line 129 of file imgui_impl_glfw.cpp.

static void ImGui_ImplGlfw_SetClipboardText ( const char *  text)
static

Definition at line 118 of file imgui_impl_glfw.cpp.

void ImGui_ImplGlfw_Shutdown ( )

Definition at line 235 of file imgui_impl_glfw.cpp.

Variable Documentation

GLuint g_FontTexture = 0
static

Definition at line 30 of file imgui_impl_glfw.cpp.

bool g_MousePressed[3] = { false, false, false }
static

Definition at line 28 of file imgui_impl_glfw.cpp.

float g_MouseWheel = 0.0f
static

Definition at line 29 of file imgui_impl_glfw.cpp.

double g_Time = 0.0f
static

Definition at line 27 of file imgui_impl_glfw.cpp.

GLFWwindow* g_Window = NULL
static

Definition at line 26 of file imgui_impl_glfw.cpp.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:26