mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 21:06:59 -04:00
feat: add card regions to declare image slice regions for DFCs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user