"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: tog cleanup: simplify ref/tree_scroll function calls
To:
gameoftrees@openbsd.org
Date:
Tue, 1 Dec 2020 00:32:29 +0100

Download raw body.

Thread
Christian Weisgerber:

> simplify the (ref|tree)_scroll_(up|down) function signatures
> 
> Pass only the view state and scroll amount to these functions;

I missed that there is another pair, scroll_up() and scroll_down().
These do need a "view" parameter--well, scroll_down() does--so
should ref_scroll_*, tree_scroll_* also take one to keep all these
functions similar?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de