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:
twanvl
2007-05-13 15:22:26 +00:00
parent cc036b94f3
commit 8d5fc6949f
11 changed files with 154 additions and 63 deletions
+4 -3
View File
@@ -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();
}