Add GetPlatformHandle
This commit is contained in:
parent
fd961deba7
commit
921c1055d2
|
|
@ -424,6 +424,12 @@ void *GetWindowHandle(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -721,6 +721,11 @@ void *GetWindowHandle(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
return platform.handle;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -541,6 +541,12 @@ void *GetWindowHandle(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -682,6 +682,12 @@ void *GetWindowHandle(void)
|
|||
return (void *)platform.window;
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -364,6 +364,12 @@ void *GetWindowHandle(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -201,6 +201,12 @@ void *GetWindowHandle(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -655,6 +655,12 @@ void *GetWindowHandle(void)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void *GetPlatformHandle(void)
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "GetPlatformHandle() not implemented on target platform");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// Get number of monitors
|
||||
int GetMonitorCount(void)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -984,6 +984,7 @@ RLAPI void SetWindowSize(int width, int height); // Set window
|
|||
RLAPI void SetWindowOpacity(float opacity); // Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)
|
||||
RLAPI void SetWindowFocused(void); // Set window focused (only PLATFORM_DESKTOP)
|
||||
RLAPI void *GetWindowHandle(void); // Get native window handle
|
||||
RLAPI void *GetPlatformHandle(void); // Get platform handle (GLFWwindow*, only PLATFORM_DESKTOP)
|
||||
RLAPI int GetScreenWidth(void); // Get current screen width
|
||||
RLAPI int GetScreenHeight(void); // Get current screen height
|
||||
RLAPI int GetRenderWidth(void); // Get current render width (it considers HiDPI)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user