X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fwindows.h;h=98f5d9a870a119c3ed08962b2b7aaf992ec83553;hb=8d8eba7405f426c45fd059a17d2f00cfb21c5253;hp=9414dd5cc541d5fb525094b40d85ba79447dc6c4;hpb=bed76e36029b889501cf45e6852830fbfa35ea11;p=plomrogue diff --git a/src/windows.h b/src/windows.h index 9414dd5..98f5d9a 100644 --- a/src/windows.h +++ b/src/windows.h @@ -148,20 +148,18 @@ extern void cycle_active_win(struct WinMeta * wmeta, char dir); /* Move active window forwards (set dir="f") or backwards (set dir="b"). Wrap - * around in the window chain if start / end of it is met. - * - * Return 0 on success, and 1 on (ncurses window/pad memory allocation) error. - */ -extern uint8_t shift_active_win(struct WinMeta * wmeta, char dir); + * around in the window chain if start / end of it is met. */ +extern void shift_active_win(struct WinMeta * wmeta, char dir); -/* Draw virtual screen including all windows. Also add scroll hints (a line - * stating that there is more to see on scrolling further into a certain - * direction) for where the edges of the terminal screen hit non-edges of and - * inside the virtual screen. Then update the terminal screen. +/* Draw virtual screen including all windows. Also add scroll hints (see comment + * on draw_scroll_hint()) for where the edges of the terminal screen hit + * non-edges of and inside the virtual screen. Then update the terminal screen. + * + * Returns 0 on success, 1 on error (of scroll hint text memory allocation). */ -extern void draw_all_wins(struct WinMeta * wmeta); +extern uint8_t draw_all_wins(struct WinMeta * wmeta);