| 1 | #pragma once |
| 2 | #include "ui_core.h" |
| 3 | void 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" |
| 9 | bool UI_is_keyup(int key) { |