implemented symbol font

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@81 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-11-20 14:48:53 +00:00
parent dd34042c07
commit 141400d8aa
18 changed files with 346 additions and 44 deletions
+4 -1
View File
@@ -137,7 +137,10 @@ class ChoiceStyle : public Style {
/// The Value in a ChoiceField
class ChoiceValue : public Value {
public:
inline ChoiceValue(const ChoiceFieldP& field) : Value(field) {}
inline ChoiceValue(const ChoiceFieldP& field)
: Value(field)
, value(field->initial, true)
{}
DECLARE_HAS_FIELD(Choice)
Defaultable<String> value; /// The name of the selected choice