nyx: Add theme colors for highlight text

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

No files matched your search

+5 -1
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);
+1
View File
@@ -44,6 +44,7 @@ typedef struct _hekate_config
typedef struct _nyx_config
{
u32 themecolor;
u32 verification;
} nyx_config;