src/main/java/com/spinyowl/legui/system/context/CallbackKeeper.java
static void registerCallbacks(long window, CallbackKeeper keeper) {
    glfwSetCharCallback(window, keeper.getChainCharCallback());
    glfwSetDropCallback(window, keeper.getChainDropCallback());
    glfwSetKeyCallback(window, keeper.getChainKeyCallback());
    glfwSetScrollCallback(window, keeper.getChainScrollCallback());
    glfwSetCharModsCallback(window, keeper.getChainCharModsCallback());
    glfwSetCursorEnterCallback(window, keeper.getChainCursorEnterCallback());
    glfwSetFramebufferSizeCallback(window, keeper.getChainFramebufferSizeCallback());
    glfwSetMouseButtonCallback(window, keeper.getChainMouseButtonCallback());
    glfwSetCursorPosCallback(window, keeper.getChainCursorPosCallback());
    glfwSetWindowCloseCallback(window, keeper.getChainWindowCloseCallback());
    glfwSetWindowFocusCallback(window, keeper.getChainWindowFocusCallback());
    glfwSetWindowIconifyCallback(window, keeper.getChainWindowIconifyCallback());
    glfwSetWindowPosCallback(window, keeper.getChainWindowPosCallback());
    glfwSetWindowRefreshCallback(window, keeper.getChainWindowRefreshCallback());
    glfwSetWindowSizeCallback(window, keeper.getChainWindowSizeCallback());
  }
/**
   * Used to bind callbacks to OpenGL window. This method could be called only from main thread
   * (Main OpenGL thread).
   *
   * @param window window to bind.
   * @param keeper callback keeper with callbacks.
   */
Used to bind callbacks to OpenGL window. This method could be called only from main thread
(Main OpenGL thread).

@param window window to bind.
@param keeper callback keeper with callbacks.
Used to bind callbacks to OpenGL window . This method could be called only from main thread ( Main OpenGL thread ) . @param window window to bind . @param keeper callback keeper with callbacks .
static void registerCallbacks(long window, CallbackKeeper keeper) {
    glfwSetCharCallback(window, keeper.getChainCharCallback());
    glfwSetDropCallback(window, keeper.getChainDropCallback());
    glfwSetKeyCallback(window, keeper.getChainKeyCallback());
    glfwSetScrollCallback(window, keeper.getChainScrollCallback());
    glfwSetCharModsCallback(window, keeper.getChainCharModsCallback());
    glfwSetCursorEnterCallback(window, keeper.getChainCursorEnterCallback());
    glfwSetFramebufferSizeCallback(window, keeper.getChainFramebufferSizeCallback());
    glfwSetMouseButtonCallback(window, keeper.getChainMouseButtonCallback());
    glfwSetCursorPosCallback(window, keeper.getChainCursorPosCallback());
    glfwSetWindowCloseCallback(window, keeper.getChainWindowCloseCallback());
    glfwSetWindowFocusCallback(window, keeper.getChainWindowFocusCallback());
    glfwSetWindowIconifyCallback(window, keeper.getChainWindowIconifyCallback());
    glfwSetWindowPosCallback(window, keeper.getChainWindowPosCallback());
    glfwSetWindowRefreshCallback(window, keeper.getChainWindowRefreshCallback());
    glfwSetWindowSizeCallback(window, keeper.getChainWindowSizeCallback());
  }
static void registerCallbacks ( long window , CallbackKeeper keeper ) { glfwSetCharCallback ( window , keeper . getChainCharCallback ( ) ) ; glfwSetDropCallback ( window , keeper . getChainDropCallback ( ) ) ; glfwSetKeyCallback ( window , keeper . getChainKeyCallback ( ) ) ; glfwSetScrollCallback ( window , keeper . getChainScrollCallback ( ) ) ; glfwSetCharModsCallback ( window , keeper . getChainCharModsCallback ( ) ) ; glfwSetCursorEnterCallback ( window , keeper . getChainCursorEnterCallback ( ) ) ; glfwSetFramebufferSizeCallback ( window , keeper . getChainFramebufferSizeCallback ( ) ) ; glfwSetMouseButtonCallback ( window , keeper . getChainMouseButtonCallback ( ) ) ; glfwSetCursorPosCallback ( window , keeper . getChainCursorPosCallback ( ) ) ; glfwSetWindowCloseCallback ( window , keeper . getChainWindowCloseCallback ( ) ) ; glfwSetWindowFocusCallback ( window , keeper . getChainWindowFocusCallback ( ) ) ; glfwSetWindowIconifyCallback ( window , keeper . getChainWindowIconifyCallback ( ) ) ; glfwSetWindowPosCallback ( window , keeper . getChainWindowPosCallback ( ) ) ; glfwSetWindowRefreshCallback ( window , keeper . getChainWindowRefreshCallback ( ) ) ; glfwSetWindowSizeCallback ( window , keeper . getChainWindowSizeCallback ( ) ) ; }
Used to bind callbacks to OpenGL window.
Used to bind callbacks to OpenGL window .