More field types, just the headers for now

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@21 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-12 20:25:08 +00:00
parent b13d0b81ae
commit ca5d78c101
11 changed files with 420 additions and 6 deletions
+6 -6
View File
@@ -16,16 +16,16 @@
// ----------------------------------------------------------------------------- : TextField
/// A field that stores tagged text
/// A field for values containing tagged text
class TextField : public Field {
public:
TextField();
OptionalScript script;
OptionalScript default_script;
bool multi_line; ///< Are newlines allowed in the text?
bool move_cursor_with_sort; ///< When the text is reordered by a script should the cursor position be updated?
String default_name; ///< Name of "default" value
OptionalScript script; ///< Script to apply to all values
OptionalScript default_script; ///< Script that generates the default value
bool multi_line; ///< Are newlines allowed in the text?
bool move_cursor_with_sort; ///< When the text is reordered by a script should the cursor position be updated?
String default_name; ///< Name of "default" value
virtual ValueP newValue(const FieldP& thisP) const;
virtual StyleP newStyle(const FieldP& thisP) const;