state the debris scrap value with the item icon, not the word
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <QPixmap>
|
||||
|
||||
#include "entt/entity/entity.hpp"
|
||||
|
||||
#include "SelectionContent.h"
|
||||
@@ -28,4 +30,8 @@ protected:
|
||||
private:
|
||||
std::vector<entt::entity> m_debris;
|
||||
StatRow* m_scrapRow;
|
||||
// The bare scrap icon the row states its amount with, or null where there is no icon
|
||||
// file and the row names the item in words instead (REQ-UI-DEBRIS-PANEL). Taken once:
|
||||
// it depends on the card's font, not on the value.
|
||||
QPixmap m_scrapIcon;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user