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

Function OpenKeyboardArgs_Init

src/Window.h:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 struct InputDevice* device;
194};
195static CC_INLINE void OpenKeyboardArgs_Init(struct OpenKeyboardArgs* args, STRING_REF const cc_string* text, int type) {
196 args->text = text;
197 args->type = type;
198 args->yOffset = 0;
199 args->placeholder = "";
200 args->opaque = false;
201 args->multiline = false;
202 args->device = NULL;
203}
204
205/* Displays on-screen keyboard for platforms that lack physical keyboard input. */
206/* NOTE: On desktop platforms, this won't do anything. */

Callers 3

LInput_OpenKeyboardFunction · 0.85
ChatScreen_OpenInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected