mirror of
https://github.com/Alcaro/Flips.git
synced 2026-09-07 18:16:06 -05:00
Initial commit
This commit is contained in:
20
arlib/gui/none.cpp
Normal file
20
arlib/gui/none.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "window.h"
|
||||
#include "../file.h"
|
||||
#include "../os.h"
|
||||
#ifdef ARGUI_MINIMAL
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <time.h>
|
||||
|
||||
void window_init(int * argc, char * * argv[]) {}
|
||||
|
||||
uint64_t window_get_time()
|
||||
{
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_MONOTONIC, &ts);
|
||||
return ts.tv_sec*1000000 + ts.tv_nsec/1000;
|
||||
}
|
||||
|
||||
file* file::create(const char * filename) { return create_fs(filename); }
|
||||
#endif
|
||||
Reference in New Issue
Block a user