XenevaOS
Loading...
Searching...
No Matches
Functions | Variables
namdapha.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 <sys\mman.h>
#include "nmdapha.h"
#include "section.h"
#include <widgets\window.h>
Include dependency graph for namdapha.cpp:

Functions

void GoMenuThread ()
 
void NamdaphaChangeFocus (NamdaphaButton *button)
 
int NamdaphaGetScreenWidth ()
 
int NamdaphaGetScreenHeight ()
 
void NamdaphaHideWindow (NamdaphaButton *button)
 
void NamdaphaTimeButtonPaint (NamdaphaButton *button, ChWindow *win)
 
void NamdaphaMouseHandler (ChWindow *win, int x, int y, int button, int scroll)
 
void NamdaphaGoButtonAction (NamdaphaButton *button, ChWindow *win)
 
void NamdaphaPaint (ChWindow *win)
 
void NamdaphaHandleMessage (PostEvent *e)
 
void NamdaphaPlayStartupSound ()
 
int main (int argc, char *arv[])
 

Variables

ChitralekhaAppapp
 
ChWindowwin
 
list_tbutton_list
 
list_twindowList
 
int screen_w
 
int screen_h
 
int bpp
 
int graphicsFd
 
int nbutton_x_loc
 
int nbutton_y_loc
 
int sndfd
 
char * currenttime
 
NamdaphaButtontimebutton
 
ButtonInfodefaultappico
 
uint32_t gomenuh
 
NamdaphaButtongobutton
 
XETime _time
 
list_tsectList
 

Function Documentation

◆ GoMenuThread()

void GoMenuThread ( )
extern

◆ main()

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

◆ NamdaphaChangeFocus()

void NamdaphaChangeFocus ( NamdaphaButton button)

◆ NamdaphaGetScreenHeight()

int NamdaphaGetScreenHeight ( )

◆ NamdaphaGetScreenWidth()

int NamdaphaGetScreenWidth ( )

◆ NamdaphaGoButtonAction()

void NamdaphaGoButtonAction ( NamdaphaButton button,
ChWindow win 
)

◆ NamdaphaHandleMessage()

void NamdaphaHandleMessage ( PostEvent e)

◆ NamdaphaHideWindow()

void NamdaphaHideWindow ( NamdaphaButton button)

◆ NamdaphaMouseHandler()

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

◆ NamdaphaPaint()

void NamdaphaPaint ( ChWindow win)

◆ NamdaphaPlayStartupSound()

void NamdaphaPlayStartupSound ( )

◆ NamdaphaTimeButtonPaint()

void NamdaphaTimeButtonPaint ( NamdaphaButton button,
ChWindow win 
)

Variable Documentation

◆ _time

XETime _time

◆ app

BSD 2-Clause License

Copyright (c) 2022, 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.

◆ bpp

int bpp

◆ button_list

list_t* button_list

◆ currenttime

char* currenttime

◆ defaultappico

ButtonInfo* defaultappico

◆ gobutton

NamdaphaButton* gobutton

◆ gomenuh

uint32_t gomenuh

◆ graphicsFd

int graphicsFd

◆ nbutton_x_loc

int nbutton_x_loc

◆ nbutton_y_loc

int nbutton_y_loc

◆ screen_h

int screen_h

◆ screen_w

int screen_w

◆ sectList

list_t* sectList

◆ sndfd

int sndfd

◆ timebutton

NamdaphaButton* timebutton

◆ win

ChWindow* win

◆ windowList

list_t* windowList