Added clone() function to Value.

Added support for per-card styling

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@430 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-06-24 01:30:34 +00:00
parent df9bb78e51
commit f0628317a3
25 changed files with 147 additions and 21 deletions
+5
View File
@@ -197,6 +197,11 @@ void StylingEditor::showStylesheet(const StyleSheetP& stylesheet) {
setStyles(stylesheet, stylesheet->styling_style);
setData(set->stylingDataFor(*stylesheet));
}
void StylingEditor::showCard(const CardP& card) {
StyleSheetP stylesheet = set->stylesheetForP(card);
setStyles(stylesheet, stylesheet->styling_style);
setData(set->stylingDataFor(card));
}
void StylingEditor::onChangeSet() {
showStylesheet(set->stylesheet);