Load configurable settings from configuration file

Closes: #7
This commit is contained in:
Johannes Marbach
2021-09-25 21:02:00 +02:00
parent 1ebc98476d
commit 1e6a04fec2
8 changed files with 335 additions and 46 deletions

View File

@@ -27,6 +27,10 @@
* Options parsed from command line arguments
*/
typedef struct {
/* Number of config files */
int num_config_files;
/* Paths of config file */
const char **config_files;
/* Horizontal display resolution */
int hor_res;
/* Vertical display resolution */