Sorry, I think I wasn't clear: I need a GUI library. I have the possibilities to draw primitives. I am looking for something like this: http://members.chello.nl/w.boeke/SDL-widgets/ but of course in Object Pascal (for SDL2) and not in C/C++. (But it needn't to be for SDL2; something "old" for unit graph will also do.)