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:
twanvl
2008-07-09 22:32:16 +00:00
parent 10fdcc422b
commit a0e0ab7149
2 changed files with 37 additions and 2 deletions
+14
View File
@@ -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();