mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -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:
@@ -21,10 +21,7 @@ DECLARE_POINTER_TYPE(ImageField);
|
||||
class ImageField : 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(Image);
|
||||
|
||||
private:
|
||||
DECLARE_REFLECTION();
|
||||
@@ -36,6 +33,7 @@ class ImageField : public Field {
|
||||
class ImageStyle : public Style {
|
||||
public:
|
||||
inline ImageStyle(const ImageFieldP& field) : Style(field) {}
|
||||
DECLARE_STYLE_TYPE(Image);
|
||||
|
||||
Scriptable<String> mask_filename; ///< Filename for a mask image
|
||||
|
||||
|
||||
Reference in New Issue
Block a user