summaryrefslogtreecommitdiff
path: root/src/gui/ministatuswindow.h
AgeCommit message (Collapse)AuthorFilesLines
2025-02-25Added tooltips to status effect iconsThorbjørn Lindeijer1-14/+10
Based on the name attributes in the status-effect XML elements. Also cleanup the code a little. Since the MiniStatusWindow now adjust its size to respect the status icons, those icons no longer have to be drawn from the Viewport.
2025-02-25Some code cleanups related to status iconsThorbjørn Lindeijer1-1/+3
Fixed leaking of Sprite instances.
2025-02-21Merged AnimatedSprite into SpriteThorbjørn Lindeijer1-3/+3
With AnimatedSprite being the only implementation of the Sprite interface, there was no longer a point in separating these.
2025-01-21Replaced include guards with #pragma onceThorbjørn Lindeijer1-4/+1
Thanks to https://github.com/cgmb/guardonce and a follow-up replace to remove duplicated newlines at end of file: find src -type f -name '*.h' -exec \ sed --in-place -e :a -e '/^\n*$/{$d;N;};/\n$/ba' {} \; Source: https://unix.stackexchange.com/questions/81685/how-to-remove-multiple-newlines-at-eof Fixes compile on macOS, which appears to have been due to the EVENT_H include guard.
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-5/+5
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2012-01-16Renamed some file names for consistency with the class namesThorbjørn Lindeijer1-0/+82
This was already done by ManaPlus. It's a good idea anyway and it makes comparing the code a little easier. Reviewed-by: Yohann Ferreira