|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.lessvoid.nifty.examples.resolution.ResolutionControlLWJGL
public class ResolutionControlLWJGL
Created by IntelliJ IDEA. User: Martin Karing Date: 31.03.12 Time: 13:29 To change this template use File | Settings | File Templates.
Constructor Summary | |
---|---|
ResolutionControlLWJGL()
|
Method Summary | |
---|---|
org.lwjgl.opengl.DisplayMode |
getCurrentResolution()
Get the resolution that applies currently. |
Collection<org.lwjgl.opengl.DisplayMode> |
getResolutions()
Get a list of resolutions that can be applied. |
void |
setResolution(org.lwjgl.opengl.DisplayMode newResolution)
Set a resolution that should be used from now on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResolutionControlLWJGL()
Method Detail |
---|
public Collection<org.lwjgl.opengl.DisplayMode> getResolutions()
ResolutionControl
getResolutions
in interface ResolutionControl<org.lwjgl.opengl.DisplayMode>
public void setResolution(org.lwjgl.opengl.DisplayMode newResolution)
ResolutionControl
setResolution
in interface ResolutionControl<org.lwjgl.opengl.DisplayMode>
newResolution
- the new resolutionpublic org.lwjgl.opengl.DisplayMode getCurrentResolution()
ResolutionControl
getCurrentResolution
in interface ResolutionControl<org.lwjgl.opengl.DisplayMode>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |