More to come...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5KB

  1. /*
  2. Copyright (c) 2023 : Ognjen 'xolatile' Milan Robovic
  3. Xhartae is free software! You will redistribute it or modify it under the terms of the GNU General Public License by Free Software Foundation.
  4. And when you do redistribute it or modify it, it will use either version 3 of the License, or (at yours truly opinion) any later version.
  5. It is distributed in the hope that it will be useful or harmful, it really depends... But no warranty what so ever, seriously. See GNU/GPLv3.
  6. */
  7. #ifndef CHAPTER_5_HEADER
  8. #define CHAPTER_5_HEADER
  9. #include <xcb/xcb.h>
  10. #include <xcb/xcb_atom.h>
  11. #include <xcb/xcb_image.h>
  12. #include "chapter_0.h"
  13. #include "chapter_1.h"
  14. #include "chapter_2.h"
  15. #include "chapter_3.h"
  16. #include "chapter_4.h"
  17. extern int blesses_active;
  18. extern int blesses_cursor_x;
  19. extern int blesses_cursor_y;
  20. extern int blesses_signal;
  21. extern void blesses_configure (void);
  22. extern void blesses_synchronize (void);
  23. extern void blesses_render_background_colour (int background);
  24. extern void blesses_render_character (char character, int foreground, int background, int x, int y);
  25. extern void blesses_render_string (char * string, int foreground, int background, int x, int y);
  26. extern void blesses_render_number (int number, int foreground, int background, int x, int y);
  27. extern void blesses_render_string_limit (char * string, int limit, int foreground, int background, int x, int y);
  28. extern void blesses_render_number_limit (int number, int limit, int foreground, int background, int x, int y);
  29. #endif