mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
Added text shadow, block indicator outline
This commit is contained in:
parent
88c1695903
commit
81d246f3d0
5 changed files with 46 additions and 12 deletions
|
|
@ -13,7 +13,9 @@ public:
|
|||
~Font();
|
||||
|
||||
int getGlyphWidth(char c);
|
||||
bool isPrintableChar(char c);
|
||||
void draw(Batch2D* batch, std::string text, int x, int y);
|
||||
void drawWithShadow(Batch2D* batch, std::string text, int x, int y);
|
||||
};
|
||||
|
||||
#endif /* GRAPHICS_FONT_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue