Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/windowing/StarPortraitWidget.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 02:21:09 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 02:21:09 +1000
commit1fc295b97975d20ed0f8011c1ece6fcd687c97cd (patch)
treefa924eef7d5e4a1687a84f27446e375c53884d99 /source/windowing/StarPortraitWidget.hpp
parent69b8eed8f76c85695bafd9d0f179e53a2ba43e15 (diff)
Fun: Draw the actual Humanoid in the inventory pane
undecided. might need to set a scissor rect on the portrait
Diffstat (limited to 'source/windowing/StarPortraitWidget.hpp')
-rw-r--r--source/windowing/StarPortraitWidget.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/windowing/StarPortraitWidget.hpp b/source/windowing/StarPortraitWidget.hpp
index c56f003..37b77dc 100644
--- a/source/windowing/StarPortraitWidget.hpp
+++ b/source/windowing/StarPortraitWidget.hpp
@@ -19,6 +19,7 @@ public:
void setMode(PortraitMode mode);
void setScale(float scale);
void setIconMode();
+ void setRenderHumanoid(bool);
bool sendEvent(InputEvent const& event);
protected:
@@ -35,6 +36,7 @@ private:
AssetPath m_noEntityImagePart;
float m_scale;
+ bool m_renderHumanoid;
bool m_iconMode;
AssetPath m_iconImage;
Vec2I m_iconOffset;