added border to extra details popup as per design at

http://wololo.net/forum/viewtopic.php?f=37&t=2380
and
http://wololo.net/forum/viewtopic.php?f=37&t=2382
This commit is contained in:
techdragon.nguyen@gmail.com
2010-11-23 14:02:02 +00:00
parent 8d758d4775
commit e39c94756b
8 changed files with 212 additions and 156 deletions

View File

@@ -18,7 +18,7 @@ class SimplePopup: public JGuiController
{
private:
float mHeight, mWidth, mX, mY;
float mWidth, mX, mY;
int mMaxLines;
int mFontId;
DeckMetaData * mDeckInformation;
@@ -28,8 +28,9 @@ private:
bool mClosed;
MTGAllCards * mCollection;
void drawHorzPole(float x, float y, float width);
void drawVertPole(float x, float y, float height);
void drawHorzPole(string imageName, bool flipX, bool flipY, float x, float y, float width);
void drawCorner(string imageName, bool flipX, bool flipY, float x, float y);
void drawVertPole(string imageName, bool flipX, bool flipY, float x, float y, float height);
public:
bool autoTranslate;
@@ -37,7 +38,7 @@ public:
SimplePopup(int id, JGuiListener* listener, const int fontId, const char * _title = "", DeckMetaData* deckInfo = NULL, MTGAllCards * collection = NULL);
~SimplePopup(void);
void drawBoundingBox( float x, float y, float width, float height );
bool isClosed() { return mClosed; }
MTGAllCards* getCollection() { return mCollection; }
void Render();