mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Choice images recomputed less often;
Implemented GraphType for choosing different layouts on the stats panel; Added option to define order of graph groups; Added busy cursor when loading recent file; Parentheses in FOR_EACH macro git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@351 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -150,11 +150,12 @@ void StatsPanel::onCategorySelect() {
|
||||
cat.find_dimensions(set->game->statistics_dimensions);
|
||||
// create axes
|
||||
FOR_EACH(dim, cat.dimensions) {
|
||||
d.axes.push_back(new_intrusive4<GraphAxis>(
|
||||
d.axes.push_back(new_intrusive5<GraphAxis>(
|
||||
dim->name,
|
||||
dim->colors.empty() ? AUTO_COLOR_EVEN : AUTO_COLOR_NO,
|
||||
dim->numeric,
|
||||
&dim->colors
|
||||
&dim->colors,
|
||||
dim->groups.empty() ? nullptr : &dim->groups
|
||||
)
|
||||
);
|
||||
}
|
||||
@@ -176,7 +177,7 @@ void StatsPanel::onCategorySelect() {
|
||||
d.elements.push_back(e);
|
||||
}
|
||||
}
|
||||
// TODO graph->setLayout(cat.type)
|
||||
graph->setLayout(cat.type);
|
||||
graph->setData(d);
|
||||
filterCards();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user