Søren Peter Mørch

Conversation

Recent twts in reply to #4jzwvva

movq@www.uninformativ.de
@lyse Yep, the scrolling is part of the GUI (responding to scrollbar events, translating coordinates, nasty stuff like that). It’s pretty brute force right now because it does a full redraw for each scroll event – a faster version would be to use WinScrollWindow() which scrolls/moves existing window content and then you only draw the new parts. Maybe I’ll do that in a later version. 😅
In reply to: #uhvlayq 1 week ago
lyse@lyse.isobeef.org
@movq Nice! Oh, I hear you. Remindes me of my multi-line table implementation for tt2. Surprisingly complicated stuff is needed for such a trivial thing as scrolling. I implemented a simple cache to speed up rendering when the same entry didn't change. But there is probably a lot more room for further improvements.
In reply to: #4jzwvva 1 week ago
movq@www.uninformativ.de
@lyse (G)UI programming is just horrible. %) At least more modern toolkits have things like a “scrolled pane” or similar, so we don’t have to reimplement this over and over.
In reply to: #4jzwvva 1 week ago
Comment via email