home · contact · privacy
New command: type Z to reload default window configuration from window config files.
[plomrogue] / src / wincontrol.h
index ba81ea36275bd3041f102ac62cc1fd13add04cd2..404ae1b741e967bb974ac90ff8ea31beb17ff15e 100644 (file)
@@ -16,12 +16,17 @@ 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/windows/".
- * "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 *));