⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windowssystem.java

📁 一个可用delphi来开发java的JNI开发包delphi接口
💻 JAVA
字号:
/*
class PixelFormatDescriptor
{
	short nSize;
    short nVersion;
    int dwFlags;
    byte iPixelType;
    byte cColorBits;
    byte cRedBits;
    byte cRedShift;
    byte cGreenBits;
    byte cGreenShift;
    byte cBlueBits;
    byte cBlueShift;
    byte cAlphaBits;
    byte cAlphaShift;
    byte cAccumBits;
    byte cAccumRedBits;
    byte cAccumGreenBits;
    byte cAccumBlueBits;
    byte cAccumAlphaBits;
    byte cDepthBits;
    byte cStencilBits;
    byte cAuxBuffers;
    byte iLayerType;
    byte bReserved;
    int dwLayerMask;
    int dwVisibleMask;
    int dwDamageMask;
}
*/
public class WindowsSystem
{

	static{System.loadLibrary("xSys32");}
	/*                            */
	public static native int GetAwtHandle();
	public static native boolean initOpenGL(int DC);
	/*                            */
	public static native int GetDC(int hWnd);
//	public static native int ChoosePixelFormat(int DC,PixelFormatDescriptor p2);
//	public static native boolean SetPixelFormat(int DC,int PixelFormat,PixelFormatDescriptor FormatDef);
//	public static native int wglCreateContext(int DC);
//	public static native boolean wglMakeCurrent(int DC,int p2);
	public static native boolean SwapBuffers(int DC);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -