summaryrefslogtreecommitdiff
path: root/src/til_args.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-07-13 21:36:00 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-07-13 21:47:56 -0700
commit1446525ac78b25932db12e4e690184b137fc6aa8 (patch)
tree46434c9363d4acf7610abaa7f863f660ecaa35b4 /src/til_args.h
parent2f4011b4c5ec416d78d6da304315708a42e39798 (diff)
til_args,*_fb: introduce --title= and wire up to til_fb_t
For meta-demo use cases like alphazed is experimenting with, it's desirable to change the window title from "rototiller" to "alphazed" or whatever if in windowed mode. This adds a way to do that in the obvious fashion... --title="alphazed" etc.
Diffstat (limited to 'src/til_args.h')
-rw-r--r--src/til_args.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/til_args.h b/src/til_args.h
index 7c21668..d49211e 100644
--- a/src/til_args.h
+++ b/src/til_args.h
@@ -7,6 +7,7 @@ typedef struct til_args_t {
const char *module;
const char *video;
const char *seed;
+ const char *title;
unsigned use_defaults:1;
unsigned help:1;
© All Rights Reserved