(svn r22210) -Add: Add a variable for the value strings in the settings tables.

This commit is contained in:
alberth
2011-03-06 15:51:44 +00:00
parent 26ba8bd23e
commit a7e7e76f7f
9 changed files with 127 additions and 89 deletions

View File

@@ -14,8 +14,8 @@ static const SettingDesc _company_settings[] = {
[post-amble]
};
[templates]
SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $proc, $from, $to),
SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $proc, $from, $to),
SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $strval, $proc, $from, $to),
SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $strval, $proc, $from, $to),
SDT_END = SDT_END()
[defaults]
@@ -23,6 +23,7 @@ flags = 0
guiflags = SGF_PER_COMPANY
interval = 0
str = STR_NULL
strval = STR_NULL
proc = NULL
load = NULL
from = 0