Functions
Event interface

The interface used by the platform-specific code to report events. More...

Functions

void _glfwInputChar (_GLFWwindow *window, unsigned int codepoint, int mods, int plain)
 Notifies shared code of a Unicode character input event. More...
 
void _glfwInputCursorEnter (_GLFWwindow *window, int entered)
 Notifies shared code of a cursor enter/leave event. More...
 
void _glfwInputCursorMotion (_GLFWwindow *window, double x, double y)
 Notifies shared code of a cursor motion event. More...
 
void _glfwInputDrop (_GLFWwindow *window, int count, const char **names)
 Notifies dropped object over window. More...
 
void _glfwInputError (int error, const char *format,...)
 Notifies shared code of an error. More...
 
void _glfwInputFramebufferSize (_GLFWwindow *window, int width, int height)
 Notifies shared code of a framebuffer resize event. More...
 
void _glfwInputKey (_GLFWwindow *window, int key, int scancode, int action, int mods)
 Notifies shared code of a physical key event. More...
 
void _glfwInputMonitorChange (void)
 
void _glfwInputMouseClick (_GLFWwindow *window, int button, int action, int mods)
 Notifies shared code of a mouse button click event. More...
 
void _glfwInputScroll (_GLFWwindow *window, double x, double y)
 Notifies shared code of a scroll event. More...
 
void _glfwInputWindowCloseRequest (_GLFWwindow *window)
 Notifies shared code of a window close request event. More...
 
void _glfwInputWindowFocus (_GLFWwindow *window, GLboolean focused)
 Notifies shared code of a window focus event. More...
 
void _glfwInputWindowIconify (_GLFWwindow *window, int iconified)
 Notifies shared code of a window iconification event. More...
 
void _glfwInputWindowPos (_GLFWwindow *window, int xpos, int ypos)
 Notifies shared code of a window movement event. More...
 
void _glfwInputWindowSize (_GLFWwindow *window, int width, int height)
 Notifies shared code of a window resize event. More...
 

Detailed Description

The interface used by the platform-specific code to report events.

The event API is used by the platform-specific code to notify the shared code of events that can be translated into state changes and/or callback calls.

Function Documentation

void _glfwInputChar ( _GLFWwindow window,
unsigned int  codepoint,
int  mods,
int  plain 
)

Notifies shared code of a Unicode character input event.

Parameters
[in]windowThe window that received the event.
[in]codepointThe Unicode code point of the input character.
[in]modsBit field describing which modifier keys were held down.
[in]plainGL_TRUE if the character is regular text input, or GL_FALSE otherwise.

Definition at line 159 of file input.c.

void _glfwInputCursorEnter ( _GLFWwindow window,
int  entered 
)

Notifies shared code of a cursor enter/leave event.

Parameters
[in]windowThe window that received the event.
[in]enteredGL_TRUE if the cursor entered the client area of the window, or GL_FALSE if it left it.

Definition at line 213 of file input.c.

void _glfwInputCursorMotion ( _GLFWwindow window,
double  x,
double  y 
)

Notifies shared code of a cursor motion event.

Parameters
[in]windowThe window that received the event.
[in]xThe new x-coordinate of the cursor, relative to the left edge of the client area of the window.
[in]yThe new y-coordinate of the cursor, relative to the top edge of the client area of the window.

Definition at line 195 of file input.c.

void _glfwInputDrop ( _GLFWwindow window,
int  count,
const char **  names 
)

Notifies dropped object over window.

Parameters
[in]windowThe window that received the event.
[in]countThe number of dropped objects.
[in]namesThe names of the dropped objects.

Definition at line 219 of file input.c.

void _glfwInputError ( int  error,
const char *  format,
  ... 
)

Notifies shared code of an error.

Parameters
[in]errorThe error code most suitable for the error.
[in]formatThe printf style format string of the error description.

Definition at line 85 of file examples/third_party/glfw/src/init.c.

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

Notifies shared code of a framebuffer resize event.

Parameters
[in]windowThe window that received the event.
[in]widthThe new width, in pixels, of the framebuffer.
[in]heightThe new height, in pixels, of the framebuffer.

Definition at line 91 of file window.c.

void _glfwInputKey ( _GLFWwindow window,
int  key,
int  scancode,
int  action,
int  mods 
)

Notifies shared code of a physical key event.

Parameters
[in]windowThe window that received the event.
[in]keyThe key that was pressed or released.
[in]scancodeThe system-specific scan code of the key.
[in]actionGLFW_PRESS or GLFW_RELEASE.
[in]modsThe modifiers pressed when the event was generated.

Definition at line 134 of file input.c.

void _glfwInputMonitorChange ( void  )

Definition at line 89 of file monitor.c.

void _glfwInputMouseClick ( _GLFWwindow window,
int  button,
int  action,
int  mods 
)

Notifies shared code of a mouse button click event.

Parameters
[in]windowThe window that received the event.
[in]buttonThe button that was pressed or released.
[in]actionGLFW_PRESS or GLFW_RELEASE.

Definition at line 180 of file input.c.

void _glfwInputScroll ( _GLFWwindow window,
double  x,
double  y 
)

Notifies shared code of a scroll event.

Parameters
[in]windowThe window that received the event.
[in]xThe scroll offset along the x-axis.
[in]yThe scroll offset along the y-axis.

Definition at line 174 of file input.c.

void _glfwInputWindowCloseRequest ( _GLFWwindow window)

Notifies shared code of a window close request event.

Parameters
[in]windowThe window that received the event.

Definition at line 103 of file window.c.

void _glfwInputWindowFocus ( _GLFWwindow window,
GLboolean  focused 
)

Notifies shared code of a window focus event.

Parameters
[in]windowThe window that received the event.
[in]focusedGL_TRUE if the window received focus, or GL_FALSE if it lost focus.

Definition at line 39 of file window.c.

void _glfwInputWindowIconify ( _GLFWwindow window,
int  iconified 
)

Notifies shared code of a window iconification event.

Parameters
[in]windowThe window that received the event.
[in]iconifiedGL_TRUE if the window was iconified, or GL_FALSE if it was restored.

Definition at line 85 of file window.c.

void _glfwInputWindowPos ( _GLFWwindow window,
int  xpos,
int  ypos 
)

Notifies shared code of a window movement event.

Parameters
[in]windowThe window that received the event.
[in]xposThe new x-coordinate of the client area of the window.
[in]yposThe new y-coordinate of the client area of the window.

Definition at line 73 of file window.c.

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

Notifies shared code of a window resize event.

Parameters
[in]windowThe window that received the event.
[in]widthThe new width of the client area of the window.
[in]heightThe new height of the client area of the window.

Definition at line 79 of file window.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:19