I'm (re)writing a GUI library (cpGUI) for SFML-1.6. Development for SFML 2 won't start until we've finished the new API and SFML2 is released.
Is this functionality (directly) supported in SFML2? If not, I request it.
In SFML 1.x, the simplest solution is to use OpenGL and its glScissor function
I'm not sure this is feasible in my situation. cpGUI is designed to overlay on top of whatever the user sets up (i.e. the user has control over the window's creation/destruction) Unless it's safe to mix OpenGL commands with a SFML 2D window (i.e. without making it specifically an OpenGL context), which I'm assuming it's not.
Just glancing at the cpGUI reference code, it looks like he manually handled each line to make it draw the whole text box correctly... Seems to work but not an optimal solution.