Added first draft of an interactive button. Needs to handle addition of images a little better
refined detailed info window for stats display removed PSP button for Touch interfaces (currently only iOS and Android) on deck selection screens to not break the core engine and reduce some more complex code, I created a new vector in the JController object. mButtons. This vector will contain all the valid buttons for a given screen. The appropriate Add/Remove methods have been updated to account for this new vector.
This commit is contained in:
@@ -9,9 +9,13 @@
|
||||
#include "hge/hgeparticle.h"
|
||||
#include "DeckMetaData.h"
|
||||
#include "TextScroller.h"
|
||||
#include "InteractiveButton.h"
|
||||
|
||||
class DeckMenu: public JGuiController
|
||||
{
|
||||
private:
|
||||
InteractiveButton *dismissButton;
|
||||
|
||||
protected:
|
||||
|
||||
float mHeight, mWidth, mX, mY;
|
||||
@@ -62,14 +66,14 @@ public:
|
||||
DeckMetaData * getSelectedDeck();
|
||||
void enableDisplayDetailsOverride();
|
||||
bool showDetailsScreen();
|
||||
|
||||
virtual bool isClosed() const { return mClosed; }
|
||||
virtual int getSelectedDeckId() const { return mSelectedDeckId; }
|
||||
|
||||
bool isClosed() const { return mClosed; }
|
||||
int getSelectedDeckId() const { return mSelectedDeckId; }
|
||||
|
||||
void Render();
|
||||
void Update(float dt);
|
||||
void Add(int id, const char * Text, string desc = "", bool forceFocus = false, DeckMetaData *deckMetaData = NULL);
|
||||
void Close();
|
||||
virtual void Render();
|
||||
virtual void Update(float dt);
|
||||
virtual void Add(int id, const char * Text, string desc = "", bool forceFocus = false, DeckMetaData *deckMetaData = NULL);
|
||||
virtual void Close();
|
||||
void updateScroller();
|
||||
void RenderBackground();
|
||||
void RenderDeckManaColors();
|
||||
|
||||
Reference in New Issue
Block a user