source: abuse/tags/pd/imlib/include/video.hpp @ 49

Last change on this file since 49 was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
File size: 671 bytes
Line 
1#ifndef _VIDEO_HPP_
2#define _VIDEO_HPP_
3#include "system.h"
4
5#define TRI_1024x768x256 0x62
6#define TRI_800x600x256  0x5e
7#define TRI_640x480x256  0x5c
8#define VGA_320x200x256  0x13
9#define CGA_640x200x2    6
10#define XWINDOWS_256     256
11#define XWINDOWS_2       2
12
13#include "image.hpp"
14
15
16extern unsigned char current_background;
17extern unsigned int xres,yres;
18extern int xoff,yoff;
19extern image *screen;
20
21void set_mode(int mode, int argc=0, char **argv=NULL);
22void close_graphics();
23void fill_image(image *im, int x1, int y1, int x2, int y2);
24void update_dirty(image *im, int xoff=0, int yoff=0);
25
26
27void clear_put_image(image *im, int x, int y);
28int get_vmode();
29
30#endif
Note: See TracBrowser for help on using the repository browser.