Refactor Tooltip Button (#12848)

refactors tooltipbutton,
one common implementation,
one common shortcut data structure,
add tooltip button to text gizmo,
consistent shortcut wording

Co-authored-by: Hanno Witzleb <hannowitzleb@gmail.com>
This commit is contained in:
Hanno Witzleb
2026-04-24 09:49:36 +02:00
committed by GitHub
parent 6f1b1b8767
commit babbdee5f5
26 changed files with 465 additions and 678 deletions

View File

@@ -78,6 +78,11 @@ void break_to_debugger()
#endif /* _WIN32 */
}
const std::string& shortkey_shift_prefix()
{
return _u8L("Shift+");
}
const std::string& shortkey_ctrl_prefix()
{
static const std::string str =