feat: add card regions to declare image slice regions for DFCs

This commit is contained in:
Brendan Hagan
2022-08-13 22:43:42 -04:00
parent 05855b812a
commit 6435055d53
15 changed files with 92 additions and 4 deletions
+25
View File
@@ -0,0 +1,25 @@
//+----------------------------------------------------------------------------+
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
//| Copyright: (C) Twan van Laarhoven and the other MSE developers |
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#include <util/prec.hpp>
#include <data/card_region.hpp>
CardRegion::CardRegion()
: name("")
, x(0.0)
, y(0.0)
, width(0)
, height(0)
{}
CardRegion::~CardRegion() {}
IMPLEMENT_REFLECTION(CardRegion) {
REFLECT(name);
REFLECT(x);
REFLECT(y);
REFLECT(width);
REFLECT(height);
}