Functions
window.c File Reference
#include "internal.h"
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <float.h>
Include dependency graph for window.c:

Go to the source code of this file.

Functions

void _glfwInputFramebufferSize (_GLFWwindow *window, int width, int height)
 
void _glfwInputWindowCloseRequest (_GLFWwindow *window)
 
void _glfwInputWindowContentScale (_GLFWwindow *window, float xscale, float yscale)
 
void _glfwInputWindowDamage (_GLFWwindow *window)
 
void _glfwInputWindowFocus (_GLFWwindow *window, GLFWbool focused)
 
void _glfwInputWindowIconify (_GLFWwindow *window, GLFWbool iconified)
 
void _glfwInputWindowMaximize (_GLFWwindow *window, GLFWbool maximized)
 
void _glfwInputWindowMonitor (_GLFWwindow *window, _GLFWmonitor *monitor)
 
void _glfwInputWindowPos (_GLFWwindow *window, int x, int y)
 
void _glfwInputWindowSize (_GLFWwindow *window, int width, int height)
 
GLFWAPI GLFWwindowglfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)
 Creates a window and its associated context. More...
 
void glfwDefaultWindowHints (void)
 Resets all window hints to their default values. More...
 
GLFWAPI void glfwDestroyWindow (GLFWwindow *handle)
 Destroys the specified window and its context. More...
 
GLFWAPI void glfwFocusWindow (GLFWwindow *handle)
 Brings the specified window to front and sets input focus. More...
 
GLFWAPI void glfwGetFramebufferSize (GLFWwindow *handle, int *width, int *height)
 Retrieves the size of the framebuffer of the specified window. More...
 
GLFWAPI int glfwGetWindowAttrib (GLFWwindow *handle, int attrib)
 Returns an attribute of the specified window. More...
 
GLFWAPI void glfwGetWindowContentScale (GLFWwindow *handle, float *xscale, float *yscale)
 Retrieves the content scale for the specified window. More...
 
GLFWAPI void glfwGetWindowFrameSize (GLFWwindow *handle, int *left, int *top, int *right, int *bottom)
 Retrieves the size of the frame of the window. More...
 
GLFWAPI GLFWmonitorglfwGetWindowMonitor (GLFWwindow *handle)
 Returns the monitor that the window uses for full screen mode. More...
 
GLFWAPI float glfwGetWindowOpacity (GLFWwindow *handle)
 Returns the opacity of the whole window. More...
 
GLFWAPI void glfwGetWindowPos (GLFWwindow *handle, int *xpos, int *ypos)
 Retrieves the position of the client area of the specified window. More...
 
GLFWAPI void glfwGetWindowSize (GLFWwindow *handle, int *width, int *height)
 Retrieves the size of the client area of the specified window. More...
 
GLFWAPI voidglfwGetWindowUserPointer (GLFWwindow *handle)
 Returns the user pointer of the specified window. More...
 
GLFWAPI void glfwHideWindow (GLFWwindow *handle)
 Hides the specified window. More...
 
GLFWAPI void glfwIconifyWindow (GLFWwindow *handle)
 Iconifies the specified window. More...
 
GLFWAPI void glfwMaximizeWindow (GLFWwindow *handle)
 Maximizes the specified window. More...
 
GLFWAPI void glfwPollEvents (void)
 Processes all pending events. More...
 
GLFWAPI void glfwPostEmptyEvent (void)
 Posts an empty event to the event queue. More...
 
GLFWAPI void glfwRequestWindowAttention (GLFWwindow *handle)
 Requests user attention to the specified window. More...
 
GLFWAPI void glfwRestoreWindow (GLFWwindow *handle)
 Restores the specified window. More...
 
GLFWAPI GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *handle, GLFWframebuffersizefun cbfun)
 Sets the framebuffer resize callback for the specified window. More...
 
GLFWAPI void glfwSetWindowAspectRatio (GLFWwindow *handle, int numer, int denom)
 Sets the aspect ratio of the specified window. More...
 
GLFWAPI void glfwSetWindowAttrib (GLFWwindow *handle, int attrib, int value)
 Sets an attribute of the specified window. More...
 
GLFWAPI GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *handle, GLFWwindowclosefun cbfun)
 Sets the close callback for the specified window. More...
 
GLFWAPI GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindow *handle, GLFWwindowcontentscalefun cbfun)
 Sets the window content scale callback for the specified window. More...
 
