-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraphix.h
22 lines (17 loc) · 814 Bytes
/
graphix.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//******************************************************************************
#pragma once
struct graphix;
typedef struct graphix* graphix;
//******************************************************************************
graphix graphix_create(const char *title, int width, int height,
int colors, const char *color[]);
void graphix_free(graphix gx);
int graphix_width(const graphix gx);
int graphix_height(const graphix gx);
void graphix_point(graphix gx, int x, int y, int color);
void graphix_line(graphix gx, int x, int y, int xx, int yy, int color);
void graphix_rect(graphix gx, int x, int y, int xx, int yy, int color);
void graphix_flush(graphix gx);
int graphix_button(graphix gx);
int graphix_wait(graphix gx);
//******************************************************************************