Xurses...
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.

42 lines
1.7KB

  1. /*
  2. Copyright (c) 2023 : Ognjen 'xolatile' Milan Robovic
  3. Xurses 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 XURSES_HEADER
  8. #define XURSES_HEADER
  9. extern int curses_realign_x;
  10. extern int curses_realign_y;
  11. extern int curses_tab_width;
  12. extern int curses_character;
  13. extern int curses_signal;
  14. extern int curses_screen_width;
  15. extern int curses_screen_height;
  16. extern int curses_active;
  17. extern void curses_configure (void);
  18. extern void curses_synchronize (void);
  19. extern void curses_bind (int signal, void (* action) (void));
  20. extern void curses_unbind (int signal);
  21. extern void curses_render_cursor (int x, int y);
  22. extern void curses_render_character (char character, int colour, int effect, int x, int y);
  23. extern void curses_render_background (char character, int colour, int effect);
  24. extern void curses_render_string_point (char * string, int limit, int colour, int effect, int * x, int * y);
  25. extern void curses_render_number_point (int number, int limit, int colour, int effect, int * x, int * y);
  26. extern void curses_render_string_limit (char * string, int limit, int colour, int effect, int x, int y);
  27. extern void curses_render_number_limit (int number, int limit, int colour, int effect, int x, int y);
  28. extern void curses_render_string (char * string, int colour, int effect, int x, int y);
  29. extern void curses_render_number (int number, int colour, int effect, int x, int y);
  30. #endif