java.lang.Object
gl4java.jau.awt.windows.MSWin32HandleAccess
- All Implemented Interfaces:
- gl4java.jau.awt.WinHandleAccess
- public class MSWin32HandleAccess
- extends java.lang.Object
- implements gl4java.jau.awt.WinHandleAccess
The ms-windows implementation for accessing the native window handle
This class has no user servicable parts inside. It is
used internally by GLFrame and by our package spoofed
sun.awt classes that give us internal access to window
variables that we need to set up the OpenGL drawing
ontext
- Version:
- 0.1, 3. JULY 1999
|
Field Summary |
protected int |
depth
|
protected long |
window
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
window
protected long window
depth
protected int depth
MSWin32HandleAccess
public MSWin32HandleAccess()
WindowFromDC
private static int WindowFromDC(int hdc)
achieveData
protected void achieveData(java.awt.Component c,
java.awt.Graphics g)
getWinHandle
public long getWinHandle(java.awt.Component c,
java.awt.Graphics g)
- get the window handle
- Specified by:
getWinHandle in interface gl4java.jau.awt.WinHandleAccess
getWinDepth
public int getWinDepth(java.awt.Component c,
java.awt.Graphics g)
- get the color depth
- Specified by:
getWinDepth in interface gl4java.jau.awt.WinHandleAccess