From 6adf96e20cce82b5f3f423f57aba391b24cdc7b4 Mon Sep 17 00:00:00 2001 From: "omegablast2002@yahoo.com" Date: Fri, 12 Nov 2010 18:35:22 +0000 Subject: [PATCH] added up and down to the buttons that can close a card display box. now while in graveyards, opponentshand, libraries, if you pressed up or down rather then being tossed into the card selector zones above or below it will close the box and move to the new area. --- projects/mtg/src/CardDisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/mtg/src/CardDisplay.cpp b/projects/mtg/src/CardDisplay.cpp index 75bc61423..b8376f95b 100644 --- a/projects/mtg/src/CardDisplay.cpp +++ b/projects/mtg/src/CardDisplay.cpp @@ -124,7 +124,7 @@ bool CardDisplay::CheckUserInput(int x, int y) { bool CardDisplay::CheckUserInput(JButton key){ - if (JGE_BTN_SEC == key || JGE_BTN_PRI == key) + if (JGE_BTN_SEC == key || JGE_BTN_PRI == key || JGE_BTN_UP == key || JGE_BTN_DOWN == key) { if (listener){ listener->ButtonPressed(mId, 0);