From: Christian Heller Date: Mon, 26 Aug 2013 02:00:20 +0000 (+0200) Subject: Improved explanation of init_win(). X-Git-Tag: tce~1040 X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=f5d7b724bd9572a918f3f8a1803a23648458a07c;p=plomrogue Improved explanation of init_win(). --- diff --git a/src/windows.h b/src/windows.h index a13e447..2116b7b 100644 --- a/src/windows.h +++ b/src/windows.h @@ -96,16 +96,16 @@ extern uint8_t init_win_meta(WINDOW * screen, struct WinMeta * wmeta); -/* Create a window below inside "wmeta" titled "title" of "height" and "width" +/* Create a window as child of "wmeta" titled "title" of "height" and "width" * and appointing "func"() to interpret and draw the content stored at "data" * if the window is visible. * - * A value for "width" <1 will trigger a fallback to width=1. A "height" <1 or + * A value for "width" <1 will trigger a fallback to width=1. A "height" < 1 or * larger than the maximum window height possible within the virtual screen will * trigger a fallback to the maximum height possible (i.e. pass a "height" of 0 * to initialize the window to its largest possible height). * - * Other values of the Win struct will be initialized to 0. The window will stay + * Other members of the Win struct are initialized to 0. The window will stay * invisible until appended to the chain of visible windows via append_win(). */ extern struct Win init_win(struct WinMeta * wmeta, char * title,