Package org.lwjgl.sdl
Class SDLPower
java.lang.Object
org.lwjgl.sdl.SDLPower
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic intnSDL_GetPowerInfo(long seconds, long percent) SDL_PowerState SDL_GetPowerInfo(int * seconds, int * percent)static intSDL_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)
-