protected virtual void OnKey(GlfwKeys key, GlfwActionState action) { // since this is not overriden, disable this. //glfw2.SetKeyCallback(null); if (key == GlfwKeys.Escape && action == GlfwActionState.Released) { flagRunning = false; } }
protected virtual void OnUnicodeChar(int UnicodeChar, GlfwActionState action) { // since this is not overriden, disable this. glfw2.SetCharCallback(null); }
protected virtual void OnMouseButton(GlfwMouseButton button, GlfwActionState action) { // since this is not overriden, disable this. glfw2.SetMouseButtonCallback(null); }
protected virtual void OnKey(GlfwKeys key, GlfwActionState action) { // since this is not overriden, disable this. //glfw2.SetKeyCallback(null); if (key == GlfwKeys.Escape && action == GlfwActionState.Released) flagRunning = false; }