X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fwincontrol.h;h=404ae1b741e967bb974ac90ff8ea31beb17ff15e;hb=1872b8ed64328ebafec56b0888fa48f60fb4942b;hp=c8dc83ba79b430a37d41076e9a18a114ed057912;hpb=f8325a4ea617b15315183d7a8027c0b913c91034;p=plomrogue diff --git a/src/wincontrol.h b/src/wincontrol.h index c8dc83b..404ae1b 100644 --- a/src/wincontrol.h +++ b/src/wincontrol.h @@ -16,12 +16,17 @@ struct World; +/* 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 *));