* Set the entry that should have its help text displayed, and mark the window dirty so it gets repainted. * @param pe Setting to display help text of, use \c nullptr to stop displaying help of the currently displayed setting. */
| 759 | * @param pe Setting to display help text of, use \c nullptr to stop displaying help of the currently displayed setting. |
| 760 | */ |
| 761 | void SetDisplayedHelpText(SettingEntry *pe) |
| 762 | { |
| 763 | if (this->last_clicked != pe) this->SetDirty(); |
| 764 | this->last_clicked = pe; |
| 765 | UpdateHelpTextSize(); |
| 766 | } |
| 767 | |
| 768 | void UpdateHelpTextSize() |
| 769 | { |
no test coverage detected