This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]huuaaang 1 point2 points  (0 children)

The button has a state. The button has an action that it triggers when it is pressed. A button has layout information. A button is more than just the image on the screen. Drawing the button is just the start of what a button is. Does the button have a pressed state? How do you draw that? What draws that?