moved tim.h to include/

This commit is contained in:
2026-01-09 02:35:38 +05:00
parent f7b4809db8
commit 025cede850
12 changed files with 26 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
// Display a yes/no dialog with a message. Returns with 0 when yes was clicked.
// syntax: ./ask "message"
#include "../tim.h"
#include "tim.h"
// colors
#define CTXT 0xf // text black, white
@@ -47,4 +47,3 @@ int main(int argc, char** argv) {
}
}
}

View File

@@ -1,4 +1,4 @@
#include "../tim.h"
#include "tim.h"
int main(void) {
while (tim_run(0)) { // event loop
@@ -13,4 +13,3 @@ int main(void) {
}
} //TODO: remove atexit cleanup
}

View File

@@ -1,6 +1,6 @@
// Simple game of snake to show how to do animation and draw cells.
#include "../tim.h"
#include "tim.h"
#define FG 0x10
#define BG 0xdd
@@ -127,4 +127,3 @@ int main(void) {
}
}
}