diff options
author | untir_l <87096069+untir-l@users.noreply.github.com> | 2022-02-27 13:23:43 +0000 |
---|---|---|
committer | untir_l <87096069+untir-l@users.noreply.github.com> | 2022-02-27 13:28:20 +0000 |
commit | 1ddd20748d01570929a88672366dff69ce300a51 (patch) | |
tree | 5c53f1765484427fc9334acfb7fa463c1d65b77b /cli/hitomezashi_cli.h | |
parent | a492064a97a04939ca5e995c3c6df4935b9e2cb9 (diff) | |
download | hitomezashi-1ddd20748d01570929a88672366dff69ce300a51.tar hitomezashi-1ddd20748d01570929a88672366dff69ce300a51.tar.gz hitomezashi-1ddd20748d01570929a88672366dff69ce300a51.zip |
Add support for choosing foreground and background colours
Diffstat (limited to 'cli/hitomezashi_cli.h')
-rw-r--r-- | cli/hitomezashi_cli.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <stddef.h> /** 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. |