Defines | Functions
win32_window.c File Reference
#include "internal.h"
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
#include <windowsx.h>
#include <shellapi.h>
Include dependency graph for win32_window.c:

Go to the source code of this file.

Defines

#define _GLFW_KEY_INVALID   -2
#define _GLFW_WNDCLASSNAME   L"GLFW30"

Functions

void _glfwPlatformApplyCursorMode (_GLFWwindow *window)
 Applies the cursor mode of the specified window to the system.
int _glfwPlatformCreateCursor (_GLFWcursor *cursor, const GLFWimage *image, int xhot, int yhot)
int _glfwPlatformCreateStandardCursor (_GLFWcursor *cursor, int shape)
int _glfwPlatformCreateWindow (_GLFWwindow *window, const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
void _glfwPlatformDestroyCursor (_GLFWcursor *cursor)
void _glfwPlatformDestroyWindow (_GLFWwindow *window)
const char * _glfwPlatformGetClipboardString (_GLFWwindow *window)
void _glfwPlatformGetCursorPos (_GLFWwindow *window, double *xpos, double *ypos)
void _glfwPlatformGetFramebufferSize (_GLFWwindow *window, int *width, int *height)
void _glfwPlatformGetWindowFrameSize (_GLFWwindow *window, int *left, int *top, int *right, int *bottom)
void _glfwPlatformGetWindowPos (_GLFWwindow *window, int *xpos, int *ypos)
void _glfwPlatformGetWindowSize (_GLFWwindow *window, int *width, int *height)
void _glfwPlatformHideWindow (_GLFWwindow *window)
void _glfwPlatformIconifyWindow (_GLFWwindow *window)
void _glfwPlatformPollEvents (void)
void _glfwPlatformPostEmptyEvent (void)
void _glfwPlatformRestoreWindow (_GLFWwindow *window)
void _glfwPlatformSetClipboardString (_GLFWwindow *window, const char *string)
void _glfwPlatformSetCursor (_GLFWwindow *window, _GLFWcursor *cursor)
void _glfwPlatformSetCursorPos (_GLFWwindow *window, double xpos, double ypos)
void _glfwPlatformSetWindowPos (_GLFWwindow *window, int xpos, int ypos)
void _glfwPlatformSetWindowSize (_GLFWwindow *window, int width, int height)
void _glfwPlatformSetWindowTitle (_GLFWwindow *window, const char *title)
void _glfwPlatformShowWindow (_GLFWwindow *window)
void _glfwPlatformUnhideWindow (_GLFWwindow *window)
void _glfwPlatformWaitEvents (void)
int _glfwPlatformWindowFocused (_GLFWwindow *window)
 Returns whether the window is focused.
int _glfwPlatformWindowIconified (_GLFWwindow *window)
 Returns whether the window is iconified.
int _glfwPlatformWindowVisible (_GLFWwindow *window)
 Returns whether the window is visible.
GLboolean _glfwRegisterWindowClass (void)
void _glfwUnregisterWindowClass (void)
static int createWindow (_GLFWwindow *window, const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
static void destroyWindow (_GLFWwindow *window)
static void disableCursor (_GLFWwindow *window)
static GLboolean enterFullscreenMode (_GLFWwindow *window)
static int getAsyncKeyMods (void)
static void getFullWindowSize (_GLFWwindow *window, int clientWidth, int clientHeight, int *fullWidth, int *fullHeight)
static int getKeyMods (void)
static DWORD getWindowExStyle (const _GLFWwindow *window)
static DWORD getWindowStyle (const _GLFWwindow *window)
GLFWAPI HWND glfwGetWin32Window (GLFWwindow *handle)
static void hideCursor (_GLFWwindow *window)
static void leaveFullscreenMode (_GLFWwindow *window)
static void restoreCursor (_GLFWwindow *window)
static LPWSTR translateCursorShape (int shape)
static int translateKey (WPARAM wParam, LPARAM lParam)
static void updateClipRect (_GLFWwindow *window)
static LRESULT CALLBACK windowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)

Define Documentation

#define _GLFW_KEY_INVALID   -2

Definition at line 36 of file win32_window.c.

#define _GLFW_WNDCLASSNAME   L"GLFW30"

Definition at line 38 of file win32_window.c.


Function Documentation

Definition at line 753 of file win32_window.c.

Definition at line 787 of file win32_window.c.

static int createWindow ( _GLFWwindow window,
const _GLFWwndconfig wndconfig,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
) [static]

Definition at line 650 of file win32_window.c.

static void destroyWindow ( _GLFWwindow window) [static]

Definition at line 735 of file win32_window.c.

static void disableCursor ( _GLFWwindow window) [static]

Definition at line 100 of file win32_window.c.

static GLboolean enterFullscreenMode ( _GLFWwindow window) [static]

Definition at line 238 of file win32_window.c.

static int getAsyncKeyMods ( void  ) [static]

Definition at line 176 of file win32_window.c.

static void getFullWindowSize ( _GLFWwindow window,
int  clientWidth,
int  clientHeight,
int fullWidth,
int fullHeight 
) [static]

Definition at line 637 of file win32_window.c.

static int getKeyMods ( void  ) [static]

Definition at line 158 of file win32_window.c.

static DWORD getWindowExStyle ( const _GLFWwindow window) [static]

Definition at line 62 of file win32_window.c.

static DWORD getWindowStyle ( const _GLFWwindow window) [static]

Definition at line 43 of file win32_window.c.

Definition at line 1306 of file win32_window.c.

static void hideCursor ( _GLFWwindow window) [static]

Definition at line 85 of file win32_window.c.

static void leaveFullscreenMode ( _GLFWwindow window) [static]

Definition at line 257 of file win32_window.c.

static void restoreCursor ( _GLFWwindow window) [static]

Definition at line 115 of file win32_window.c.

static LPWSTR translateCursorShape ( int  shape) [static]

Definition at line 135 of file win32_window.c.

static int translateKey ( WPARAM  wParam,
LPARAM  lParam 
) [static]

Definition at line 194 of file win32_window.c.

static void updateClipRect ( _GLFWwindow window) [static]

Definition at line 74 of file win32_window.c.

static LRESULT CALLBACK windowProc ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
) [static]

Definition at line 264 of file win32_window.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40