I assume you want a 2D scrollbar, using 2D commands like DrawImage and the like..
If so, I would play a bit with Viewport related commands (2D and 3D). The key here is to draw part of the big image, depending on the value of the bar.
The bar image should be also partially displayed, accordingly with its value.
Hope this helps,
Sergio.
If so, I would play a bit with Viewport related commands (2D and 3D). The key here is to draw part of the big image, depending on the value of the bar.
The bar image should be also partially displayed, accordingly with its value.
Hope this helps,
Sergio.