Update renderd7.hpp

This commit is contained in:
tobid7 2021-12-26 10:49:17 +01:00 committed by GitHub
parent 489d4f54a1
commit 12d5b48632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ namespace RenderD7
void ClearTextBufs(void);
bool DrawRect(float x, float y, float w, float h, u32 color);
bool DrawNFRect(float p1x, float p1y, float p2x, float p2y, u32 color);
bool DrawNFRect(float p1x, float p1y, float w, float h, u32 color, float scsle = 1);
bool DrawPx(float x, float y, u32 color);
void DrawTextCentered(float x, float y, float size, u32 color, std::string Text, int maxWidth = 0, int maxHeight = 0, C2D_Font fnt = nullptr);
void DrawText(float x, float y, float size, u32 color, std::string Text, int maxWidth = 0, int maxHeight = 0, C2D_Font fnt = nullptr);