mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Added ValueViewer,DataViewer,CardViewer and made related changes
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@49 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -23,10 +23,7 @@ DECLARE_POINTER_TYPE(SymbolField);
|
||||
class SymbolField : public Field {
|
||||
public:
|
||||
// no extra data
|
||||
|
||||
virtual ValueP newValue(const FieldP& thisP) const;
|
||||
virtual StyleP newStyle(const FieldP& thisP) const;
|
||||
virtual String typeName() const;
|
||||
DECLARE_FIELD_TYPE(Symbol);
|
||||
|
||||
private:
|
||||
DECLARE_REFLECTION();
|
||||
@@ -38,7 +35,7 @@ class SymbolField : public Field {
|
||||
class SymbolStyle : public Style {
|
||||
public:
|
||||
inline SymbolStyle(const SymbolFieldP& field) : Style(field) {}
|
||||
HAS_FIELD(Symbol)
|
||||
DECLARE_STYLE_TYPE(Symbol);
|
||||
|
||||
class Variation;
|
||||
typedef shared_ptr<Variation> VariationP;
|
||||
@@ -64,7 +61,7 @@ class SymbolStyle::Variation {
|
||||
class SymbolValue : public Value {
|
||||
public:
|
||||
inline SymbolValue(const SymbolFieldP& field) : Value(field) {}
|
||||
HAS_FIELD(Symbol)
|
||||
DECLARE_HAS_FIELD(Symbol)
|
||||
|
||||
String filename; ///< Filename of the symbol (in the current package)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user