Add SetMouseCursorImage() and ClearMouseCursorImage() stubs for all non-GLFW platforms
This commit is contained in:
parent
7b4d4989d1
commit
817acf8c34
|
|
@ -727,6 +727,17 @@ void SetMouseCursor(int cursor)
|
||||||
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
|
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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1354,6 +1354,17 @@ void SetMouseCursor(int cursor)
|
||||||
CORE.Input.Mouse.cursor = 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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1303,6 +1303,17 @@ void SetMouseCursor(int cursor)
|
||||||
CORE.Input.Mouse.cursorHidden = false;
|
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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1055,6 +1055,17 @@ void SetMouseCursor(int cursor)
|
||||||
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
|
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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -425,6 +425,17 @@ void SetMouseCursor(int cursor)
|
||||||
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
|
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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -395,6 +395,17 @@ void SetMouseCursor(int cursor)
|
||||||
TRACELOG(LOG_WARNING, "SetMouseCursor() not implemented on target platform");
|
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.
|
// Get physical key name.
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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
|
// Get physical key name
|
||||||
const char *GetKeyName(int key)
|
const char *GetKeyName(int key)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user