MCPcopy Create free account
hub / github.com/Wassimulator/CactusViewer / UI_init_platform_win32

Function UI_init_platform_win32

include/ui/ui_platform_win32.cpp:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#pragma once
2#include "ui_core.h"
3void UI_init_platform_win32(UI_Context *ctx) {
4 UI_assert(ctx != nullptr && "UI context was not initialized!");
5 ctx->platform = UI_Platform_Type::Win32;
6}
7// placeholder for now until we write properly idependent platform code:
8// #include "platform.cpp"
9bool UI_is_keyup(int key) {

Callers 1

init_allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected