mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 21:27:01 -04:00
Change tabs to two spaces.
This commit is contained in:
+14
-14
@@ -15,42 +15,42 @@
|
||||
IMPLEMENT_FIELD_TYPE(Symbol, "symbol");
|
||||
|
||||
IMPLEMENT_REFLECTION(SymbolField) {
|
||||
REFLECT_BASE(Field);
|
||||
REFLECT_BASE(Field);
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------- : SymbolStyle
|
||||
|
||||
IMPLEMENT_REFLECTION(SymbolStyle) {
|
||||
REFLECT_BASE(Style);
|
||||
REFLECT(min_aspect_ratio);
|
||||
REFLECT(max_aspect_ratio);
|
||||
REFLECT(variations);
|
||||
REFLECT_BASE(Style);
|
||||
REFLECT(min_aspect_ratio);
|
||||
REFLECT(max_aspect_ratio);
|
||||
REFLECT(variations);
|
||||
}
|
||||
|
||||
SymbolVariation::SymbolVariation()
|
||||
: border_radius(0.05)
|
||||
: border_radius(0.05)
|
||||
{}
|
||||
SymbolVariation::~SymbolVariation() {}
|
||||
|
||||
bool SymbolVariation::operator == (const SymbolVariation& that) const {
|
||||
return name == that.name
|
||||
&& border_radius == that.border_radius
|
||||
&& *filter == *that.filter;
|
||||
return name == that.name
|
||||
&& border_radius == that.border_radius
|
||||
&& *filter == *that.filter;
|
||||
}
|
||||
|
||||
IMPLEMENT_REFLECTION_NO_SCRIPT(SymbolVariation) {
|
||||
REFLECT(name);
|
||||
REFLECT(border_radius);
|
||||
REFLECT_NAMELESS(filter);
|
||||
REFLECT(name);
|
||||
REFLECT(border_radius);
|
||||
REFLECT_NAMELESS(filter);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------- : SymbolValue
|
||||
|
||||
String SymbolValue::toString() const {
|
||||
return filename.empty() ? wxEmptyString : _("<symbol>");
|
||||
return filename.empty() ? wxEmptyString : _("<symbol>");
|
||||
}
|
||||
|
||||
IMPLEMENT_REFLECTION_NAMELESS(SymbolValue) {
|
||||
if (fieldP->save_value || tag.scripting() || tag.reading()) REFLECT_NAMELESS(filename);
|
||||
if (fieldP->save_value || tag.scripting() || tag.reading()) REFLECT_NAMELESS(filename);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user