XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
base.h File Reference
#include <stdint.h>
#include <sys\_keipcpostbox.h>
#include "..\font.h"
#include <_xeneva.h>
Include dependency graph for base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ChApp_
 

Macros

#define DEODHAI_MESSAGE_CREATEWIN   50
 
#define DEODHAI_MESSAGE_WINDESTROY
 
#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 DEODHAI_MOUSE_MSG_SCROLL_UP   0x05
 
#define DEODHAI_MOUSE_MSG_SCROLL_DOWN   0x06
 

Typedefs

typedef struct _ChApp_ ChitralekhaApp
 

Functions

XE_LIB ChitralekhaAppChitralekhaStartApp (int argc, char *argv[])
 ChitralekhaStartApp – start an application instance.
 
XE_LIB ChitralekhaAppChitralekhaStartSubApp (ChitralekhaApp *parent)
 ChitralekhaStartApp – start an application instance.
 
XE_LIB ChitralekhaAppChitralekhaGetApp ()
 ChitralekhaGetApp – return running application instance.
 

Detailed Description

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.

Macro Definition Documentation

◆ 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

◆ 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

◆ DEODHAI_MESSAGE_WINDOW_BRING_FRONT

#define DEODHAI_MESSAGE_WINDOW_BRING_FRONT   53

◆ DEODHAI_MESSAGE_WINDOW_HIDE

#define DEODHAI_MESSAGE_WINDOW_HIDE   54

◆ DEODHAI_MOUSE_MSG_SCROLL_DOWN

#define DEODHAI_MOUSE_MSG_SCROLL_DOWN   0x06

◆ DEODHAI_MOUSE_MSG_SCROLL_UP

#define DEODHAI_MOUSE_MSG_SCROLL_UP   0x05

◆ 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

Typedef Documentation

◆ ChitralekhaApp

typedef struct _ChApp_ ChitralekhaApp

Function Documentation

◆ ChitralekhaGetApp()

XE_LIB ChitralekhaApp * ChitralekhaGetApp ( )

ChitralekhaGetApp – return running application instance.

◆ ChitralekhaStartApp()

XE_LIB ChitralekhaApp * ChitralekhaStartApp ( int  argc,
char *  argv[] 
)

ChitralekhaStartApp – start an application instance.

◆ ChitralekhaStartSubApp()

XE_LIB ChitralekhaApp * ChitralekhaStartSubApp ( ChitralekhaApp parent)

ChitralekhaStartApp – start an application instance.