Update renderd7.cpp
This commit is contained in:
parent
4750ba5a6c
commit
d7c02bab33
@ -358,6 +358,11 @@ bool RenderD7::DrawRect(float x, float y, float w, float h, u32 color)
|
|||||||
return C2D_DrawRectSolid(x, y, 0.5f, w, h, color);
|
return C2D_DrawRectSolid(x, y, 0.5f, w, h, color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool RenderD7::DrawPx(float x, float y, u32 color)
|
||||||
|
{
|
||||||
|
return C2D_DrawRectSolid(x, y, 0.5f, 1, 1, color);
|
||||||
|
}
|
||||||
|
|
||||||
void RenderD7::DrawTextCentered(float x, float y, float size, u32 color, std::string Text, int maxWidth, int maxHeight, C2D_Font fnt) {
|
void RenderD7::DrawTextCentered(float x, float y, float size, u32 color, std::string Text, int maxWidth, int maxHeight, C2D_Font fnt) {
|
||||||
float lineHeight, widthScale;
|
float lineHeight, widthScale;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user