moved tim.h to include/
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user