|
XenevaOS
|
#include <stdint.h>#include <_xeneva.h>#include <stdio.h>#include <sys\_keproc.h>#include <sys\_kefile.h>#include <sys\iocodes.h>#include <sys/_ketimer.h>#include <chitralekha.h>#include <widgets\base.h>#include <widgets\button.h>#include <widgets\window.h>#include <widgets\slider.h>#include <string.h>#include <stdlib.h>#include "systray.h"#include "traygraphics.h"#include "audioCtrl.h"
Macros | |
| #define | SYSTRAY_GEOM_WIDTH 35 |
| #define | SYSTRAY_GEOM_HEIGHT(x) x |
| #define | SYSTRAY_GEOM_BUTTON_WIDTH(win) (win->info->width - 10) |
| #define | SYSTRAY_GEOM_BUTTON_HEIGHT 25 |
| #define | SYSTRAY_GEOM_BUTTON_XLOC 5 |
Functions | |
| void | TrayMouseHandle (ChWindow *win, int x, int y, int button, int scroll) |
| void | TrayHideWindow (ChWindow *win) |
| void | TrayShowWindow (ChWindow *win) |
| void | WindowHandleMessage (PostEvent *e) |
| void | SVGToFB (ChCanvas *canv, unsigned char *pixbuf, int iw, int ih, int dstx, int dsty) |
| void | TrayPaint (ChWindow *win) |
| void | VolumeSliderActionHandler (ChWidget *wid, ChWindow *win_) |
| void | TrayCreateSoundWindow (ChWindow *mainWin, int x, int y) |
| void | SoundButtonActionHandler (ChWidget *wid, ChWindow *win) |
| int | main (int argc, char *argv[]) |
Variables | |
| ChitralekhaApp * | app |
| ChWindow * | mainWin |
| ChWindow * | soundWindow |
| ChWindow * | bluetoothWin |
| DeodhaiAudioBox * | audioControl |
| list_t * | windowList |
| int | frameCount |
| bool | _hidden |
| int | default_win_x |
| int | threadID |
| int | timerTick |
| int | screenW |
| int | screenH |
| int | guessW |
| int | winy |
| bool | TrayHiddenLock |
| unsigned char * | img = NULL |
| #define SYSTRAY_GEOM_BUTTON_HEIGHT 25 |
| #define SYSTRAY_GEOM_BUTTON_XLOC 5 |
| #define SYSTRAY_GEOM_HEIGHT | ( | x | ) | x |
| #define SYSTRAY_GEOM_WIDTH 35 |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
| void SVGToFB | ( | ChCanvas * | canv, |
| unsigned char * | pixbuf, | ||
| int | iw, | ||
| int | ih, | ||
| int | dstx, | ||
| int | dsty | ||
| ) |
| void TrayCreateSoundWindow | ( | ChWindow * | mainWin, |
| int | x, | ||
| int | y | ||
| ) |
| void TrayHideWindow | ( | ChWindow * | win | ) |
| void TrayMouseHandle | ( | ChWindow * | win, |
| int | x, | ||
| int | y, | ||
| int | button, | ||
| int | scroll | ||
| ) |
| void TrayPaint | ( | ChWindow * | win | ) |
| void TrayShowWindow | ( | ChWindow * | win | ) |
| void WindowHandleMessage | ( | PostEvent * | e | ) |
| bool _hidden |
| ChitralekhaApp* app |
BSD 2-Clause License
Copyright (c) 2022-2025, 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.
| DeodhaiAudioBox* audioControl |
| ChWindow* bluetoothWin |
| int default_win_x |
| int frameCount |
| int guessW |
| unsigned char* img = NULL |
| ChWindow* mainWin |
| int screenH |
| int screenW |
| ChWindow* soundWindow |
| int threadID |
| int timerTick |
| bool TrayHiddenLock |
| list_t* windowList |
| int winy |