#include <glad/glad.h>#include <GLFW/glfw3.h>#include <nuklear.h>#include <nuklear_glfw_gl2.h>#include <stdio.h>#include <string.h>#include <stdlib.h>
Go to the source code of this file.
Macros | |
| #define | NK_BUTTON_TRIGGER_ON_RELEASE |
| #define | NK_GLFW_GL2_IMPLEMENTATION |
| #define | NK_IMPLEMENTATION |
| #define | NK_INCLUDE_DEFAULT_ALLOCATOR |
| #define | NK_INCLUDE_DEFAULT_FONT |
| #define | NK_INCLUDE_FIXED_TYPES |
| #define | NK_INCLUDE_FONT_BAKING |
| #define | NK_INCLUDE_STANDARD_VARARGS |
| #define | NK_INCLUDE_VERTEX_BUFFER_OUTPUT |
Functions | |
| static void | drop_callback (GLFWwindow *window, int count, const char **paths) |
| static void | error_callback (int error, const char *description) |
| static void | hat_widget (struct nk_context *nk, unsigned char state) |
| static void | joystick_callback (int jid, int event) |
| static const char * | joystick_label (int jid) |
| int | main (void) |
Variables | |
| static int | joystick_count = 0 |
| static int | joysticks [GLFW_JOYSTICK_LAST+1] |
| static GLFWwindow * | window |
| #define NK_BUTTON_TRIGGER_ON_RELEASE |
Definition at line 41 of file joysticks.c.
| #define NK_GLFW_GL2_IMPLEMENTATION |
Definition at line 44 of file joysticks.c.
| #define NK_IMPLEMENTATION |
Definition at line 34 of file joysticks.c.
| #define NK_INCLUDE_DEFAULT_ALLOCATOR |
Definition at line 38 of file joysticks.c.
| #define NK_INCLUDE_DEFAULT_FONT |
Definition at line 37 of file joysticks.c.
| #define NK_INCLUDE_FIXED_TYPES |
Definition at line 35 of file joysticks.c.
| #define NK_INCLUDE_FONT_BAKING |
Definition at line 36 of file joysticks.c.
| #define NK_INCLUDE_STANDARD_VARARGS |
Definition at line 40 of file joysticks.c.
| #define NK_INCLUDE_VERTEX_BUFFER_OUTPUT |
Definition at line 39 of file joysticks.c.
|
static |
Definition at line 88 of file joysticks.c.
|
static |
Definition at line 59 of file joysticks.c.
|
static |
Definition at line 121 of file joysticks.c.
|
static |
Definition at line 64 of file joysticks.c.
|
static |
Definition at line 114 of file joysticks.c.
| int main | ( | void | ) |
Definition at line 170 of file joysticks.c.
|
static |
Definition at line 57 of file joysticks.c.
|
static |
Definition at line 56 of file joysticks.c.
|
static |
Definition at line 55 of file joysticks.c.