Card list colors are determined by a script instead of card_list_colors of a choice field (although that is still the default)

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@454 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-06-30 18:23:38 +00:00
parent 04f589637b
commit d5c27a4842
7 changed files with 47 additions and 36 deletions
+1 -5
View File
@@ -104,14 +104,10 @@ class CardListBase : public ItemList, public SetView {
// --------------------------------------------------- : Data
private:
// display stuff
ChoiceFieldP color_field; ///< Field to use for text color (optional)
vector<FieldP> column_fields; ///< The field to use for each column (by column index)
vector<FieldP> column_fields; ///< The field to use for each column (by column index)
mutable wxListItemAttr item_attr; // for OnGetItemAttr
/// Find the field that determines the color, if any.
ChoiceFieldP findColorField();
public:
/// Open a dialog for selecting columns to be shown
void selectColumns();