]> git.lizzy.rs Git - nothing.git/blobdiff - src/ui/log.h
Merge pull request #399 from tsoding/395
[nothing.git] / src / ui / log.h
index beab01364818db07054c7ad62cc7bbf24c29602f..e205f59a8df1c71ae295a969117d360b1d99fe6c 100644 (file)
@@ -7,7 +7,6 @@ typedef struct Log Log;
 
 Log *create_log(const Sprite_font *font,
                 Vec font_size,
-                Color font_color,
                 size_t capacity);
 void destroy_log(Log *log);
 
@@ -15,6 +14,8 @@ int log_render(const Log *log,
                SDL_Renderer *renderer,
                Point position);
 
-int log_push_line(Log *log, const char *line);
+int log_push_line(Log *log,
+                  const char *line,
+                  Color color);
 
 #endif  // LOG_H_