MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / OnscreenKeyboard_SetText

Function OnscreenKeyboard_SetText

src/Window_OS2.c:585–585  ·  view source on GitHub ↗

Sets the text used for keyboard input. */ NOTE: This is e.g. used for mobile on-screen keyboard input with the web client, */ because it is backed by a HTML input, rather than true keyboard input events. */ As such, this is necessary to ensure the HTML input is consistent with */ whatever text input widget is actually being displayed on screen. */

Source from the content-addressed store, hash-verified

583/* As such, this is necessary to ensure the HTML input is consistent with */
584/* whatever text input widget is actually being displayed on screen. */
585void OnscreenKeyboard_SetText(const cc_string* text) { }
586void OnscreenKeyboard_Draw2D(Rect2D* r, struct Bitmap* bmp) { }
587void OnscreenKeyboard_Draw3D(void) { }
588/* Hides/Removes the previously displayed on-screen keyboard. */

Callers 2

InputWidget_UpdateTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected