diff src/xs_config.c @ 258:e255f23abf33

Automatic subtune changing options added to config.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 21 Dec 2004 22:07:01 +0000
parents 8aea483e9016
children 7a23dfef023d
line wrap: on
line diff
--- a/src/xs_config.c	Tue Dec 21 22:06:02 2004 +0000
+++ b/src/xs_config.c	Tue Dec 21 22:07:01 2004 +0000
@@ -83,6 +83,10 @@
 
 	{CTYPE_BOOL,	&xs_cfg.titleOverride,		"titleOverride"},
 	{CTYPE_STR,	&xs_cfg.titleFormat,		"titleFormat"},
+
+	{CTYPE_BOOL,	&xs_cfg.subAutoEnable,		"subAutoEnable"},
+	{CTYPE_BOOL,	&xs_cfg.subAutoMinOnly,		"subAutoMinOnly"},
+	{CTYPE_INT,	&xs_cfg.subAutoMinTime,		"subAutoMinTime"},
 };
 
 static const gint xs_cfgtable_max = (sizeof(xs_cfgtable) / sizeof(t_xs_cfg_item));
@@ -142,6 +146,9 @@
 { WTYPE_BUTTON,	CTYPE_BOOL,	"cfg_ftitle_override",	&xs_cfg.titleOverride,		0 },
 { WTYPE_TEXT,	CTYPE_STR,	"cfg_ftitle_format",	&xs_cfg.titleFormat,		0 },
 
+{ WTYPE_BUTTON,	CTYPE_BOOL,	"cfg_subauto_enable",	&xs_cfg.subAutoEnable,		0 },
+{ WTYPE_BUTTON,	CTYPE_BOOL,	"cfg_subauto_min_only",	&xs_cfg.subAutoMinOnly,		0 },
+{ WTYPE_SPIN,	CTYPE_INT,	"cfg_subauto_mintime",	&xs_cfg.subAutoMinTime,		0 },
 };
 
 static const gint xs_widtable_max = (sizeof(xs_widtable) / sizeof(t_xs_wid_item));