Need to make the fastest "list" on classic amiga
Posted: Tue Oct 03, 2017 11:18 am
Hi,
the title doesn't say too much so let me explain.
I have a window where I can display all, let's say mp3, from a choosen folder - the display is like a list, one name under another.
Now if the list height is greater then window's height I need to scroll the list - here comes the question: how to approach that to make it fast on amiga?
So far I have my little window, it even has its own scrollbars (working perfectly fine) and I have my own way of handling the list - I just make it as a ... sprite ( ) and change its position if needed.
That is how it looks on windows (it's faaaast)
https://youtu.be/E5CF4qqTVTc
Unfortunately if the list is 200 items long that approach won't work (too slow, or too big memory consumption - I don't know, just guessing)
Other thing is when I want to add something to the list (or remove) I need to create whole sprite again - it takes time if there is already 100 songs ...
Any ideas ?
PS. quite important - I do not want to use any plugins like MUI - just pure Hollywood.
the title doesn't say too much so let me explain.
I have a window where I can display all, let's say mp3, from a choosen folder - the display is like a list, one name under another.
Now if the list height is greater then window's height I need to scroll the list - here comes the question: how to approach that to make it fast on amiga?
So far I have my little window, it even has its own scrollbars (working perfectly fine) and I have my own way of handling the list - I just make it as a ... sprite ( ) and change its position if needed.
That is how it looks on windows (it's faaaast)
https://youtu.be/E5CF4qqTVTc
Unfortunately if the list is 200 items long that approach won't work (too slow, or too big memory consumption - I don't know, just guessing)
Other thing is when I want to add something to the list (or remove) I need to create whole sprite again - it takes time if there is already 100 songs ...
Any ideas ?
PS. quite important - I do not want to use any plugins like MUI - just pure Hollywood.