X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fwincontrol.h;h=404ae1b741e967bb974ac90ff8ea31beb17ff15e;hb=9a9f9b13bef8394e1b25dc4d67ff72164dd28cce;hp=33c3b76f397296f1fd2774245c2b7d297c3bd749;hpb=f6aaf0667ee0f1ab62342ff7becca2beb6cabc9c;p=plomrogue
diff --git a/src/wincontrol.h b/src/wincontrol.h
index 33c3b76..404ae1b 100644
--- a/src/wincontrol.h
+++ b/src/wincontrol.h
@@ -16,19 +16,24 @@ struct World;
-/* Wrapper around init_win() that reads the desired window size from a file
- * at the path prefixing the provided win name "w_name" with "config/Win_".
- * "f" is the window drawing function (Win._draw()).
+/* Reload windows in order and sizes defined in win config. */
+extern void reload_win_config(struct World * world);
+
+
+
+/* Wrapper around init_win() that reads the desired window size and title from a
+ * file at the path prefixing the provided win name "w_name" with
+ * "config/windows/". "f"() is the window drawing function (Win._draw()).
*/
-extern struct Win init_win_from_file(struct World * world, char * w_name,
- void (* f) (struct Win *));
+extern struct Win * init_win_from_file(struct World * world, char * w_name,
+ void (* f) (struct Win *));
/* Toggle windows in world->wins in the order desribed by the first line of
- * config/toggled_win_order, wherein each character may correspond to one
- * hardcoded window.
+ * config/windows/toggled_win_order, wherein each character may correspond to
+ * one hardcoded window.
*/
extern void sorted_wintoggle(struct World * world);