24 #ifndef GUI_WINDOWS_MINISTATUSWINDOW_H
25 #define GUI_WINDOWS_MINISTATUSWINDOW_H
71 void logic()
override final;
117 const std::string &
restrict skinFill,
119 const std::string &
restrict description)
Attributes ::T AttributesT
virtual void logicChildren()
void mouseMoved(MouseEvent &event)
std::vector< AnimatedSprite * > mIcons
std::map< std::string, ProgressBar * > mBarNames
void mouseExited(MouseEvent &event)
void setIcon(const int index, AnimatedSprite *const sprite)
ProgressBar * mInvSlotsBar
std::vector< ProgressBar * > mBars
void eraseIcon(const int index)
void safeDraw(Graphics *const graphics)
void draw(Graphics *const graphics)
ProgressBar * createBar(const float progress, const int width, const int height, const ThemeColorIdT textColor, const ProgressColorIdT backColor, const std::string &skin, const std::string &skinFill, const std::string &name, const std::string &description)
void drawIcons(Graphics *const graphics)
void statChanged(const AttributesT id, const int oldVal1, const int oldVal2)
void attributeChanged(const AttributesT id, const int64_t oldVal, const int64_t newVal)
std::vector< ProgressBar * > & getBars()
bool isInBar(ProgressBar *bar, int x, int y) const
StatusPopup * mStatusPopup
void slotsChanged(const Inventory *const inventory)
void showBar(const std::string &name, const Visible visible)
void mousePressed(MouseEvent &event)
#define A_DELETE_COPY(func)
MiniStatusWindow * miniStatusWindow
ProgressColorId ::T ProgressColorIdT
ThemeColorId ::T ThemeColorIdT