示例#1
0
 private static extern ScrollFun SetSetScrollCallback32(IntPtr window, ScrollFun cbfun);
示例#2
0
文件: Glfw.cs 项目: Ziriax/LearnCS
 public static void SetScrollCallback(IntPtr window, ScrollFun cbfun)
 {
     currentScrollFun = cbfun;
     _SetScrollCallback(window, currentScrollFun);
 }
示例#3
0
 internal static ScrollFun SetSetScrollCallback(IntPtr window, ScrollFun cbfun)
 {
     if (!Environment.Is64BitProcess)
     {
         return SetSetScrollCallback32(window, cbfun);
     }
     else
     {
         return SetSetScrollCallback64(window, cbfun);
     }
 }
示例#4
0
文件: Glfw.cs 项目: Ziriax/LearnCS
 private static extern void _SetScrollCallback(IntPtr window, ScrollFun cbfun);