|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.DynamicScope
com.threerings.opengl.GlApp
com.threerings.opengl.GlDisplayApp
public abstract class GlDisplayApp
A base class for applications that use LWJGL's Display class.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
GlDisplayApp()
|
|
| Method Summary | |
|---|---|
Root |
createRoot()
Creates a user interface root appropriate for this application. |
org.lwjgl.opengl.DisplayMode[] |
getAvailableDisplayModes()
Returns an array containing the available display modes. |
RunQueue |
getRunQueue()
Returns a reference to the application's run queue. |
void |
makeCurrent()
Makes the OpenGL context current. |
void |
setDisplayMode(org.lwjgl.opengl.DisplayMode mode)
Sets the display mode and updates the viewport if the display is created. |
void |
setDisplayModeAndFullscreen(org.lwjgl.opengl.DisplayMode mode)
Sets the display mode and fullscreen setting at the same time. |
void |
setFullscreen(boolean fullscreen)
Sets the fullscreen mode. |
void |
setIcon(String... paths)
Sets the display icon. |
void |
shutdown()
Shuts down the application. |
void |
startup()
Starts up the application. |
| Methods inherited from class com.threerings.opengl.GlApp |
|---|
createSnapshot, enqueue, getApp, getCameraHandler, getClipProvider, getColorPository, getCompatibilityMode, getCompositor, getConfigManager, getImageCache, getMessageManager, getRenderEffects, getRenderer, getRenderScheme, getResourceManager, getScope, getShaderCache, getSoundManager, getStreamGain, setCameraHandler, setCompatibilityMode, setRenderEffects, setRenderer, setRenderScheme, xlate |
| Methods inherited from class com.threerings.expr.DynamicScope |
|---|
addListener, dispose, endCompoundUpdate, get, getParentScope, getScopeName, put, remove, removeListener, scopeUpdated, setParentScope, startCompoundUpdate, wasUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlDisplayApp()
| Method Detail |
|---|
public org.lwjgl.opengl.DisplayMode[] getAvailableDisplayModes()
public void setDisplayModeAndFullscreen(org.lwjgl.opengl.DisplayMode mode)
public void setDisplayMode(org.lwjgl.opengl.DisplayMode mode)
public void setFullscreen(boolean fullscreen)
public void setIcon(String... paths)
paths - the resource paths of the icons to set.public void makeCurrent()
GlContext
public RunQueue getRunQueue()
GlApp
getRunQueue in class GlApppublic Root createRoot()
GlApp
createRoot in class GlApppublic void startup()
GlApp
startup in class GlApppublic void shutdown()
GlApp
shutdown in class GlApp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||