Chameleon

Chameleon Svn Source Tree

Root/branches/cparm/i386/modules/include/IOGraphics.h

1/*
2 * graphics.h
3 *
4 *
5 * Created by fassl on 22.12.08.
6 * Copyright 2008 __MyCompanyName__. All rights reserved.
7 *
8 */
9
10#ifndef __IOGRAPHICS_H
11#define __IOGRAPHICS_H
12
13#include <vbe.h>
14
15char * __decodeRLE( const void * rleData, int rleBlocks, int outBytes );
16
17void __drawColorRectangle( unsigned short x, unsigned short y, unsigned short width, unsigned short height, unsigned char colorIndex );
18void __drawDataRectangle( unsigned short x,
19 unsigned short y,
20 unsigned short width,
21 unsigned short height,
22 unsigned char * data );
23int
24__convertImage( unsigned short width,
25 unsigned short height,
26 const unsigned char *imageData,
27 unsigned char **newImageData );
28
29
30int __setVESAGraphicsMode( unsigned short width, unsigned short height, unsigned char bitsPerPixel);
31
32int __getNumberArrayFromProperty( const char * propKey,
33 unsigned long numbers[],
34 unsigned long maxArrayCount );
35
36
37unsigned short
38__getVESAModeWithProperties( unsigned short width,
39 unsigned short height,
40 unsigned char bitsPerPixel,
41 unsigned short attributesSet,
42 unsigned short attributesClear,
43 VBEModeInfoBlock * outModeInfo,
44 unsigned short * vesaVersion );
45
46void
47__setVideoMode( int mode);
48
49#endif /* !__IOGRAPHICS_H */
50

Archive Download this file

Revision: HEAD