flyx / OpenGLAda

Thick Ada binding for OpenGL and GLFW
flyx.github.io/OpenGLAda/
MIT License
95 stars 13 forks source link

Get_Cursor_Mode not fully implemented? #74

Closed rogermc2 closed 7 years ago

rogermc2 commented 7 years ago

Set_Cursor_Mode is implemented in Glfw.Windows but not Get_Cursor_Mode although Get_Input_Mode does appear in glfw-api. I have now implemented Get_Cursor_Mode in my wave_example branch as:

function Get_Cursor_Mode (Object : not null access Window)
                             return Input.Mouse.Cursor_Mode is
   begin
      return API.Get_Input_Mode (Object.Handle, Enums.Mouse_Cursor);
   end Get_Cursor_Mode;