mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00:00
Removed monitor user pointer.
This commit is contained in:
parent
835f00eb10
commit
4305c76049
@ -1024,23 +1024,6 @@ GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param);
|
|||||||
*/
|
*/
|
||||||
GLFWAPI const char* glfwGetMonitorName(GLFWmonitor monitor);
|
GLFWAPI const char* glfwGetMonitorName(GLFWmonitor monitor);
|
||||||
|
|
||||||
/*! @brief Sets the user pointer of the specified monitor.
|
|
||||||
* @param[in] monitor The monitor whose pointer to set.
|
|
||||||
* @param[in] pointer The new value.
|
|
||||||
* @ingroup monitor
|
|
||||||
*
|
|
||||||
* @see glfwGetMonitorUserPointer
|
|
||||||
*/
|
|
||||||
GLFWAPI void glfwSetMonitorUserPointer(GLFWmonitor monitor, void* pointer);
|
|
||||||
|
|
||||||
/*! @brief Returns the user pointer of the specified monitor.
|
|
||||||
* @param[in] monitor The monitor whose pointer to return.
|
|
||||||
* @ingroup monitor
|
|
||||||
*
|
|
||||||
* @sa glfwSetMonitorUserPointer
|
|
||||||
*/
|
|
||||||
GLFWAPI void* glfwGetMonitorUserPointer(GLFWmonitor monitor);
|
|
||||||
|
|
||||||
/*! @brief Sets the monitor configuration callback.
|
/*! @brief Sets the monitor configuration callback.
|
||||||
* @param[in] cbfun The new callback, or @c NULL to remove the currently set.
|
* @param[in] cbfun The new callback, or @c NULL to remove the currently set.
|
||||||
* @ingroup monitor
|
* @ingroup monitor
|
||||||
|
@ -270,7 +270,6 @@ version of GLFW.</p>
|
|||||||
<li>Added <code>GLFWmonitor</code> monitor handle type and updated monitor-related functions to take a monitor handle</li>
|
<li>Added <code>GLFWmonitor</code> monitor handle type and updated monitor-related functions to take a monitor handle</li>
|
||||||
<li>Added <code>glfwGetMonitors</code> and <code>glfwGetPrimaryMonitor</code> for enumerating available monitors</li>
|
<li>Added <code>glfwGetMonitors</code> and <code>glfwGetPrimaryMonitor</code> for enumerating available monitors</li>
|
||||||
<li>Added <code>glfwGetMonitorParam</code> and <code>glfwGetMonitorName</code> for retrieving monitor properties</li>
|
<li>Added <code>glfwGetMonitorParam</code> and <code>glfwGetMonitorName</code> for retrieving monitor properties</li>
|
||||||
<li>Added <code>glfwSetMonitorUserPointer</code> and <code>glfwGetMonitorUserPointer</code> for per-monitor user pointers</li>
|
|
||||||
<li>Added <code>glfwSetMonitorCallback</code> and <code>GLFWmonitorfun</code> for notification of changes in the set of available monitors</li>
|
<li>Added <code>glfwSetMonitorCallback</code> and <code>GLFWmonitorfun</code> for notification of changes in the set of available monitors</li>
|
||||||
<li>Added <code>GLFWwindow</code> window handle type and updated window-related functions and callbacks to take a window handle</li>
|
<li>Added <code>GLFWwindow</code> window handle type and updated window-related functions and callbacks to take a window handle</li>
|
||||||
<li>Added <code>glfwDefaultWindowHints</code> function for resetting all window hints to their default values</li>
|
<li>Added <code>glfwDefaultWindowHints</code> function for resetting all window hints to their default values</li>
|
||||||
|
@ -227,8 +227,6 @@ struct _GLFWwindow
|
|||||||
//------------------------------------------------------------------------
|
//------------------------------------------------------------------------
|
||||||
struct _GLFWmonitor
|
struct _GLFWmonitor
|
||||||
{
|
{
|
||||||
void* userPointer;
|
|
||||||
|
|
||||||
char* name;
|
char* name;
|
||||||
|
|
||||||
GLboolean primary;
|
GLboolean primary;
|
||||||
|
Loading…
Reference in New Issue
Block a user