|
Trace Engine
A Raycaster Engine in C
|
#include "SDL_events.h"Go to the source code of this file.
Macros | |
| #define | THEME_COUNT 10 |
Enumerations | |
| enum | nk_theme_t { THEME_BLACK , THEME_WHITE , THEME_RED , THEME_BLUE , THEME_DARK , THEME_DRACULA , THEME_CATPPUCCIN_LATTE , THEME_CATPPUCCIN_FRAPPE , THEME_CATPPUCCIN_MACCHIATO , THEME_CATPPUCCIN_MOCHA } |
Functions | |
| void | start_nk_input_hanlder (void) |
| void | run_nk_input_hanlder (SDL_Event *event) |
| void | stop_nk_input_hanlder (void) |
| void | update_fps_history (void) |
| void | init_nk_windows (SDL_Window *current_window) |
| void | close_nk (void) |
| void | show_debug_console (void) |
| void | set_style (const nk_theme_t theme) |
| #define THEME_COUNT 10 |
| enum nk_theme_t |
| void close_nk | ( | void | ) |
Close all Nuklear functionality
| void init_nk_windows | ( | SDL_Window * | current_window | ) |
Initialize everything for the Nuklear windows (like themes)
| void run_nk_input_hanlder | ( | SDL_Event * | event | ) |
Nuklear hanlder for an SDL_Event, call it every frame
| void set_style | ( | const nk_theme_t | theme | ) |
Sets the given theme to the floating windows, sliders, buttons and stuff
| void show_debug_console | ( | void | ) |
It creates the debug console, from which you can access all the data and info of the engine
| void start_nk_input_hanlder | ( | void | ) |
Nuklear needs to start seeing mouse and keyboard input, call it every frame
| void stop_nk_input_hanlder | ( | void | ) |
Nuklear needs to stop seeing mouse and keyboard input, call it every frame
| void update_fps_history | ( | void | ) |
Update the current FPS history, you can see the chart in the debug window