Hi!
This being in the todo list of SupSuper and being usefull to me, I wanted to try and do it by myself.
I think I have found an easy way to do this, but the way I try to do it has a side effect. In fact I change the final stretch of the picture, which prevent the mouse cursor to appear in the black bands.
As the cursor is draw before this final stretch, it is impossible to prevent this.
I really don't know if this is a good thing. On the one side, this could be rather strange, particularly if the black bands are very large. On the other side, it makes sense not to draw the mouse cursor in those black bands.
Should I keep it this way?
Should I modify how the mouse cursor coordinates are calculated? (This way the cursor won't appear in the black bands but it will simply be invisible within them rather than "jumping" when the cursor go out the window).
Should I modify the picture before being draw by enlarging it and apply an offset to every draw in it? (painful I believe).
Should I modify how the mouse cursor coordinates are calculated, but only if fullscreen is not set?