示例#1
0
 private static extern KeyFun SetKeyCallback32(IntPtr window, KeyFun cbfun);
示例#2
0
文件: Glfw.cs 项目: Ziriax/LearnCS
 public static void SetKeyCallback(IntPtr window, KeyFun cbfun)
 {
     currentKeyFun = cbfun;
     _SetKeyCallback(window, currentKeyFun);
 }
示例#3
0
 internal static KeyFun SetKeyCallback(IntPtr window, KeyFun cbfun)
 {
     if (!Environment.Is64BitProcess)
     {
         return SetKeyCallback32(window, cbfun);
     }
     else
     {
         return SetKeyCallback64(window, cbfun);
     }
 }
示例#4
0
文件: Glfw.cs 项目: Ziriax/LearnCS
 private static extern void _SetKeyCallback(IntPtr window, KeyFun cbfun);