コード例 #1
0
ファイル: Monitor.cs プロジェクト: PlumpMath/GLFWSharp
 public static GLFWmonitorfun setMonitorCallback(GLFWmonitorfun cbfun)
 {
     return(Glfwint.setMonitorCallback(cbfun));
 }
コード例 #2
0
 public static extern GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun);
コード例 #3
0
ファイル: GLFW3.Bindings.cs プロジェクト: lodico/glfw-net
 /*! @brief Sets the monitor configuration callback.
  *
  *  This function sets the monitor configuration callback, or removes the
  *  currently set callback.  This is called when a monitor is connected to or
  *  disconnected from the system.
  *
  *  @param[in] cbfun The new callback, or `NULL` to remove the currently set
  *  callback.
  *  @return The previously set callback, or `NULL` if no callback was set or the
  *  library had not been [initialized](@ref intro_init).
  *
  *  @bug __X11:__ This callback is not yet called on monitor configuration
  *  changes.
  *
  *  @par Thread Safety
  *  This function may only be called from the main thread.
  *
  *  @sa @ref monitor_event
  *
  *  @since Added in GLFW 3.0.
  *
  *  @ingroup monitor
  */
 internal static extern GLFWmonitorfun glfwSetMonitorCallback(GLFWmonitorfun cbfun);