added multiple choice field

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@35 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-19 17:18:35 +00:00
parent b7908e38af
commit 46a6ed39dc
5 changed files with 137 additions and 6 deletions
+3
View File
@@ -43,6 +43,9 @@ IMPLEMENT_REFLECTION(ChoiceField) {
ChoiceField::Choice::Choice()
: first_id(0)
{}
ChoiceField::Choice::Choice(const String& name)
: first_id(0), name(name)
{}
bool ChoiceField::Choice::isGroup() const {