move files to src/ directory and add build/ to .gitignore
This commit is contained in:
19
src/screens.c
Normal file
19
src/screens.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#include "globals.h"
|
||||
#include "home.h"
|
||||
#include "error.h"
|
||||
|
||||
/* NOTE: this should be compile time */
|
||||
struct Screen screens[] = {
|
||||
{
|
||||
"home",
|
||||
NULL,
|
||||
draw_home
|
||||
},
|
||||
{
|
||||
"error",
|
||||
NULL,
|
||||
draw_error
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user