mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-13 05:57:00 -04:00
controls to select packs on the RandomPackPanel
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1018 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
class CardViewer;
|
||||
class FilteredCardList;
|
||||
DECLARE_POINTER_TYPE(PackType);
|
||||
|
||||
// ----------------------------------------------------------------------------- : RandomPackPanel
|
||||
|
||||
@@ -39,6 +40,19 @@ class RandomPackPanel : public SetWindowPanel {
|
||||
private:
|
||||
CardViewer* preview; ///< Card preview
|
||||
FilteredCardList* card_list; ///< The list of cards
|
||||
wxFlexGridSizer* packsSizer;
|
||||
wxFlexGridSizer* totalsSizer;
|
||||
|
||||
struct PackItem {
|
||||
PackTypeP pack;
|
||||
wxStaticText* label;
|
||||
wxSpinCtrl* value;
|
||||
};
|
||||
vector<PackItem> packs;
|
||||
|
||||
struct TotalItem {
|
||||
};
|
||||
vector<TotalItem> totals;
|
||||
|
||||
/// Generate the cards
|
||||
void generate();
|
||||
|
||||
Reference in New Issue
Block a user