fheroes2
fheroes2 copied to clipboard
Add right click popup for keyboard buttons
Fixes #10152
Hi @jrcleeman , please fix code style issues and also clang-tidy problems.
Hi @jrcleeman , I do not think that the proposed solution is flexible and actually it relies on special conditions. I suggest to add a separate field in struct KeyboardButton to contain a description. To save memory we can leave the description empty for all "normal" buttons but to add one for special ones. So, the logic for popup message would it: if description is set then display it, otherwise use generic description.