Package org.lwjgl.sdl
Class SDLPower
java.lang.Object
org.lwjgl.sdl.SDLPower
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded fromSDL.getLibrary()
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
nSDL_GetPowerInfo
(long seconds, long percent) SDL_PowerState SDL_GetPowerInfo(int * seconds, int * percent)
static int
SDL_GetPowerInfo
(@Nullable IntBuffer seconds, @Nullable IntBuffer percent) SDL_PowerState SDL_GetPowerInfo(int * seconds, int * percent)
-
Field Details
-
SDL_POWERSTATE_ERROR
public static final int SDL_POWERSTATE_ERROR- See Also:
-
SDL_POWERSTATE_UNKNOWN
public static final int SDL_POWERSTATE_UNKNOWN- See Also:
-
SDL_POWERSTATE_ON_BATTERY
public static final int SDL_POWERSTATE_ON_BATTERY- See Also:
-
SDL_POWERSTATE_NO_BATTERY
public static final int SDL_POWERSTATE_NO_BATTERY- See Also:
-
SDL_POWERSTATE_CHARGING
public static final int SDL_POWERSTATE_CHARGING- See Also:
-
SDL_POWERSTATE_CHARGED
public static final int SDL_POWERSTATE_CHARGED- See Also:
-
-
Method Details
-
nSDL_GetPowerInfo
public static int nSDL_GetPowerInfo(long seconds, long percent) SDL_PowerState SDL_GetPowerInfo(int * seconds, int * percent)
-
SDL_GetPowerInfo
SDL_PowerState SDL_GetPowerInfo(int * seconds, int * percent)
-