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

Go to the source code of this file.

Functions

static void error_callback (int error, const char *description)
 
static void key_callback (GLFWwindow *window, int key, int scancode, int action, int mods)
 
int main (int argc, char **argv)
 
static void usage (void)
 

Variables

struct {
   float   b
 
   float   g
 
   float   r
 
colors []
 
static const char * titles []
 

Function Documentation

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

Definition at line 66 of file windows.c.

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

Definition at line 71 of file windows.c.

int main ( int  argc,
char **  argv 
)

Definition at line 92 of file windows.c.

static void usage ( void  )
static

Definition at line 57 of file windows.c.

Variable Documentation

float b

Definition at line 48 of file windows.c.

const { ... } colors[]
Initial value:
=
{
{ 0.95f, 0.32f, 0.11f },
{ 0.50f, 0.80f, 0.16f },
{ 0.f, 0.68f, 0.94f },
{ 0.98f, 0.74f, 0.04f }
}
float g

Definition at line 48 of file windows.c.

float r

Definition at line 48 of file windows.c.

const char* titles[]
static
Initial value:
=
{
"Red",
"Green",
"Blue",
"Yellow"
}

Definition at line 38 of file windows.c.



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