2023-11-20 09:43:12 -05:00
|
|
|
/*
|
|
|
|
Copyright (c) 2023 : Ognjen 'xolatile' Milan Robovic
|
|
|
|
|
|
|
|
Xhartae is free software! You will redistribute it or modify it under the terms of the GNU General Public License by Free Software Foundation.
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CHAPTER_5_HEADER
|
|
|
|
#define CHAPTER_5_HEADER
|
|
|
|
|
2023-11-30 12:26:42 -05:00
|
|
|
#include <xcb/xcb.h>
|
|
|
|
#include <xcb/xcb_atom.h>
|
|
|
|
#include <xcb/xcb_image.h>
|
|
|
|
|
2023-11-20 09:43:12 -05:00
|
|
|
#include "chapter_0.h"
|
|
|
|
#include "chapter_1.h"
|
|
|
|
#include "chapter_2.h"
|
|
|
|
#include "chapter_3.h"
|
2023-11-24 13:22:09 -05:00
|
|
|
#include "chapter_4.h"
|
2023-11-20 09:43:12 -05:00
|
|
|
|
2023-11-30 14:50:42 -05:00
|
|
|
extern int blesses_active;
|
|
|
|
extern int blesses_cursor_x;
|
|
|
|
extern int blesses_cursor_y;
|
|
|
|
extern int blesses_signal;
|
2023-11-30 14:59:26 -05:00
|
|
|
extern int blesses_zoom;
|
2023-11-30 14:50:42 -05:00
|
|
|
|
|
|
|
extern void blesses_configure (void);
|
|
|
|
extern void blesses_synchronize (void);
|
2023-11-30 12:26:42 -05:00
|
|
|
|
|
|
|
extern void blesses_render_background_colour (int background);
|
|
|
|
|
|
|
|
extern void blesses_render_character (char character, int foreground, int background, int x, int y);
|
|
|
|
|
|
|
|
extern void blesses_render_string (char * string, int foreground, int background, int x, int y);
|
|
|
|
extern void blesses_render_number (int number, int foreground, int background, int x, int y);
|
|
|
|
extern void blesses_render_string_limit (char * string, int limit, int foreground, int background, int x, int y);
|
|
|
|
extern void blesses_render_number_limit (int number, int limit, int foreground, int background, int x, int y);
|
|
|
|
|
2023-11-20 09:43:12 -05:00
|
|
|
#endif
|