aboutsummaryrefslogtreecommitdiff
path: root/src/file.c
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2018-10-14 18:30:40 +0530
committerDandelion <nirav@teisuu.com>2018-10-14 18:30:40 +0530
commita7488f38fef1960086af860063f1958fb75d58f3 (patch)
treef2308d105bdbd5de1a178429c7e2d2b002a8339a /src/file.c
parentfde5cb29f95f51ed075c34f5eebdccb81fa2f0e4 (diff)
downloadim-a7488f38fef1960086af860063f1958fb75d58f3.tar.gz
im-a7488f38fef1960086af860063f1958fb75d58f3.zip
Added info panel to show current file name, resolution and list index
Diffstat (limited to 'src/file.c')
-rw-r--r--src/file.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/file.c b/src/file.c
index 22067c2..3a6b005 100644
--- a/src/file.c
+++ b/src/file.c
@@ -133,3 +133,13 @@ void clean()
}
g_free(file_list);
}
+
+int get_current_file_index()
+{
+ return curr_file_index;
+}
+
+int get_total_file_count()
+{
+ return file_list_count;
+}