add FontStylesScheme

This commit is contained in:
MihailRis
2024-12-04 18:04:19 +03:00
parent b15725913e
commit ce1e9f76cf
7 changed files with 83 additions and 17 deletions
+2 -2
View File
@@ -194,9 +194,9 @@ void SlotView::draw(const DrawContext* pctx, Assets* assets) {
int y = pos.y+slotSize-16;
batch->setColor({0, 0, 0, 1.0f});
font->draw(*batch, text, x+1, y+1);
font->draw(*batch, text, x+1, y+1, nullptr);
batch->setColor(glm::vec4(1.0f));
font->draw(*batch, text, x, y);
font->draw(*batch, text, x, y, nullptr);
}
}