diff options
author | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-14 06:20:32 (GMT) |
---|---|---|
committer | Olliver Schinagl <o.schinagl@ultimaker.com> | 2015-04-28 05:07:14 (GMT) |
commit | fbcceab72ca633f548b8af85ff798419fb8185c7 (patch) | |
tree | fb4cc06b29df0834374062a08c9f2b1652be682e /src/eulogium.h | |
parent | 3dba10661e2115fee38fe966fc819a58e5e5e10a (diff) | |
download | eulogium-fbcceab72ca633f548b8af85ff798419fb8185c7.zip eulogium-fbcceab72ca633f548b8af85ff798419fb8185c7.tar.gz eulogium-fbcceab72ca633f548b8af85ff798419fb8185c7.tar.bz2 |
Use themed seperated, more comments
Added some random 'TODO' comments and re-arranged some minor things.
Also added a 'function pointer' for multiscreens.
Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
Diffstat (limited to 'src/eulogium.h')
-rw-r--r-- | src/eulogium.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eulogium.h b/src/eulogium.h index 72b09bc..fdfc8b3 100644 --- a/src/eulogium.h +++ b/src/eulogium.h @@ -11,7 +11,7 @@ enum screen_type { FUNC, MATERIAL, PROGRESS, - END, /* sentinel */ + END, /* last screen */ }; struct print_data { @@ -50,6 +50,7 @@ struct multi_text { struct multi_screen { enum screen_type type; char *text; + void (*func)(void *data); void *data; char *prev_button; char *next_button; |