XenevaOS
Loading...
Searching...
No Matches
Macros | Functions | Variables
main.cpp File Reference
#include <stdint.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys\_keproc.h>
#include <sys\_kefile.h>
#include <sys\_ketimer.h>
#include <sys\_ketime.h>
#include <chitralekha.h>
#include <sys\iocodes.h>
#include <widgets\base.h>
#include <keycode.h>
#include <widgets\window.h>
#include "appgrid.h"
#include "launcher.h"
#include "button.h"
#include "searchbar.h"
#include <ctype.h>
#include "search.h"
#include "pagebutton.h"
#include "pwbutton.h"
#include <nanosvg.h>
#include <nanosvgrast.h>
Include dependency graph for main.cpp:

Macros

#define NANOSVG_IMPLEMENTATION
 
#define NANOSVGRAST_IMPLEMENTATION
 

Functions

void XELauncherPaint (ChWindow *win)
 
void XELauncherMouseHandler (ChWindow *win, int x, int y, int button, int scroll)
 
bool isControlKeyPressed (int key)
 
void XenevaLauncherHandleMessage (PostEvent *e)
 
AppGridXELauncherGetAppGrid ()
 
ChWindowXELauncherGetMainWin ()
 
void XEUpPageButtonAction (ChWidget *wid, ChWindow *win)
 
void XEDownPageButtonAction (ChWidget *wid, ChWindow *win)
 
void xe_shutdown_action (ChWidget *wid, ChWindow *win)
 xe_shutdown_action – send shutdown request to init
 
void xe_restart_action (ChWidget *wid, ChWindow *win)
 xe_restart_action – send restart request to init
 
int main (int argc, char *arv[])
 
AppGridxelaunch_get_app_grid ()
 
int xelaunch_get_pipe ()
 

Variables

ChitralekhaAppapp
 
ChWindowwin
 
AppGridmainGrid
 
int screen_h
 
int screen_w
 
int bpp
 
int graphicsFd
 
int launcher_w
 
int launcher_h
 
XESearchBarsearchBar
 

Macro Definition Documentation

◆ NANOSVG_IMPLEMENTATION

#define NANOSVG_IMPLEMENTATION

◆ NANOSVGRAST_IMPLEMENTATION

#define NANOSVGRAST_IMPLEMENTATION

Function Documentation

◆ isControlKeyPressed()

bool isControlKeyPressed ( int  key)

◆ main()

int main ( int  argc,
char *  arv[] 
)

open init pipe, for admin requests

◆ xe_restart_action()

void xe_restart_action ( ChWidget wid,
ChWindow win 
)

xe_restart_action – send restart request to init

◆ xe_shutdown_action()

void xe_shutdown_action ( ChWidget wid,
ChWindow win 
)

xe_shutdown_action – send shutdown request to init

◆ XEDownPageButtonAction()

void XEDownPageButtonAction ( ChWidget wid,
ChWindow win 
)

◆ xelaunch_get_app_grid()

AppGrid * xelaunch_get_app_grid ( )

◆ xelaunch_get_pipe()

int xelaunch_get_pipe ( )

◆ XELauncherGetAppGrid()

AppGrid * XELauncherGetAppGrid ( )

◆ XELauncherGetMainWin()

ChWindow * XELauncherGetMainWin ( )

◆ XELauncherMouseHandler()

void XELauncherMouseHandler ( ChWindow win,
int  x,
int  y,
int  button,
int  scroll 
)

◆ XELauncherPaint()

void XELauncherPaint ( ChWindow win)

◆ XenevaLauncherHandleMessage()

void XenevaLauncherHandleMessage ( PostEvent e)

dont accept release keys

kiman aru text input lobi kelaaa, break maar sett

◆ XEUpPageButtonAction()

void XEUpPageButtonAction ( ChWidget wid,
ChWindow win 
)

Variable Documentation

◆ app

◆ bpp

int bpp

◆ graphicsFd

int graphicsFd

◆ launcher_h

int launcher_h

◆ launcher_w

int launcher_w

◆ mainGrid

AppGrid* mainGrid

◆ screen_h

int screen_h

◆ screen_w

int screen_w

◆ searchBar

XESearchBar* searchBar

◆ win

ChWindow* win