Initial commit

This commit is contained in:
Alcaro
2016-07-13 18:44:41 +02:00
commit 9335f0b024
149 changed files with 107169 additions and 0 deletions

20
arlib/gui/none.cpp Normal file
View 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