added new buttons for shop for New Cards and displaying the card list.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "CardDisplay.h"
|
||||
#include "DeckDataWrapper.h"
|
||||
#include "Tasks.h"
|
||||
#include "InteractiveButton.h"
|
||||
|
||||
#define STATE_BUY 1
|
||||
#define STATE_SELL 2
|
||||
@@ -72,10 +73,14 @@ private:
|
||||
vector<MTGCardInstance*> subBooster;
|
||||
MTGDeck * booster;
|
||||
bool bListCards;
|
||||
InteractiveButton *cycleCardsButton, *showCardListButton;
|
||||
bool disablePurchase;
|
||||
|
||||
void beginFilters();
|
||||
void deleteDisplay();
|
||||
|
||||
void enableButtons();
|
||||
void renderButtons();
|
||||
|
||||
WSyncable bigSync;
|
||||
SimpleMenu * menu;
|
||||
PriceList * pricelist;
|
||||
|
||||
@@ -26,6 +26,8 @@ const int kMenuButtonId = 10003;
|
||||
const int kFilterButtonId = 10004;
|
||||
const int kNextStatsButtonId = 10005;
|
||||
const int kPrevStatsButtonId = 10006;
|
||||
const int kCycleCardsButtonId = 10007;
|
||||
const int kShowCardListButtonId = 10008;
|
||||
|
||||
class InteractiveButton: public SimpleButton
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user