aboutsummaryrefslogtreecommitdiff
path: root/headers
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-08-15 01:53:40 +0200
committerkdx <kikoodx@paranoici.org>2023-08-15 01:53:40 +0200
commit48e261f6f11b7b0f239b122d0c5a89799a6eae2f (patch)
treed171366a2b4e80ecb68f6c5cc03385a644c3ce44 /headers
parent7182ece87bace03ef6b4a268b961ae51ee44318c (diff)
downloadtzr-48e261f6f11b7b0f239b122d0c5a89799a6eae2f.tar.gz
allow to set custom basepath
Diffstat (limited to 'headers')
-rw-r--r--headers/TZR.h1
-rw-r--r--headers/TZR_types.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/headers/TZR.h b/headers/TZR.h
index 3144cca..7cefb64 100644
--- a/headers/TZR.h
+++ b/headers/TZR.h
@@ -20,6 +20,7 @@
.scale_linear=false, \
.show_cursor=false, \
.mixer=TZR_MIXER_ON, \
+ .basepath=NULL, \
.title="TZR", \
._=0, __VA_ARGS__ }; \
_TZR_Init(&____arg); })
diff --git a/headers/TZR_types.h b/headers/TZR_types.h
index 5af1f17..58aee45 100644
--- a/headers/TZR_types.h
+++ b/headers/TZR_types.h
@@ -60,6 +60,7 @@ struct TZR_Config {
bool scale_linear;
bool show_cursor;
unsigned int mixer;
+ const char *basepath;
const char *title;
};