Modified the touch/mouse management in the editor to simply select the touched card. I also added a binding to switch between deck and collection with an horizontal swipe.

This commit is contained in:
Xawotihs
2011-09-05 22:04:10 +00:00
parent fdfcaf854d
commit b2c5df2cd3
2 changed files with 61 additions and 29 deletions
+3 -1
View File
@@ -31,7 +31,8 @@ enum
STAGE_ONSCREEN_MENU = 5,
STAGE_WELCOME = 6,
STAGE_MENU = 7,
STAGE_FILTERS = 8
STAGE_FILTERS = 8,
STAGE_TRANSITION_SELECTED = 9
};
// TODO: need a better name for MENU_FIRST_MENU, this is reused for the 1st submenu of
@@ -93,6 +94,7 @@ private:
JMusic * bgMusic;
int lastPos;
int lastTotal;
int mSelected;
WGuiFilters * filterMenu;
WSrcDeckViewer * source;