Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
win32_window.c File Reference
#include "internal.h"
#include <limits.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.

Functions

GLFWbool _glfwRegisterWindowClassWin32 (void)
 
void _glfwUnregisterWindowClassWin32 (void)
 
int _glfwPlatformCreateWindow (_GLFWwindow *window, const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
void _glfwPlatformDestroyWindow (_GLFWwindow *window)
 
void _glfwPlatformSetWindowTitle (_GLFWwindow *window, const char *title)
 
void _glfwPlatformSetWindowIcon (_GLFWwindow *window, int count, const GLFWimage *images)
 
void _glfwPlatformGetWindowPos (_GLFWwindow *window, int *xpos, int *ypos)
 
void _glfwPlatformSetWindowPos (_GLFWwindow *window, int xpos, int ypos)
 
void _glfwPlatformGetWindowSize (_GLFWwindow *window, int *width, int *height)
 
void _glfwPlatformSetWindowSize (_GLFWwindow *window, int width, int height)
 
void _glfwPlatformSetWindowSizeLimits (_GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight)
 
void _glfwPlatformSetWindowAspectRatio (_GLFWwindow *window, int numer, int denom)
 
void _glfwPlatformGetFramebufferSize (_GLFWwindow *window, int *width, int *height)
 
void _glfwPlatformGetWindowFrameSize (_GLFWwindow *window, int *left, int *top, int *right, int *bottom)
 
void _glfwPlatformGetWindowContentScale (_GLFWwindow *window, float *xscale, float *yscale)
 
void _glfwPlatformIconifyWindow (_GLFWwindow *window)
 
void _glfwPlatformRestoreWindow (_GLFWwindow *window)
 
void _glfwPlatformMaximizeWindow (_GLFWwindow *window)
 
void _glfwPlatformShowWindow (_GLFWwindow *window)
 
void _glfwPlatformHideWindow (_GLFWwindow *window)
 
void _glfwPlatformRequestWindowAttention (_GLFWwindow *window)
 
void _glfwPlatformFocusWindow (_GLFWwindow *window)
 
void _glfwPlatformSetWindowMonitor (_GLFWwindow *window, _GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate)
 
int _glfwPlatformWindowFocused (_GLFWwindow *window)
 
int _glfwPlatformWindowIconified (_GLFWwindow *window)
 
int _glfwPlatformWindowVisible (_GLFWwindow *window)
 
int _glfwPlatformWindowMaximized (_GLFWwindow *window)
 
int _glfwPlatformWindowHovered (_GLFWwindow *window)
 
int _glfwPlatformFramebufferTransparent (_GLFWwindow *window)
 
void _glfwPlatformSetWindowResizable (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowDecorated (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowFloating (_GLFWwindow *window, GLFWbool enabled)
 
void _glfwPlatformSetWindowMousePassthrough (_GLFWwindow *window, GLFWbool enabled)
 
float _glfwPlatformGetWindowOpacity (_GLFWwindow *window)
 
void _glfwPlatformSetWindowOpacity (_GLFWwindow *window, float opacity)
 
void _glfwPlatformSetRawMouseMotion (_GLFWwindow *window, GLFWbool enabled)
 
GLFWbool _glfwPlatformRawMouseMotionSupported (void)
 
void _glfwPlatformPollEvents (void)
 
void _glfwPlatformWaitEvents (void)
 
void _glfwPlatformWaitEventsTimeout (double timeout)
 
void _glfwPlatformPostEmptyEvent (void)
 
void _glfwPlatformGetCursorPos (_GLFWwindow *window, double *xpos, double *ypos)
 
void _glfwPlatformSetCursorPos (_GLFWwindow *window, double xpos, double ypos)
 
void _glfwPlatformSetCursorMode (_GLFWwindow *window, int mode)
 
const char * _glfwPlatformGetScancodeName (int scancode)
 
int _glfwPlatformGetKeyScancode (int key)
 
int _glfwPlatformCreateCursor (_GLFWcursor *cursor, const GLFWimage *image, int xhot, int yhot)
 
int _glfwPlatformCreateStandardCursor (_GLFWcursor *cursor, int shape)
 
void _glfwPlatformDestroyCursor (_GLFWcursor *cursor)
 
void _glfwPlatformSetCursor (_GLFWwindow *window, _GLFWcursor *cursor)
 
void _glfwPlatformSetClipboardString (const char *string)
 
const char * _glfwPlatformGetClipboardString (void)
 
EGLenum _glfwPlatformGetEGLPlatform (EGLint **attribs)
 
EGLNativeDisplayType _glfwPlatformGetEGLNativeDisplay (void)
 
EGLNativeWindowType _glfwPlatformGetEGLNativeWindow (_GLFWwindow *window)
 
void _glfwPlatformGetRequiredInstanceExtensions (char **extensions)
 
int _glfwPlatformGetPhysicalDevicePresentationSupport (VkInstance instance, VkPhysicalDevice device, uint32_t queuefamily)
 
VkResult _glfwPlatformCreateWindowSurface (VkInstance instance, _GLFWwindow *window, const VkAllocationCallbacks *allocator, VkSurfaceKHR *surface)
 
GLFWAPI HWND glfwGetWin32Window (GLFWwindow *handle)
 

Function Documentation

◆ _glfwPlatformCreateCursor()

int _glfwPlatformCreateCursor ( _GLFWcursor cursor,
const GLFWimage image,
int  xhot,
int  yhot 
)

Definition at line 2123 of file win32_window.c.

◆ _glfwPlatformCreateStandardCursor()

int _glfwPlatformCreateStandardCursor ( _GLFWcursor cursor,
int  shape 
)

Definition at line 2134 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformCreateWindow()

int _glfwPlatformCreateWindow ( _GLFWwindow window,
const _GLFWwndconfig wndconfig,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 1396 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformCreateWindowSurface()

VkResult _glfwPlatformCreateWindowSurface ( VkInstance  instance,
_GLFWwindow window,
const VkAllocationCallbacks allocator,
VkSurfaceKHR surface 
)

Definition at line 2360 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformDestroyCursor()

void _glfwPlatformDestroyCursor ( _GLFWcursor cursor)

Definition at line 2188 of file win32_window.c.

◆ _glfwPlatformDestroyWindow()

void _glfwPlatformDestroyWindow ( _GLFWwindow window)

Definition at line 1440 of file win32_window.c.

◆ _glfwPlatformFocusWindow()

void _glfwPlatformFocusWindow ( _GLFWwindow window)

Definition at line 1697 of file win32_window.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformFramebufferTransparent()

int _glfwPlatformFramebufferTransparent ( _GLFWwindow window)

Definition at line 1839 of file win32_window.c.

◆ _glfwPlatformGetClipboardString()

const char * _glfwPlatformGetClipboardString ( void  )

Definition at line 2243 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformGetCursorPos()

void _glfwPlatformGetCursorPos ( _GLFWwindow window,
double *  xpos,
double *  ypos 
)

Definition at line 2066 of file win32_window.c.

◆ _glfwPlatformGetEGLNativeDisplay()

EGLNativeDisplayType _glfwPlatformGetEGLNativeDisplay ( void  )

Definition at line 2323 of file win32_window.c.

◆ _glfwPlatformGetEGLNativeWindow()

EGLNativeWindowType _glfwPlatformGetEGLNativeWindow ( _GLFWwindow window)

Definition at line 2328 of file win32_window.c.

◆ _glfwPlatformGetEGLPlatform()

EGLenum _glfwPlatformGetEGLPlatform ( EGLint **  attribs)

Definition at line 2282 of file win32_window.c.

◆ _glfwPlatformGetFramebufferSize()

void _glfwPlatformGetFramebufferSize ( _GLFWwindow window,
int *  width,
int *  height 
)

Definition at line 1622 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformGetKeyScancode()

int _glfwPlatformGetKeyScancode ( int  key)

Definition at line 2118 of file win32_window.c.

◆ _glfwPlatformGetPhysicalDevicePresentationSupport()

int _glfwPlatformGetPhysicalDevicePresentationSupport ( VkInstance  instance,
VkPhysicalDevice  device,
uint32_t  queuefamily 
)

Definition at line 2342 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformGetRequiredInstanceExtensions()

void _glfwPlatformGetRequiredInstanceExtensions ( char **  extensions)

Definition at line 2333 of file win32_window.c.

◆ _glfwPlatformGetScancodeName()

const char * _glfwPlatformGetScancodeName ( int  scancode)

Definition at line 2106 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformGetWindowContentScale()

void _glfwPlatformGetWindowContentScale ( _GLFWwindow window,
float *  xscale,
float *  yscale 
)

Definition at line 1659 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformGetWindowFrameSize()

void _glfwPlatformGetWindowFrameSize ( _GLFWwindow window,
int *  left,
int *  top,
int *  right,
int *  bottom 
)

Definition at line 1627 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformGetWindowOpacity()

float _glfwPlatformGetWindowOpacity ( _GLFWwindow window)

Definition at line 1913 of file win32_window.c.

◆ _glfwPlatformGetWindowPos()

void _glfwPlatformGetWindowPos ( _GLFWwindow window,
int *  xpos,
int *  ypos 
)

Definition at line 1514 of file win32_window.c.

◆ _glfwPlatformGetWindowSize()

void _glfwPlatformGetWindowSize ( _GLFWwindow window,
int *  width,
int *  height 
)

Definition at line 1545 of file win32_window.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformHideWindow()

void _glfwPlatformHideWindow ( _GLFWwindow window)

Definition at line 1687 of file win32_window.c.

◆ _glfwPlatformIconifyWindow()

void _glfwPlatformIconifyWindow ( _GLFWwindow window)

Definition at line 1667 of file win32_window.c.

◆ _glfwPlatformMaximizeWindow()

void _glfwPlatformMaximizeWindow ( _GLFWwindow window)

Definition at line 1677 of file win32_window.c.

◆ _glfwPlatformPollEvents()

void _glfwPlatformPollEvents ( void  )

Definition at line 1965 of file win32_window.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwPlatformPostEmptyEvent()

void _glfwPlatformPostEmptyEvent ( void  )

Definition at line 2061 of file win32_window.c.

◆ _glfwPlatformRawMouseMotionSupported()

GLFWbool _glfwPlatformRawMouseMotionSupported ( void  )

Definition at line 1960 of file win32_window.c.

◆ _glfwPlatformRequestWindowAttention()

void _glfwPlatformRequestWindowAttention ( _GLFWwindow window)

Definition at line 1692 of file win32_window.c.

◆ _glfwPlatformRestoreWindow()

void _glfwPlatformRestoreWindow ( _GLFWwindow window)

Definition at line 1672 of file win32_window.c.

◆ _glfwPlatformSetClipboardString()

void _glfwPlatformSetClipboardString ( const char *  string)

Definition at line 2200 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformSetCursor()

void _glfwPlatformSetCursor ( _GLFWwindow window,
_GLFWcursor cursor 
)

Definition at line 2194 of file win32_window.c.

◆ _glfwPlatformSetCursorMode()

void _glfwPlatformSetCursorMode ( _GLFWwindow window,
int  mode 
)

Definition at line 2093 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformSetCursorPos()

void _glfwPlatformSetCursorPos ( _GLFWwindow window,
double  xpos,
double  ypos 
)

Definition at line 2081 of file win32_window.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformSetRawMouseMotion()

void _glfwPlatformSetRawMouseMotion ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1949 of file win32_window.c.

◆ _glfwPlatformSetWindowAspectRatio()

void _glfwPlatformSetWindowAspectRatio ( _GLFWwindow window,
int  numer,
int  denom 
)

Definition at line 1607 of file win32_window.c.

◆ _glfwPlatformSetWindowDecorated()

void _glfwPlatformSetWindowDecorated ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1871 of file win32_window.c.

◆ _glfwPlatformSetWindowFloating()

void _glfwPlatformSetWindowFloating ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1876 of file win32_window.c.

◆ _glfwPlatformSetWindowIcon()

void _glfwPlatformSetWindowIcon ( _GLFWwindow window,
int  count,
const GLFWimage images 
)

Definition at line 1475 of file win32_window.c.

◆ _glfwPlatformSetWindowMonitor()

void _glfwPlatformSetWindowMonitor ( _GLFWwindow window,
_GLFWmonitor monitor,
int  xpos,
int  ypos,
int  width,
int  height,
int  refreshRate 
)

Definition at line 1704 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformSetWindowMousePassthrough()

void _glfwPlatformSetWindowMousePassthrough ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1883 of file win32_window.c.

◆ _glfwPlatformSetWindowOpacity()

void _glfwPlatformSetWindowOpacity ( _GLFWwindow window,
float  opacity 
)

Definition at line 1928 of file win32_window.c.

◆ _glfwPlatformSetWindowPos()

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

Definition at line 1525 of file win32_window.c.

◆ _glfwPlatformSetWindowResizable()

void _glfwPlatformSetWindowResizable ( _GLFWwindow window,
GLFWbool  enabled 
)

Definition at line 1866 of file win32_window.c.

◆ _glfwPlatformSetWindowSize()

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

Definition at line 1556 of file win32_window.c.

◆ _glfwPlatformSetWindowSizeLimits()

void _glfwPlatformSetWindowSizeLimits ( _GLFWwindow window,
int  minwidth,
int  minheight,
int  maxwidth,
int  maxheight 
)

Definition at line 1588 of file win32_window.c.

◆ _glfwPlatformSetWindowTitle()

void _glfwPlatformSetWindowTitle ( _GLFWwindow window,
const char *  title 
)

Definition at line 1465 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformShowWindow()

void _glfwPlatformShowWindow ( _GLFWwindow window)

Definition at line 1682 of file win32_window.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformWaitEvents()

void _glfwPlatformWaitEvents ( void  )

Definition at line 2047 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformWaitEventsTimeout()

void _glfwPlatformWaitEventsTimeout ( double  timeout)

Definition at line 2054 of file win32_window.c.

+ Here is the call graph for this function:

◆ _glfwPlatformWindowFocused()

int _glfwPlatformWindowFocused ( _GLFWwindow window)

Definition at line 1814 of file win32_window.c.

+ Here is the caller graph for this function:

◆ _glfwPlatformWindowHovered()

int _glfwPlatformWindowHovered ( _GLFWwindow window)

Definition at line 1834 of file win32_window.c.

◆ _glfwPlatformWindowIconified()

int _glfwPlatformWindowIconified ( _GLFWwindow window)

Definition at line 1819 of file win32_window.c.

◆ _glfwPlatformWindowMaximized()

int _glfwPlatformWindowMaximized ( _GLFWwindow window)

Definition at line 1829 of file win32_window.c.

◆ _glfwPlatformWindowVisible()

int _glfwPlatformWindowVisible ( _GLFWwindow window)

Definition at line 1824 of file win32_window.c.

◆ _glfwRegisterWindowClassWin32()

GLFWbool _glfwRegisterWindowClassWin32 ( void  )

Definition at line 1350 of file win32_window.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwUnregisterWindowClassWin32()

void _glfwUnregisterWindowClassWin32 ( void  )

Definition at line 1386 of file win32_window.c.

+ Here is the caller graph for this function:

◆ glfwGetWin32Window()

GLFWAPI HWND glfwGetWin32Window ( GLFWwindow handle)

Definition at line 2399 of file win32_window.c.

+ Here is the caller graph for this function: