- Painting code for button contents, in both states, with titles