GLFWAPI GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *handle, GLFWwindowfocusfun cbfun)
 Sets the focus callback for the specified window. More...
 
GLFWAPI void glfwSetWindowIcon (GLFWwindow *handle, int count, const GLFWimage *images)
 Sets the icon for the specified window. More...
 
GLFWAPI GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *handle, GLFWwindowiconifyfun cbfun)
 Sets the iconify callback for the specified window. More...
 
GLFWAPI GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindow *handle, GLFWwindowmaximizefun cbfun)
 Sets the maximize callback for the specified window. More...
 
GLFWAPI void glfwSetWindowMonitor (GLFWwindow *wh, GLFWmonitor *mh, int xpos, int ypos, int width, int height, int refreshRate)
 Sets the mode, monitor, video mode and placement of a window. More...
 
GLFWAPI void glfwSetWindowOpacity (GLFWwindow *handle, float opacity)
 Sets the opacity of the whole window. More...
 
GLFWAPI void glfwSetWindowPos (GLFWwindow *handle, int xpos, int ypos)
 Sets the position of the client area of the specified window. More...
 
GLFWAPI GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *handle, GLFWwindowposfun cbfun)
 Sets the position callback for the specified window. More...
 
GLFWAPI GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *handle, GLFWwindowrefreshfun cbfun)
 Sets the refresh callback for the specified window. More...
 
GLFWAPI void glfwSetWindowShouldClose (GLFWwindow *handle, int value)
 Sets the close flag of the specified window. More...
 
GLFWAPI void glfwSetWindowSize (GLFWwindow *handle, int width, int height)
 Sets the size of the client area of the specified window. More...
 
GLFWAPI GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *handle, GLFWwindowsizefun cbfun)
 Sets the size callback for the specified window. More...
 
GLFWAPI void glfwSetWindowSizeLimits (GLFWwindow *handle, int minwidth, int minheight, int maxwidth, int maxheight)
 Sets the size limits of the specified window. More...
 
GLFWAPI void glfwSetWindowTitle (GLFWwindow *handle, const char *title)
 Sets the title of the specified window. More...
 
GLFWAPI void glfwSetWindowUserPointer (GLFWwindow *handle, void *pointer)
 Sets the user pointer of the specified window. More...
 
GLFWAPI void glfwShowWindow (GLFWwindow *handle)
 Makes the specified window visible. More...
 
GLFWAPI void glfwWaitEvents (void)
 Waits until events are queued and processes them. More...
 
GLFWAPI void glfwWaitEventsTimeout (double timeout)
 Waits with timeout until events are queued and processes them. More...
 
GLFWAPI void glfwWindowHint (int hint, int value)
 Sets the specified window hint to the desired value. More...
 
GLFWAPI void glfwWindowHintString (int hint, const char *value)
 Sets the specified window hint to the desired value. More...
 
GLFWAPI int glfwWindowShouldClose (GLFWwindow *handle)
 Checks the close flag of the specified window. More...
 

Function Documentation

void _glfwInputFramebufferSize ( _GLFWwindow window,
int  width,
int  height 
)

Definition at line 106 of file window.c.

void _glfwInputWindowCloseRequest ( _GLFWwindow window)

Definition at line 131 of file window.c.

void _glfwInputWindowContentScale ( _GLFWwindow window,
float  xscale,
float  yscale 
)

Definition at line 115 of file window.c.

void _glfwInputWindowDamage ( _GLFWwindow window)

Definition at line 123 of file window.c.

void _glfwInputWindowFocus ( _GLFWwindow window,
GLFWbool  focused 
)

Definition at line 43 of file window.c.

void _glfwInputWindowIconify ( _GLFWwindow window,
GLFWbool  iconified 
)

Definition at line 89 of file window.c.

void _glfwInputWindowMaximize ( _GLFWwindow window,
GLFWbool  maximized 
)

Definition at line 97 of file window.c.

void _glfwInputWindowMonitor ( _GLFWwindow window,
_GLFWmonitor monitor 
)

Definition at line 141 of file window.c.

void _glfwInputWindowPos ( _GLFWwindow window,
int  x,
int  y 
)

Definition at line 72 of file window.c.

void _glfwInputWindowSize ( _GLFWwindow window,
int  width,
int  height 
)

Definition at line 81 of file window.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:31