Smartphone UI (finger-scrolling of level menu, bigger buttons, ...), several bugs fixed. Ignoring volume keys.Updated enigma-data32.zip included (modified some lua script).
This commit is contained in:
@@ -71,6 +71,7 @@ namespace enigma { namespace gui {
|
||||
|
||||
bool handle_keydown (const SDL_Event *e);
|
||||
bool handle_mousedown (const SDL_Event *e);
|
||||
bool handle_mouseup (const SDL_Event *e);
|
||||
|
||||
//---------- Variables ----------//
|
||||
bool displayScoreIcons;
|
||||
@@ -80,6 +81,10 @@ namespace enigma { namespace gui {
|
||||
lev::Index *curIndex;
|
||||
ActionListener *listener;
|
||||
|
||||
int m_mousedown_x;
|
||||
int m_mousedown_y;
|
||||
bool m_mouse_drag;
|
||||
|
||||
int ifirst; // Index of "upper left" level
|
||||
int iselected; // Index of selected level
|
||||
int width; // number of buttons in a row
|
||||
|
||||
Reference in New Issue
Block a user