#include "card_list.h"#include "card_item.h"#include <QDebug>#include <algorithm>#include <libcockatrice/card/card_info.h>Functions | |
| static QString | getColorSortString (const CardInfo &c, bool appendAtEnd) |
|
static |
Creates a String for the card such that when sorting cards using that string, it will result in the following sort order:
| c | The card info |
| appendAtEnd | For multicolor cards, whether to also append the entire color string at the end. |