summaryrefslogtreecommitdiff
path: root/draw.c
diff options
context:
space:
mode:
authorlouie <lshprung@yahoo.com>2020-12-28 15:04:49 -0800
committerlouie <lshprung@yahoo.com>2020-12-28 15:04:49 -0800
commit9fa266e62dc0782f7c2125f18fed2668ea414b29 (patch)
tree03c6d839fcb373a8877a4d66fc0c077bd629d90a /draw.c
parentd7fa91b54c7dcce8dedbe32f37cf849f530f8864 (diff)
Cleaned up headers
Diffstat (limited to 'draw.c')
-rw-r--r--draw.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/draw.c b/draw.c
index 2a09332..b9d73d9 100644
--- a/draw.c
+++ b/draw.c
@@ -1,4 +1,9 @@
-//Windows Compatability
+#include <stdbool.h>
+#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
+
+//Windows/Unix Compatability
#if defined _WIN32 || defined _WIN64
#include <ncurses/ncurses.h>
#include "windows/draw.h"
@@ -9,14 +14,10 @@
#include "unix/read_cfg.h"
#endif
-#include <stdbool.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
#include "entry.h"
#include "group.h"
#include "read_cfg.h"
-#define BUF_LEN 1024
+#include "draw.h"
#define MAX_LEN 6
#define GAP_SIZE 1
#define WIDTH (getmaxx(stdscr)) //width of the entire term
@@ -31,7 +32,6 @@ void update_col(int mode, int hl_where, bool resize); //0 = last, 1 = first; 0 =
void switch_col();
void trav_col(int new_i);
int locateChar(char input);
-char *get_launch();
WINDOW *group_win = NULL;
WINDOW *entry_win = NULL;