| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
#ifndef DEBUG_UI_H |
| 8 |
#define DEBUG_UI_H |
| 9 |
|
| 10 |
#include <stdbool.h> |
| 11 |
#include <SDL.h> |
| 12 |
|
| 13 |
#ifdef __cplusplus |
| 14 |
extern "C" { |
| 15 |
#endif |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
void debug_ui_init(SDL_Window *win, SDL_Renderer *ren); |
| 21 |
|
| 22 |
|
| 23 |
void debug_ui_process_event(const SDL_Event *ev); |
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
void debug_ui_render(void); |
| 29 |
|
| 30 |
|
| 31 |
void debug_ui_shutdown(void); |
| 32 |
|
| 33 |
|
| 34 |
bool debug_ui_is_enabled(void); |
| 35 |
void debug_ui_set_enabled(bool enabled); |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
SDL_Renderer *debug_ui_get_renderer(void); |
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
bool debug_ui_want_capture_keyboard(void); |
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
bool debug_ui_want_text_input(void); |
| 52 |
|
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
bool debug_ui_run_to_cursor(void); |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
void debug_ui_toggle_breakpoint_at_pc(void); |
| 62 |
|
| 63 |
#ifdef __cplusplus |
| 64 |
} |
| 65 |
#endif |
| 66 |
|
| 67 |
#endif |