Derma_Query Paint

Hi all,

I’m making a nice looking menu system ( well painting my old one ) and I come across a function I used called “Derma_Query”. I relies this is not just a vgui element so how would I go about painting it?
If I can’t, how would I make something similar


Here’s its source code, so you either recreate the function and paint elements, or use the return value, which is the frame.