summaryrefslogtreecommitdiffstats
path: root/listnav.h
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-12-20 16:25:43 +0100
committerLouis Burda <quent.burda@gmail.com>2021-12-20 16:25:43 +0100
commitf07580d31d1148c4a1811c36b09ca0ad50d9576b (patch)
tree05a8fbb44af81f3b5937df80c5af3305ec3ed3c9 /listnav.h
parentfaee8e9c6db45c6adacfc5113d55927f92e8bf29 (diff)
downloadtmus-f07580d31d1148c4a1811c36b09ca0ad50d9576b.tar.gz
tmus-f07580d31d1148c4a1811c36b09ca0ad50d9576b.zip
Restructured repository and added automatic make dependency generation
Diffstat (limited to 'listnav.h')
-rw-r--r--listnav.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/listnav.h b/listnav.h
deleted file mode 100644
index 688172c..0000000
--- a/listnav.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#pragma once
-
-struct listnav {
- /* current window */
- int wmin, wmax, wlen;
-
- /* selected item moving inside of window */
- int sel;
-
- /* bounds of actual list */
- int min, max;
-};
-
-void listnav_init(struct listnav *nav);
-void listnav_update_bounds(struct listnav *nav, int min, int max);
-void listnav_update_wlen(struct listnav *nav, int wlen);
-void listnav_update_sel(struct listnav *nav, int sel);
-