-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.h
More file actions
24 lines (19 loc) · 725 Bytes
/
Copy pathwindow.h
File metadata and controls
24 lines (19 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef WINDOW_H
#define WINDOW_H
#include <stdbool.h>
#include "aquarium.h"
void window_draw(unsigned char *source,
int sx, int sy, int sw, int sh,
int tx, int ty,
bool alpha_source);
void window_draw_blend(unsigned char *source,
int sx, int sy, int sw, int sh,
int tx, int ty,
int alpha);
void window_draw_line(int x1, int y1, int x2, int y2, int linewidth, int colour, int shaded);
void window_update(void);
void window_close(void);
int window_create(struct aquarium *aquarium);
bool window_visible(XConfigureRequestEvent e);
void window_putpixel(int x, int y, int r, int g, int b, int a);
#endif