Add SetMouseCursorImage() and ClearMouseCursorImage() stubs for all non-GLFW platforms

This commit is contained in:
Ananyo Bhattacharya 2026-03-15 12:33:51 +05:30
parent 7b4d4989d1
commit 817acf8c34
9 changed files with 1898 additions and 1799 deletions

View File

@ -727,6 +727,17 @@ void SetMouseCursor(int cursor)
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{

File diff suppressed because it is too large Load Diff

View File

@ -1354,6 +1354,17 @@ void SetMouseCursor(int cursor)
CORE.Input.Mouse.cursor = cursor;
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{

View File

@ -1303,6 +1303,17 @@ void SetMouseCursor(int cursor)
CORE.Input.Mouse.cursorHidden = false;
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{

View File

@ -1055,6 +1055,17 @@ void SetMouseCursor(int cursor)
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{

View File

@ -425,6 +425,17 @@ void SetMouseCursor(int cursor)
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{

View File

@ -395,6 +395,17 @@ void SetMouseCursor(int cursor)
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name.
const char *GetKeyName(int key)
{

View File

@ -1066,6 +1066,17 @@ void SetMouseCursor(int cursor)
}
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{

View File

@ -1039,6 +1039,17 @@ void SetMouseCursor(int cursor)
}
}
void SetMouseCursorImage(Image image, int hotX, int hotY)
{
TRACELOG(LOG_WARNING, "SetMouseCursorImage() not implemented on target platform");
}
void ClearMouseCursorImage(void)
{
TRACELOG(LOG_WARNING, "ClearMouseCursorImage() not implemented on target platform");
}
// Get physical key name
const char *GetKeyName(int key)
{