Update renderd7.hpp

This commit is contained in:
tobid7 2021-12-24 03:33:51 +01:00 committed by GitHub
parent 4bdc38b7d9
commit f3c8482c6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,6 +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 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);