mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-24 14:22:40 -06:00
ide: Default build method layout now completly depends on ctrls with usc binding
git-svn-id: svn://ultimatepp.org/upp/trunk@8748 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bce47a0af8
commit
09dee46772
6 changed files with 28 additions and 31 deletions
|
|
@ -10,3 +10,14 @@ Value TextOption::GetData() const
|
|||
{
|
||||
return Get() ? "1" : "0";
|
||||
}
|
||||
|
||||
void TextSwitch::SetData(const Value& data)
|
||||
{
|
||||
String s = data;
|
||||
Switch::SetData(atoi((String)data));
|
||||
}
|
||||
|
||||
Value TextSwitch::GetData() const
|
||||
{
|
||||
return AsString(Switch::GetData());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue