Improve alignment of infobar, set buffer name in window title
This commit is contained in:
@@ -346,10 +346,6 @@ void DrawCircle(Vec2 pos, float radius, Color color) {
|
||||
}
|
||||
}
|
||||
|
||||
Vec2 GetStringSize(Font *font, String16 string) {
|
||||
return DrawString(font, string, {}, {}, false);
|
||||
}
|
||||
|
||||
Int GetCharSpacing(Font *font, int codepoint = '_') {
|
||||
Glyph *g = GetGlyph(font, codepoint);
|
||||
if (g->xadvance) return (Int)g->xadvance;
|
||||
|
||||
Reference in New Issue
Block a user