add 'number' uses display mode
This commit is contained in:
@@ -248,12 +248,14 @@ void SlotView::drawItemInfo(
|
||||
case ItemUsesDisplay::NONE:
|
||||
break;
|
||||
case ItemUsesDisplay::RELATION:
|
||||
draw_shaded_text(
|
||||
batch, font, std::to_wstring(uses), pos.x - 3, pos.y - 3
|
||||
);
|
||||
draw_shaded_text(
|
||||
batch, font, std::to_wstring(item.uses), pos.x - 3, pos.y + 9
|
||||
);
|
||||
[[fallthrough]];
|
||||
case ItemUsesDisplay::NUMBER:
|
||||
draw_shaded_text(
|
||||
batch, font, std::to_wstring(uses), pos.x - 3, pos.y - 3
|
||||
);
|
||||
break;
|
||||
case ItemUsesDisplay::VBAR: {
|
||||
batch.untexture();
|
||||
|
||||
Reference in New Issue
Block a user