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#define DEODHAI_MESSAGE_BUFFER_DESTROYED 61
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#define DEODHAI_REPLY_DESTROY_BUFFER 159
60#define DEODHAI_REPLY_REINIT_BUFFER 160
61
62#define DEODHAI_BROADCAST_WINCREATED 170
63#define DEODHAI_BROADCAST_WINDESTROYED 171
64#define DEODHAI_BROADCAST_ICON 174
65#define DEODHAI_BROADCAST_FOCUS_CHANGED 173
66
67#define HANDLE_TYPE_NORMAL_WINDOW 1
68#define HANDLE_TYPE_POPUP_WINDOW 2
69
73#define DEODHAI_FORCE_OPEN_LAUNCHER 400
74#define DEODHAI_FORCE_OPEN_SETTINGS 401
75#define DEODHAI_FORCE_OPEN_SEARCH 402
76#define DEODHAI_FORCE_OPEN_CALENDER 403
77#define DEODHAI_FORCE_OPEN_TERMINAL 404
78#define DEODHAI_FORCE_OPEN_NOTIFICATION 405
79
80typedef struct _rect_ {
81 int32_t x;
82 int32_t y;
83 int32_t w;
84 int32_t h;
86
87//#pragma pack(push,1)
88/* Copied from kernel*/
89typedef struct _au_input_msg_ {
99
100typedef struct _au_input_ring_stats_ {
106//#pragma pack(pop)
107
108#pragma pack(push, 1)
109typedef struct _bmp_ {
110 unsigned short type; //0
111 unsigned int size; // pffset 2
112 unsigned short resv1; //6h
113 unsigned short resv2; //8h
114 unsigned int off_bits; //10h
116
117typedef struct _info_ {
118 unsigned int biSize; //0
119 long biWidth; //4h
120 long biHeight; //8h
121 unsigned short biPlanes; //12h
122 unsigned short biBitCount; //14h
123 unsigned int biCompression; //16h
124 unsigned int biSizeImage; //20h
125 long biXPelsPerMeter; //24h
126 long biYPelsPerMeter; //28h
127 unsigned int biClrUsed; //32h
128 unsigned int biClrImportant; //36h
130#pragma pack(pop)
131
136/*
137 * DeodhaiUpdateBits -- update specific deodhai bits
138 */
139extern void DeodhaiUpdateBits(bool window_update, bool skip_disable);
140
141#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
struct _au_input_ring_stats_ AuInputRingStats
void DeodhaiUpdateBits(bool window_update, bool skip_disable)
Definition deomain.cpp:1649
struct _info_ BMPInfo
struct _au_input_msg_ AuInputMessage
Definition devinput.h:60
uint32_t code
Definition devinput.h:65
uint32_t code3
Definition devinput.h:67
int32_t xpos
Definition devinput.h:62
int32_t ypos
Definition devinput.h:63
uint32_t code4
Definition devinput.h:68
uint32_t code1
Definition devinput.h:66
uint8_t type
Definition devinput.h:61
uint8_t button_state
Definition devinput.h:64
Definition devinput.h:82
uint32_t keyboard_dropped
Definition devinput.h:84
uint32_t mouse_dropped
Definition devinput.h:83
uint32_t keyboard_pending
Definition devinput.h:86
uint32_t mouse_pending
Definition devinput.h:85
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