From 1ddd20748d01570929a88672366dff69ce300a51 Mon Sep 17 00:00:00 2001 From: untir_l <87096069+untir-l@users.noreply.github.com> Date: Sun, 27 Feb 2022 18:53:43 +0530 Subject: Add support for choosing foreground and background colours --- cli/hitomezashi_cli.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cli/hitomezashi_cli.h') diff --git a/cli/hitomezashi_cli.h b/cli/hitomezashi_cli.h index 3c6b9bf..bce0128 100644 --- a/cli/hitomezashi_cli.h +++ b/cli/hitomezashi_cli.h @@ -2,6 +2,7 @@ #ifndef HITOMEZASHI_CLI_H #define HITOMEZASHI_CLI_H +#include "SDL2/SDL.h" #include /** Exit codes for main(). @@ -31,7 +32,8 @@ enum Hitomezashi_Cli_Exit_Code { void hitomezashi_cli_handle_args(char **out_file_path, int *x_pattern_len, int *y_pattern_len, char **x_pattern, char **y_pattern, int *gap, int *thickness, - int argc, char **argv); + Uint32 *fg_colour, Uint32 *bg_colour, int argc, + char **argv); /** Print the help text and exit. * Exits with Hitomezashi_Cli_Exit_Code_Success (0) on success, and * Hitomezashi_Cli_Exit_Code_Print_Help (2) on failure. -- cgit v1.2.3-57-g22cb