Removed monitor user pointer.

This commit is contained in:
Camilla Berglund 2013-01-02 00:41:37 +01:00
parent 835f00eb10
commit 4305c76049
3 changed files with 0 additions and 20 deletions

View File

@ -1024,23 +1024,6 @@ GLFWAPI int glfwGetMonitorParam(GLFWmonitor monitor, int param);
*/
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.
* @param[in] cbfun The new callback, or @c NULL to remove the currently set.
* @ingroup monitor

View File

@ -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>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>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>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>

View File

@ -227,8 +227,6 @@ struct _GLFWwindow
//------------------------------------------------------------------------
struct _GLFWmonitor
{
void* userPointer;
char* name;
GLboolean primary;