Bound the 'List (Array)' text to its x-axis and added code to prevent it from leaving its bounding box. Testing drawing elements in a list.

This commit is contained in:
2022-11-01 23:12:10 -05:00
parent 10e606e2b6
commit 3dfe60fcc6
3 changed files with 46 additions and 6 deletions
+1 -1
View File
@@ -18,6 +18,6 @@ typedef struct {
List* CreateList(SDL_FRect boundingBox);
void AddStringToList(char* text, List* list);
void RenderList(SDL_Renderer* renderer, SDL_FPoint motion, TTF_Font* font, unsigned short fontSize, List* list);
void RenderList(SDL_Renderer* renderer, SDL_Point motion, TTF_Font* font, unsigned short fontSize, List* list);
#endif