...in Blitz3d. I don't want to use a gui and have gotten confused.
A friend suggested I divide the scrollbar size by the number of elements but thats not working out either. I just want to know the basic formula to make a simple vertical scrollbar.
I have the following data: the height of the scrollbar area, the scrollbar position, and the height of the area to scroll in pixels (it's a long picture of some kind)...
Thanks lads!
A friend suggested I divide the scrollbar size by the number of elements but thats not working out either. I just want to know the basic formula to make a simple vertical scrollbar.
I have the following data: the height of the scrollbar area, the scrollbar position, and the height of the area to scroll in pixels (it's a long picture of some kind)...
Thanks lads!