Update renderd7.hpp

This commit is contained in:
tobid7 2021-08-01 12:55:26 +02:00 committed by GitHub
parent 8dabfd58ab
commit 4750ba5a6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,6 +163,7 @@ namespace RenderD7
void ClearTextBufs(void);
bool DrawRect(float x, float y, float w, float h, 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);
void DrawTextLeft(float x, float y, float size, u32 color, std::string Text, int maxWidth = 0, int maxHeight = 0, C2D_Font fnt = nullptr);