Normalized Big Quad Border

Hopefully all Big Quads have identical border sizes: In Game, Deck
Editor Carousel and Trophies .
This commit is contained in:
Anthony Calosa
2016-07-24 13:12:40 +08:00
parent f142363bfa
commit 3282848631
4 changed files with 13 additions and 16 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ public:
void renderCard(int index)
{
int alpha = (int) (255 * (mCards[index].scale + 1.0 - max_scale));
DeckView::renderCard(index, alpha);
DeckView::renderCard(index, alpha, false, true);
}
void Render();
+1 -1
View File
@@ -207,7 +207,7 @@ protected:
*
* \see mCards
*/
void renderCard(int index, int alpha, bool asThumbnail = false);
void renderCard(int index, int alpha, bool asThumbnail = false, bool addWHborder = false);
/*! \brief Returns the index in mCards of the card that is nearest to the given point
*