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