Package com.jogamp.nativewindow
Class UpstreamWindowHookMutableSizePos
java.lang.Object
com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
com.jogamp.nativewindow.UpstreamWindowHookMutableSizePos
- All Implemented Interfaces:
UpstreamSurfaceHook
,UpstreamSurfaceHook.MutableSize
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jogamp.nativewindow.UpstreamSurfaceHook
UpstreamSurfaceHook.MutableSize
-
Constructor Summary
ConstructorsConstructorDescriptionUpstreamWindowHookMutableSizePos
(int winX, int winY, int winWidth, int winHeight, int pixWidth, int pixHeight) -
Method Summary
Methods inherited from class com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
create, destroy, getSurfaceHeight, getSurfaceWidth, getUpstreamSurface, setSurfaceSize
-
Constructor Details
-
UpstreamWindowHookMutableSizePos
public UpstreamWindowHookMutableSizePos(int winX, int winY, int winWidth, int winHeight, int pixWidth, int pixHeight) - Parameters:
winX
- initial window x-poswinY
- initial window y-poswinWidth
- initial window widthwinHeight
- initial window heightpixWidth
- initial surface pixel width, FIXME: pixel-dim == window-dim 'for now' ?pixHeight
- initial surface pixel height, FIXME: pixel-dim == window-dim 'for now' ?
-
-
Method Details
-
setWinPos
public final void setWinPos(int winX, int winY) -
setWinSize
public final void setWinSize(int winWidth, int winHeight) -
getX
public final int getX() -
getY
public final int getY() -
getWidth
public final int getWidth() -
getHeight
public final int getHeight() -
toString
- Overrides:
toString
in classUpstreamSurfaceHookMutableSize
-