Added a class to handle drawing text: InfoText, and the initialization and deallocation of SDL_TTF in SdlApp.
The InfoText class has an update method for each information the fractal app wants to show and offers a draw method to draw text on top of the window with the information about the current fractal.
When animation is on, the number of lines are updated in real time.
Added a class to handle drawing text: InfoText, and the initialization and deallocation of SDL_TTF in SdlApp. The InfoText class has an update method for each information the fractal app wants to show and offers a draw method to draw text on top of the window with the information about the current fractal. When animation is on, the number of lines are updated in real time.