Classes | Functions | Variables
events.c File Reference
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <locale.h>
#include "getopt.h"
Include dependency graph for events.c:

Go to the source code of this file.

Classes

struct  Slot
 

Functions

static void char_callback (GLFWwindow *window, unsigned int codepoint)
 
static void char_mods_callback (GLFWwindow *window, unsigned int codepoint, int mods)
 
static void cursor_enter_callback (GLFWwindow *window, int entered)
 
static void cursor_position_callback (GLFWwindow *window, double x, double y)
 
static void drop_callback (GLFWwindow *window, int count, const char **paths)
 
static void error_callback (int error, const char *description)
 
static void framebuffer_size_callback (GLFWwindow *window, int width, int height)
 
static const char * get_action_name (int action)
 
static const char * get_button_name (int button)
 
static const char * get_character_string (int codepoint)
 
static const char * get_key_name (int key)
 
static const char * get_mods_name (int mods)
 
static void joystick_callback (int jid, int event)
 
static void key_callback (GLFWwindow *window, int key, int scancode, int action, int mods)
 
int main (int argc, char **argv)
 
static void monitor_callback (GLFWmonitor *monitor, int event)
 
static void mouse_button_callback (GLFWwindow *window, int button, int action, int mods)
 
static void scroll_callback (GLFWwindow *window, double x, double y)
 
static void usage (void)
 
static void window_close_callback (GLFWwindow *window)
 
static void window_content_scale_callback (GLFWwindow *window, float xscale, float yscale)
 
static void window_focus_callback (GLFWwindow *window, int focused)
 
static void window_iconify_callback (GLFWwindow *window, int iconified)
 
static void window_maximize_callback (GLFWwindow *window, int maximized)
 
static void window_pos_callback (GLFWwindow *window, int x, int y)
 
static void window_refresh_callback (GLFWwindow *window)
 
static void window_size_callback (GLFWwindow *window, int width, int height)
 

Variables

static unsigned int counter = 0
 

Function Documentation

static void char_callback ( GLFWwindow window,
unsigned int  codepoint 
)
static

Definition at line 424 of file events.c.

static void char_mods_callback ( GLFWwindow window,
unsigned int  codepoint,
int  mods 
)
static

Definition at line 432 of file events.c.

static void cursor_enter_callback ( GLFWwindow window,
int  entered 
)
static

Definition at line 362 of file events.c.

static void cursor_position_callback ( GLFWwindow window,
double  x,
double  y 
)
static

Definition at line 355 of file events.c.

static void drop_callback ( GLFWwindow window,
int  count,
const char **  paths 
)
static

Definition at line 441 of file events.c.

static void error_callback ( int  error,
const char *  description 
)
static

Definition at line 268 of file events.c.

static void framebuffer_size_callback ( GLFWwindow window,
int  width,
int  height 
)
static

Definition at line 287 of file events.c.

static const char* get_action_name ( int  action)
static

Definition at line 196 of file events.c.

static const char* get_button_name ( int  button)
static

Definition at line 211 of file events.c.

static const char* get_character_string ( int  codepoint)
static

Definition at line 255 of file events.c.

static const char* get_key_name ( int  key)
static

Definition at line 64 of file events.c.

static const char* get_mods_name ( int  mods)
static

Definition at line 230 of file events.c.

static void joystick_callback ( int  jid,
int  event 
)
static

Definition at line 480 of file events.c.

static void key_callback ( GLFWwindow window,
int  key,
int  scancode,
int  action,
int  mods 
)
static

Definition at line 377 of file events.c.

int main ( int  argc,
char **  argv 
)

Definition at line 505 of file events.c.

static void monitor_callback ( GLFWmonitor monitor,
int  event 
)
static

Definition at line 453 of file events.c.

static void mouse_button_callback ( GLFWwindow window,
int  button,
int  action,
int  mods 
)
static

Definition at line 345 of file events.c.

static void scroll_callback ( GLFWwindow window,
double  x,
double  y 
)
static

Definition at line 370 of file events.c.

static void usage ( void  )
static

Definition at line 55 of file events.c.

static void window_close_callback ( GLFWwindow window)
static

Definition at line 301 of file events.c.

static void window_content_scale_callback ( GLFWwindow window,
float  xscale,
float  yscale 
)
static

Definition at line 294 of file events.c.

static void window_focus_callback ( GLFWwindow window,
int  focused 
)
static

Definition at line 321 of file events.c.

static void window_iconify_callback ( GLFWwindow window,
int  iconified 
)
static

Definition at line 329 of file events.c.

static void window_maximize_callback ( GLFWwindow window,
int  maximized 
)
static

Definition at line 337 of file events.c.

static void window_pos_callback ( GLFWwindow window,
int  x,
int  y 
)
static

Definition at line 273 of file events.c.

static void window_refresh_callback ( GLFWwindow window)
static

Definition at line 310 of file events.c.

static void window_size_callback ( GLFWwindow window,
int  width,
int  height 
)
static

Definition at line 280 of file events.c.

Variable Documentation

unsigned int counter = 0
static

Definition at line 46 of file events.c.



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