Fumofumotris/source/io/platforms/win.c
Julia ef7362c5d9 windows
window
2024-04-02 15:06:14 -05:00

35 lines
537 B
C

#include <iso646.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "input.h"
#include "instance.h"
#include "winhandler.h"
bool WindowsInit(struct Window *window)
{
if (!WinInitInputHandle())
return false;
if (!WinInitTimer())
return false;
if (!WinInitConsole())
return false;
return true;
}
bool WindowsBlockInput(struct RecordBuffer *buf)
{
return WinBlockInput(buf);
}
bool WindowsWait(double seconds)
{
return WinWait(seconds);
}