XenevaOS
Loading...
Searching...
No Matches
systray.h
Go to the documentation of this file.
1
30#ifndef __SYS_TRAY_H__
31#define __SYS_TRAY_H__
32
33#include <stdint.h>
34#include <widgets/base.h>
35#include <widgets/icon.h>
36#include <widgets/window.h>
37
38#define TRAY_BUTTON_TYPE_ONOFF 1
39#define TRAY_BUTTON_TYPE_NORMAL 0
40
50
51extern void TrayButtonInitialize();
52/*
53 * TrayCreateButton -- create a tray button
54 * @param title -- title of the button
55 * @param x -- X location of the button
56 * @param y -- Y location of the button
57 * @param width -- Width of the button
58 * @param height -- Height of the button
59 */
60extern TrayButton* TrayCreateButton(char* title, int x, int y, int width, int height);
61#endif
unsigned char uint8_t
Definition acefiex.h:161
Definition window.h:114
Definition icon.h:52
Definition systray.h:41
uint8_t type
Definition systray.h:47
ChIcon * icon
Definition systray.h:43
ChWidget base
Definition systray.h:42
uint8_t frameCount
Definition systray.h:45
uint8_t currentFrame
Definition systray.h:46
bool onoff
Definition systray.h:48
char * title
Definition systray.h:44
void TrayButtonInitialize()
Definition traybutton.cpp:149
struct _tray_but_ TrayButton
TrayButton * TrayCreateButton(char *title, int x, int y, int width, int height)
Definition traybutton.cpp:129