Chapter 11: The Text Box Element

The TextBox struct is a simple UI component for displaying text. We use the SDL2 library to handle the actual rendering of the text. The render method takes care of drawing the text box onto the screen.

Last updated