summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2023-05-09 18:39:36 -0700
committerLouie S <louie@example.com>2023-05-09 18:39:36 -0700
commit2a790c9b633f72a1b0a106fc72d7587aa08d4bcb (patch)
tree8e8707c8055b2b80cbb7f133139d6f00341b6a04 /src/include
parent14a6e82cc82e8c1802c0d468c6b32553d56099a6 (diff)
Change how e_hover and e_offset are managed; cache e_hover and e_offset as array
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cache.h4
-rw-r--r--src/include/draw.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/cache.h b/src/include/cache.h
index 0f5a6c4..894e4e1 100644
--- a/src/include/cache.h
+++ b/src/include/cache.h
@@ -1,9 +1,9 @@
#ifndef CACHE_H
#define CACHE_H
-void save_to_cache(int g_hover, int e_hover, int true_hover, char *cfg_name);
+void save_to_cache(int g_count, int g_hover, int *e_hover, int *e_offset, int true_hover, char *cfg_name);
-void load_cache(int *g_hover, int *e_hover, int *true_hover, char *new_cfg_name);
+void load_cache(int g_count, int *g_hover, int **e_hover, int **e_offset, int *true_hover, char *new_cfg_name);
char *get_cache_path(bool create);
diff --git a/src/include/draw.h b/src/include/draw.h
index 0a6baba..387ced3 100644
--- a/src/include/draw.h
+++ b/src/include/draw.h
@@ -6,7 +6,7 @@
#define BUF_LEN 1024
extern int g_hover;
-extern int e_hover;
+extern int *e_hover;
extern struct group **g;
extern struct entry **e;