summaryrefslogtreecommitdiff
path: root/src/gui/textpopup.h
AgeCommit message (Collapse)AuthorFilesLines
2024-03-28Fixed size and child positions for various popupsThorbjørn Lindeijer1-7/+3
Most prominently, fixes the tooltips on the window buttons being clipped due to their position being slightly outside of the clipping children area. And fixes NPC tooltips from having a lot of empty space below the NPC name. Also reduced the space between texts in the item tooltip to match the padding rather than being an entire empty line.
2024-03-06General code cleanupsThorbjørn Lindeijer1-2/+0
* Use final for all message handlers, Client, LocalPlayer, Being::getType, Being::setPosition and Being::setMap. (avoids some warnings about virtual dispatch in constructors) * Use auto in more places * Use emplace_back instead of push_back in some places * Use default member initializers * Less else after return * Removed superfluous .c_str() * Removed type aliases that are only used once * Removed more unused includes
2024-01-26Apply C++11 fixitsThorbjørn Lindeijer1-2/+2
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
2012-01-26Updated copyrights to 2012Thorbjørn Lindeijer1-1/+1
2011-04-09Removed a lot of useless "documentation"Thorbjørn Lindeijer1-7/+1
I have to admit I contributed a large part of these. Sorry for that. Less empty space, more attention to the code. Acked-by: Jared Adams
2010-03-14Add tooltips to hp, xp, mp bars.Andrei Karas1-0/+67
Signed-off-by: Jared Adams <jaxad0127@gmail.com>