X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fwincontrol.h;h=29a6ddfef472cb3da1fae9594b9da786c0674d9f;hb=e6a78faa3052eff39bcadcaf81e2e3b5249071a7;hp=ba81ea36275bd3041f102ac62cc1fd13add04cd2;hpb=604c6b4e4faa76de673ab25aa459a35d8cf7f044;p=plomrogue diff --git a/src/wincontrol.h b/src/wincontrol.h index ba81ea3..29a6ddf 100644 --- a/src/wincontrol.h +++ b/src/wincontrol.h @@ -16,12 +16,12 @@ 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()). +/* 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 *));