|
|
|
|
@ -402,10 +402,11 @@ void DrawStash(const Surface &out)
|
|
|
|
|
|
|
|
|
|
const Point position = GetPanelPosition(UiPanels::Stash); |
|
|
|
|
const UiFlags style = UiFlags::VerticalCenter | UiFlags::ColorWhite; |
|
|
|
|
const int textboxHeight = 13; |
|
|
|
|
|
|
|
|
|
DrawString(out, StrCat(Stash.GetPage() + 1), { position + Displacement { 132, 0 }, { 57, 11 } }, |
|
|
|
|
DrawString(out, StrCat(Stash.GetPage() + 1), { position + Displacement { 132, 0 }, { 57, textboxHeight } }, |
|
|
|
|
{ .flags = UiFlags::AlignCenter | style }); |
|
|
|
|
DrawString(out, FormatInteger(Stash.gold), { position + Displacement { 122, 19 }, { 107, 13 } }, |
|
|
|
|
DrawString(out, FormatInteger(Stash.gold), { position + Displacement { 122, 19 }, { 107, textboxHeight } }, |
|
|
|
|
{ .flags = UiFlags::AlignRight | style }); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|