xhartae/chapter/chapter_5.h

41 lines
1.5 KiB
C

/*
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
#include <xcb/xcb.h>
#include <xcb/xcb_atom.h>
#include <xcb/xcb_image.h>
#include "chapter_0.h"
#include "chapter_1.h"
#include "chapter_2.h"
#include "chapter_3.h"
#include "chapter_4.h"
extern int blesses_active;
extern int blesses_cursor_x;
extern int blesses_cursor_y;
extern int blesses_signal;
extern int blesses_zoom;
extern void blesses_configure (void);
extern void blesses_synchronize (void);
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);
#endif