tui.h 991 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef TOOLBOX_TUI_H
  2. #define TOOLBOX_TUI_H
  3. #include "toolbox/vec2/vec2_uint16.h"
  4. #include <stdint.h>
  5. #include <sys/cdefs.h>
  6. #include <sys/types.h>
  7. #ifdef TOOLBOX_TYPEDEF
  8. typedef struct window window_st;
  9. #endif
  10. struct window;
  11. __attribute__((__deprecated__("This is trash")))
  12. struct window* win_create(void);
  13. __attribute__((__deprecated__("This is trash")))
  14. void win_destroy(struct window **self);
  15. __attribute__((__deprecated__("This is trash")))
  16. void tui_open(const struct window *self);
  17. __attribute__((__deprecated__("This is trash")))
  18. void tui_close(const struct window *self);
  19. __attribute__((__deprecated__("This is trash")))
  20. void tui_clear(const struct window *self);
  21. __attribute__((__deprecated__("This is trash")))
  22. void tui_print_rect(const struct window *self
  23. , const struct vec2_uint16 p_cord
  24. , const struct vec2_uint16 p_size);
  25. __attribute__((__deprecated__("This is trash")))
  26. void tui_mov_cursor(const struct window *self, const struct vec2_uint16 p_cord);
  27. #endif