git repos / blockattack-game

commit 36bbe751

sago007 · 2018-03-26 17:27
36bbe75108feed83f28545f56648f7786ee56e84 patch · browse files
parent ff33341cbf79fb20796ccb313e613eb83988ecd5

Made the font bigger and the outline smaller. The font no longer suffers from outline misalignment on the 'S' char

Changed files

M source/code/MenuSystem.cpp before
diff --git a/source/code/MenuSystem.cpp b/source/code/MenuSystem.cpp index dfbf279..e26d889 100644 --- a/source/code/MenuSystem.cpp +++ b/source/code/MenuSystem.cpp
@@ -57,8 +57,8 @@ sago::SagoTextField* ButtonGfx::getLabel(const std::string& text) {
sago::SagoTextField* newField = new sago::SagoTextField();
newField->SetHolder(&globalData.spriteHolder->GetDataHolder());
newField->SetFont("freeserif");
- newField->SetFontSize(24);
- newField->SetOutline(2, {0,0,0,255});
+ newField->SetFontSize(30);
+ newField->SetOutline(1, {0,0,0,255});
newField->SetText(text.c_str());
labels[text] = newField;
return labels[text];