xhartae/chapter/chapter_5.h

33 lines
1.1 KiB
C
Raw Normal View History

#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>
#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-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);
#endif