| 1784 | } |
| 1785 | |
| 1786 | void TextInputWidget_SetFont(struct TextInputWidget* w, struct FontDesc* font) { |
| 1787 | w->base.font = font; |
| 1788 | w->base.lineHeight = Font_CalcHeight(font, false); |
| 1789 | InputWidget_UpdateText(&w->base); |
| 1790 | } |
| 1791 | |
| 1792 | |
| 1793 | /*########################################################################################################################* |
no test coverage detected