Hello! I've searched a lot but i couldn't find how to create such struct wich has funtions in it. For example, struct called button has x,y,w and h. I can access these by button.x, button.y, etc. But how can i do a function in it, like button.draw();? In pascal these were called object's.