reorganized directory
This commit is contained in:
parent
9d507e38cb
commit
076355e2d1
35 changed files with 0 additions and 0 deletions
12
sdl3_power.c3i
Normal file
12
sdl3_power.c3i
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
module sdl3::sdl;
|
||||
|
||||
typedef PowerState = CInt;
|
||||
|
||||
const PowerState POWERSTATE_ERROR @builtin = -1;
|
||||
const PowerState POWERSTATE_UNKNOWN @builtin = 0;
|
||||
const PowerState POWERSTATE_ON_BATTERY @builtin = 1;
|
||||
const PowerState POWERSTATE_NO_BATTERY @builtin = 2;
|
||||
const PowerState POWERSTATE_CHARGING @builtin = 3;
|
||||
const PowerState POWERSTATE_CHARGED @builtin = 4;
|
||||
|
||||
extern fn PowerState get_power_info(int *seconds, int *percent) @extern("SDL_GetPowerInfo");
|
||||
Loading…
Add table
Add a link
Reference in a new issue