nyx: Add theme colors for highlight text

This commit is contained in:
CTCaer
2020-04-30 04:04:24 +03:00
parent f540c8250b
commit 523c81f797
5 changed files with 44 additions and 18 deletions

View File

@@ -56,6 +56,7 @@ void set_default_configuration()
void set_nyx_default_configuration()
{
n_cfg.themecolor = 167;
n_cfg.verification = 1;
}
@@ -187,7 +188,10 @@ int create_nyx_config_entry()
return 1;
// Add config entry.
f_puts("[config]\nverification=", &fp);
f_puts("[config]\nthemecolor=", &fp);
itoa(n_cfg.themecolor, lbuf, 10);
f_puts(lbuf, &fp);
f_puts("\nverification=", &fp);
itoa(n_cfg.verification, lbuf, 10);
f_puts(lbuf, &fp);
f_puts("\n", &fp);

View File

@@ -44,6 +44,7 @@ typedef struct _hekate_config
typedef struct _nyx_config
{
u32 themecolor;
u32 verification;
} nyx_config;