# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 7
# self = https://watcher.sour.is/conv/4jzwvva
@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. 😅
@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. 😅
@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. 😅
@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.
@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.
@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.
@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.