Improve alignment of infobar, set buffer name in window title

This commit is contained in:
Krzosa Karol
2024-07-28 15:16:12 +02:00
parent 978d2d603a
commit 77a6cc5e53
8 changed files with 27 additions and 28 deletions

View File

@@ -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;