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:
+1
-1
@@ -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
|
||||
Reference in New Issue
Block a user