예제 #1
0
        public static int GetKeyIndex(GuiKey key)
        {
            //TODO this got exported by later version of cimgui, call ImGuiNative after upgrading
            IO io = GetIO();

            return(io.KeyMap[key]);
        }
예제 #2
0
파일: IO.cs 프로젝트: user135711/ImGui.NET
 public int this[GuiKey key]
 {
     get
     {
         return(_nativePtr->KeyMap[(int)key]);
     }
     set
     {
         _nativePtr->KeyMap[(int)key] = value;
     }
 }
예제 #3
0
파일: IO.cs 프로젝트: mellinoe/ImGui.NET
 public int this[GuiKey key]
 {
     get
     {
         return _nativePtr->KeyMap[(int)key];
     }
     set
     {
         _nativePtr->KeyMap[(int)key] = value;
     }
 }