|
XenevaOS
|
#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>
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 | |
| ChitralekhaApp * | app |
| ChWindow * | win |
| list_t * | button_list |
| list_t * | windowList |
| int | screen_w |
| int | screen_h |
| int | bpp |
| int | graphicsFd |
| int | nbutton_x_loc |
| int | nbutton_y_loc |
| int | sndfd |
| char * | currenttime |
| NamdaphaButton * | timebutton |
| ButtonInfo * | defaultappico |
| uint32_t | gomenuh |
| NamdaphaButton * | gobutton |
| XETime | _time |
| list_t * | sectList |
|
extern |
| int main | ( | int | argc, |
| char * | arv[] | ||
| ) |
| void NamdaphaChangeFocus | ( | NamdaphaButton * | button | ) |
| int NamdaphaGetScreenHeight | ( | ) |
| int NamdaphaGetScreenWidth | ( | ) |
| void NamdaphaGoButtonAction | ( | NamdaphaButton * | button, |
| ChWindow * | win | ||
| ) |
| void NamdaphaHandleMessage | ( | PostEvent * | e | ) |
| void NamdaphaHideWindow | ( | NamdaphaButton * | button | ) |
| void NamdaphaMouseHandler | ( | ChWindow * | win, |
| int | x, | ||
| int | y, | ||
| int | button, | ||
| int | scroll | ||
| ) |
| void NamdaphaPaint | ( | ChWindow * | win | ) |
| void NamdaphaPlayStartupSound | ( | ) |
| void NamdaphaTimeButtonPaint | ( | NamdaphaButton * | button, |
| ChWindow * | win | ||
| ) |
| XETime _time |
| ChitralekhaApp* 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:
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.
| int bpp |
| list_t* button_list |
| char* currenttime |
| ButtonInfo* defaultappico |
| NamdaphaButton* gobutton |
| uint32_t gomenuh |
| int graphicsFd |
| int nbutton_x_loc |
| int nbutton_y_loc |
| int screen_h |
| int screen_w |
| list_t* sectList |
| int sndfd |
| NamdaphaButton* timebutton |
| ChWindow* win |
| list_t* windowList |