summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/view/exp004init.c12
-rw-r--r--src/view/exp004init.h9
2 files changed, 21 insertions, 0 deletions
diff --git a/src/view/exp004init.c b/src/view/exp004init.c
new file mode 100644
index 0000000..fa4b2b0
--- a/dev/null
+++ b/src/view/exp004init.c
@@ -0,0 +1,12 @@
+#include "exp004init.h"
+#include "exp004state0.h"
+
+#define S exp004state0
+
+void
+exp004init (void)
+{
+ S.zoom = false;
+
+ return;
+}
diff --git a/src/view/exp004init.h b/src/view/exp004init.h
new file mode 100644
index 0000000..5431c9f
--- a/dev/null
+++ b/src/view/exp004init.h
@@ -0,0 +1,9 @@
+#ifndef EXP004INIT_H
+#define EXP004INIT_H
+
+/*
+ * Initialize state variables to default values.
+ */
+void exp004init (void);
+
+#endif // EXP004INIT

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.