mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Removed last of the BeginDrawing/EndDrawing calls;
Added english_number_ordinal script function; Working on symbols with a different aspect ratio (i.e. wider/smaller symbols) git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@558 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -26,6 +26,8 @@ IMPLEMENT_REFLECTION(SymbolField) {
|
||||
|
||||
IMPLEMENT_REFLECTION(SymbolStyle) {
|
||||
REFLECT_BASE(Style);
|
||||
REFLECT(min_aspect_ratio);
|
||||
REFLECT(max_aspect_ratio);
|
||||
REFLECT(variations);
|
||||
}
|
||||
|
||||
|
||||
@@ -37,8 +37,13 @@ class SymbolField : public Field {
|
||||
/// The Style for a SymbolField
|
||||
class SymbolStyle : public Style {
|
||||
public:
|
||||
inline SymbolStyle(const SymbolFieldP& field) : Style(field) {}
|
||||
inline SymbolStyle(const SymbolFieldP& field)
|
||||
: Style(field)
|
||||
, min_aspect_ratio(1), max_aspect_ratio(1)
|
||||
{}
|
||||
DECLARE_STYLE_TYPE(Symbol);
|
||||
double min_aspect_ratio;
|
||||
double max_aspect_ratio; ///< Bounds for the symbol's aspect ratio
|
||||
|
||||
vector<SymbolVariationP> variations; ///< Different variantions of the same symbol
|
||||
|
||||
|
||||
Reference in New Issue
Block a user