XenevaOS
Loading...
Searching...
No Matches
deodxr.h
Go to the documentation of this file.
1
30#ifndef __DEODHAI_XR_H__
31#define __DEODHAI_XR_H__
32
33#include <stdint.h>
34
35#define AU_INPUT_MOUSE 1
36#define AU_INPUT_KEYBOARD 2
37
38
39typedef struct _rect_ {
40 int32_t x;
41 int32_t y;
42 int32_t w;
43 int32_t h;
45
46
47//#pragma pack(push,1)
48/* Copied from kernel*/
49typedef struct _au_input_msg_ {
59//#pragma pack(pop)
60
61#pragma pack(push,1)
62typedef struct _bmp_ {
63 unsigned short type; //0
64 unsigned int size; // pffset 2
65 unsigned short resv1; //6h
66 unsigned short resv2; //8h
67 unsigned int off_bits; //10h
69
70typedef struct _info_ {
71 unsigned int biSize; //0
72 long biWidth; //4h
73 long biHeight; //8h
74 unsigned short biPlanes; //12h
75 unsigned short biBitCount; //14h
76 unsigned int biCompression; //16h
77 unsigned int biSizeImage; //20h
78 long biXPelsPerMeter; //24h
79 long biYPelsPerMeter; //28h
80 unsigned int biClrUsed; //32h
81 unsigned int biClrImportant; //36h
83#pragma pack(pop)
84
85#endif
int int32_t
Definition acefiex.h:160
unsigned int uint32_t
Definition acefiex.h:163
unsigned char uint8_t
Definition acefiex.h:161
struct _bmp_ BMP
struct _rect_ Rect
struct _info_ BMPInfo
struct _au_input_msg_ AuInputMessage
Definition devinput.h:55
uint32_t code
Definition devinput.h:60
uint32_t code3
Definition devinput.h:62
int32_t xpos
Definition devinput.h:57
int32_t ypos
Definition devinput.h:58
uint32_t code4
Definition devinput.h:63
uint32_t code1
Definition devinput.h:61
uint8_t type
Definition devinput.h:56
uint8_t button_state
Definition devinput.h:59
Definition bmp.h:34
unsigned short type
Definition bmp.h:35
unsigned int size
Definition bmp.h:36
unsigned short resv1
Definition bmp.h:37
unsigned int off_bits
Definition bmp.h:39
unsigned short resv2
Definition bmp.h:38
Definition bmp.h:42
unsigned int biClrUsed
Definition bmp.h:52
unsigned int biClrImportant
Definition bmp.h:53
long biWidth
Definition bmp.h:44
unsigned short biPlanes
Definition bmp.h:46
unsigned int biCompression
Definition bmp.h:48
unsigned int biSize
Definition bmp.h:43
unsigned short biBitCount
Definition bmp.h:47
unsigned int biSizeImage
Definition bmp.h:49
long biYPelsPerMeter
Definition bmp.h:51
long biHeight
Definition bmp.h:45
long biXPelsPerMeter
Definition bmp.h:50
Definition deodhai.h:69
int32_t w
Definition deodhai.h:72
int32_t h
Definition deodhai.h:73
int32_t x
Definition deodhai.h:70
int32_t y
Definition deodhai.h:71