mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user