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
39#define DEODHAI_MESSAGE_CREATEWIN 50
40#define DEODHAI_MESSAGE_WINDESTROY 51
41#define DEODHAI_MESSAGE_BROADCAST_ICON 52
42#define DEODHAI_MESSAGE_WINDOW_BRING_FRONT 53
43#define DEODHAI_MESSAGE_WINDOW_HIDE 54
44#define DEODHAI_MESSAGE_GETWINDOW 55
45#define DEODHAI_MESSAGE_CLOSE_WINDOW 56
46#define DEODHAI_MESSAGE_SET_FLAGS 57
47#define DEODHAI_MESSAGE_CREATE_POPUP 58
48#define DEODHAI_MESSAGE_MOUSE_DBLCLK 59
49#define DEODHAI_MESSAGE_MOVE_WINDOW 60
50
51#define DEODHAI_REPLY_WINCREATED 150
52#define DEODHAI_REPLY_MOUSE_EVENT 151
53#define DEODHAI_REPLY_KEY_EVENT 152
54#define DEODHAI_REPLY_WINDOW_ID 153
55#define DEODHAI_REPLY_FOCUS_CHANGED 154
56#define DEODHAI_REPLY_WINDOW_CLOSED 156
57#define DEODHAI_REPLY_MOUSE_LEAVE 157
58#define DEODHAI_REPLY_TOUCH_EVENT 158
59
60#define DEODHAI_BROADCAST_WINCREATED 170
61#define DEODHAI_BROADCAST_WINDESTROYED 171
62#define DEODHAI_BROADCAST_ICON 174
63#define DEODHAI_BROADCAST_FOCUS_CHANGED 173
64
65#define HANDLE_TYPE_NORMAL_WINDOW 1
66#define HANDLE_TYPE_POPUP_WINDOW 2
67
68
69
70
71
72typedef struct _rect_ {
73 int32_t x;
74 int32_t y;
75 int32_t w;
76 int32_t h;
78
79
80//#pragma pack(push,1)
81/* Copied from kernel*/
82typedef struct _au_input_msg_ {
92//#pragma pack(pop)
93
94#pragma pack(push,1)
95typedef struct _bmp_ {
96 unsigned short type; //0
97 unsigned int size; // pffset 2
98 unsigned short resv1; //6h
99 unsigned short resv2; //8h
100 unsigned int off_bits; //10h
102
103typedef struct _info_ {
104 unsigned int biSize; //0
105 long biWidth; //4h
106 long biHeight; //8h
107 unsigned short biPlanes; //12h
108 unsigned short biBitCount; //14h
109 unsigned int biCompression; //16h
110 unsigned int biSizeImage; //20h
111 long biXPelsPerMeter; //24h
112 long biYPelsPerMeter; //28h
113 unsigned int biClrUsed; //32h
114 unsigned int biClrImportant; //36h
116#pragma pack(pop)
117
118
123/*
124 * DeodhaiUpdateBits -- update specific deodhai bits
125 */
126extern void DeodhaiUpdateBits(bool window_update, bool skip_disable);
127
128#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
uint32_t DeodhaiAllocateNewHandle()
DeodhaiAllocateNewHandle – get a new window handle.
Definition deomain.cpp:128
struct _rect_ Rect
void DeodhaiUpdateBits(bool window_update, bool skip_disable)
Definition deomain.cpp:1627
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