XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
deodhai.h File Reference
#include <stdint.h>
#include <chitralekha.h>
Include dependency graph for deodhai.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _rect_
 
struct  _bmp_
 
struct  _info_
 
struct  _au_input_msg_
 

Macros

#define DEODHAI_MESSAGE_CREATEWIN   50
 
#define DEODHAI_MESSAGE_WINDESTROY   51
 
#define DEODHAI_MESSAGE_BROADCAST_ICON   52
 
#define DEODHAI_MESSAGE_WINDOW_BRING_FRONT   53
 
#define DEODHAI_MESSAGE_WINDOW_HIDE   54
 
#define DEODHAI_MESSAGE_GETWINDOW   55
 
#define DEODHAI_MESSAGE_CLOSE_WINDOW   56
 
#define DEODHAI_MESSAGE_SET_FLAGS   57
 
#define DEODHAI_MESSAGE_CREATE_POPUP   58
 
#define DEODHAI_MESSAGE_MOUSE_DBLCLK   59
 
#define DEODHAI_MESSAGE_MOVE_WINDOW   60
 
#define DEODHAI_REPLY_WINCREATED   150
 
#define DEODHAI_REPLY_MOUSE_EVENT   151
 
#define DEODHAI_REPLY_KEY_EVENT   152
 
#define DEODHAI_REPLY_WINDOW_ID   153
 
#define DEODHAI_REPLY_FOCUS_CHANGED   154
 
#define DEODHAI_REPLY_WINDOW_CLOSED   156
 
#define DEODHAI_REPLY_MOUSE_LEAVE   157
 
#define DEODHAI_REPLY_TOUCH_EVENT   158
 
#define DEODHAI_BROADCAST_WINCREATED   170
 
#define DEODHAI_BROADCAST_WINDESTROYED   171
 
#define DEODHAI_BROADCAST_ICON   174
 
#define DEODHAI_BROADCAST_FOCUS_CHANGED   173
 
#define HANDLE_TYPE_NORMAL_WINDOW   1
 
#define HANDLE_TYPE_POPUP_WINDOW   2
 
#define AU_INPUT_MOUSE   1
 
#define AU_INPUT_KEYBOARD   2
 
#define AU_INPUT_TOUCH   3
 

Typedefs

typedef struct _rect_ Rect
 
typedef struct _bmp_ BMP
 
typedef struct _info_ BMPInfo
 
typedef struct _au_input_msg_ AuInputMessage
 

Functions

uint32_t DeodhaiAllocateNewHandle ()
 
ChCanvasDeodhaiGetMainCanvas ()
 
void DeodhaiUpdateBits (bool window_update, bool skip)
 

Macro Definition Documentation

◆ AU_INPUT_KEYBOARD

#define AU_INPUT_KEYBOARD   2

◆ AU_INPUT_MOUSE

#define AU_INPUT_MOUSE   1

◆ AU_INPUT_TOUCH

#define AU_INPUT_TOUCH   3

◆ DEODHAI_BROADCAST_FOCUS_CHANGED

#define DEODHAI_BROADCAST_FOCUS_CHANGED   173

◆ DEODHAI_BROADCAST_ICON

#define DEODHAI_BROADCAST_ICON   174

◆ DEODHAI_BROADCAST_WINCREATED

#define DEODHAI_BROADCAST_WINCREATED   170

◆ DEODHAI_BROADCAST_WINDESTROYED

#define DEODHAI_BROADCAST_WINDESTROYED   171

◆ DEODHAI_MESSAGE_BROADCAST_ICON

#define DEODHAI_MESSAGE_BROADCAST_ICON   52

◆ DEODHAI_MESSAGE_CLOSE_WINDOW

#define DEODHAI_MESSAGE_CLOSE_WINDOW   56

◆ DEODHAI_MESSAGE_CREATE_POPUP

#define DEODHAI_MESSAGE_CREATE_POPUP   58

◆ DEODHAI_MESSAGE_CREATEWIN

#define DEODHAI_MESSAGE_CREATEWIN   50

BSD 2-Clause License

Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

◆ DEODHAI_MESSAGE_GETWINDOW

#define DEODHAI_MESSAGE_GETWINDOW   55

◆ DEODHAI_MESSAGE_MOUSE_DBLCLK

#define DEODHAI_MESSAGE_MOUSE_DBLCLK   59

◆ DEODHAI_MESSAGE_MOVE_WINDOW

#define DEODHAI_MESSAGE_MOVE_WINDOW   60

◆ DEODHAI_MESSAGE_SET_FLAGS

#define DEODHAI_MESSAGE_SET_FLAGS   57

◆ DEODHAI_MESSAGE_WINDESTROY

#define DEODHAI_MESSAGE_WINDESTROY   51

◆ DEODHAI_MESSAGE_WINDOW_BRING_FRONT

#define DEODHAI_MESSAGE_WINDOW_BRING_FRONT   53

◆ DEODHAI_MESSAGE_WINDOW_HIDE

#define DEODHAI_MESSAGE_WINDOW_HIDE   54

◆ DEODHAI_REPLY_FOCUS_CHANGED

#define DEODHAI_REPLY_FOCUS_CHANGED   154

◆ DEODHAI_REPLY_KEY_EVENT

#define DEODHAI_REPLY_KEY_EVENT   152

◆ DEODHAI_REPLY_MOUSE_EVENT

#define DEODHAI_REPLY_MOUSE_EVENT   151

◆ DEODHAI_REPLY_MOUSE_LEAVE

#define DEODHAI_REPLY_MOUSE_LEAVE   157

◆ DEODHAI_REPLY_TOUCH_EVENT

#define DEODHAI_REPLY_TOUCH_EVENT   158

◆ DEODHAI_REPLY_WINCREATED

#define DEODHAI_REPLY_WINCREATED   150

◆ DEODHAI_REPLY_WINDOW_CLOSED

#define DEODHAI_REPLY_WINDOW_CLOSED   156

◆ DEODHAI_REPLY_WINDOW_ID

#define DEODHAI_REPLY_WINDOW_ID   153

◆ HANDLE_TYPE_NORMAL_WINDOW

#define HANDLE_TYPE_NORMAL_WINDOW   1

◆ HANDLE_TYPE_POPUP_WINDOW

#define HANDLE_TYPE_POPUP_WINDOW   2

Typedef Documentation

◆ AuInputMessage

◆ BMP

typedef struct _bmp_ BMP

◆ BMPInfo

typedef struct _info_ BMPInfo

◆ Rect

typedef struct _rect_ Rect

Function Documentation

◆ DeodhaiAllocateNewHandle()

uint32_t DeodhaiAllocateNewHandle ( )
extern

◆ DeodhaiGetMainCanvas()

ChCanvas * DeodhaiGetMainCanvas ( )
extern

◆ DeodhaiUpdateBits()

void DeodhaiUpdateBits ( bool  window_update,
bool  skip 
)
extern