XenevaOS
Loading...
Searching...
No Matches
pwbutton.h
Go to the documentation of this file.
1
32#ifndef __POWER_BUTTON_H__
33#define __POWER_BUTTON_H__
34
35#include <chitralekha.h>
36#include <widgets/base.h>
37#include <widgets/window.h>
38#include <widgets/icon.h>
39
46
52
53
58extern power_button* create_power_button(uint8_t pw_type, int x, int y);
59
60#endif
unsigned char uint8_t
Definition acefiex.h:161
struct _pw_button_ power_button
_power_button_type_
Definition pwbutton.h:40
@ POWER_BUTTON_TYPE_LOCK
Definition pwbutton.h:42
@ POWER_BUTTON_TYPE_RESTART
Definition pwbutton.h:43
@ POWER_BUTTON_TYPE_SLEEP
Definition pwbutton.h:44
@ POWER_BUTTON_TYPE_SHUTDOWN
Definition pwbutton.h:41
power_button * create_power_button(uint8_t pw_type, int x, int y)
create_power_button – create a new power button
Definition pwbutton.cpp:110
Definition window.h:115
Definition icon.h:52
Definition pwbutton.h:47
ChIcon * icon
Definition pwbutton.h:50
uint8_t type
Definition pwbutton.h:49
ChWidget base
Definition pwbutton.h:48