* Show the on-screen keyboard (osk) associated with a given textbox * @param parent pointer to the Window where this keyboard originated from * @param button widget number of parent's textbox */
| 389 | * @param button widget number of parent's textbox |
| 390 | */ |
| 391 | void ShowOnScreenKeyboard(Window *parent, WidgetID button) |
| 392 | { |
| 393 | CloseWindowById(WC_OSK, 0); |
| 394 | |
| 395 | GetKeyboardLayout(); |
| 396 | new OskWindow(_osk_desc, parent, button); |
| 397 | } |
| 398 | |
| 399 | /** |
| 400 | * Updates the original text of the OSK so when the 'parent' changes the |
no test coverage detected