Update binding
This commit is contained in:
parent
b5247f7b61
commit
c008f46e82
2
raylib
2
raylib
@ -1 +1 @@
|
|||||||
Subproject commit bec27a6ebc05e3ff59f69a19ccf8ed268aa5fdd1
|
Subproject commit b54e9db7647ae6e5ed86a8a5d92dbd63157c89ac
|
@ -597,6 +597,7 @@ ffi.cdef [[
|
|||||||
BLEND_MULTIPLIED,
|
BLEND_MULTIPLIED,
|
||||||
BLEND_ADD_COLORS,
|
BLEND_ADD_COLORS,
|
||||||
BLEND_SUBTRACT_COLORS,
|
BLEND_SUBTRACT_COLORS,
|
||||||
|
BLEND_ALPHA_PREMUL,
|
||||||
BLEND_CUSTOM
|
BLEND_CUSTOM
|
||||||
} BlendMode;
|
} BlendMode;
|
||||||
|
|
||||||
@ -702,6 +703,7 @@ ffi.cdef [[
|
|||||||
RL_BLEND_MULTIPLIED,
|
RL_BLEND_MULTIPLIED,
|
||||||
RL_BLEND_ADD_COLORS,
|
RL_BLEND_ADD_COLORS,
|
||||||
RL_BLEND_SUBTRACT_COLORS,
|
RL_BLEND_SUBTRACT_COLORS,
|
||||||
|
RL_BLEND_ALPHA_PREMUL,
|
||||||
RL_BLEND_CUSTOM
|
RL_BLEND_CUSTOM
|
||||||
} rlBlendMode;
|
} rlBlendMode;
|
||||||
|
|
||||||
|
@ -107,6 +107,7 @@ bool SaveFileText(const char *fileName, char *text)
|
|||||||
bool FileExists(const char *fileName)
|
bool FileExists(const char *fileName)
|
||||||
bool DirectoryExists(const char *dirPath)
|
bool DirectoryExists(const char *dirPath)
|
||||||
bool IsFileExtension(const char *fileName, const char *ext)
|
bool IsFileExtension(const char *fileName, const char *ext)
|
||||||
|
int GetFileLength(const char *fileName)
|
||||||
const char *GetFileExtension(const char *fileName)
|
const char *GetFileExtension(const char *fileName)
|
||||||
const char *GetFileName(const char *filePath)
|
const char *GetFileName(const char *filePath)
|
||||||
const char *GetFileNameWithoutExt(const char *filePath)
|
const char *GetFileNameWithoutExt(const char *filePath)
|
||||||
@ -333,6 +334,7 @@ void DrawText(const char *text, int posX, int posY, int fontSize, Color color)
|
|||||||
void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint)
|
void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint)
|
||||||
void DrawTextPro(Font font, const char *text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint)
|
void DrawTextPro(Font font, const char *text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint)
|
||||||
void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSize, Color tint)
|
void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSize, Color tint)
|
||||||
|
void DrawTextCodepoints(Font font, int *codepoints, int count, Vector2 position, float fontSize, float spacing, Color tint)
|
||||||
int MeasureText(const char *text, int fontSize)
|
int MeasureText(const char *text, int fontSize)
|
||||||
Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing)
|
Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing)
|
||||||
int GetGlyphIndex(Font font, int codepoint)
|
int GetGlyphIndex(Font font, int codepoint)
|
||||||
|
Loading…
Reference in New Issue
Block a user