Mercurial > MadButterfly
diff src/mbaf/animated_menu.c @ 1112:1993e5ae60aa
Rename X_kb_event_t to mb_kb_event_t
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 08 Dec 2010 19:17:03 +0800 |
parents | dffecd62817c |
children |
line wrap: on
line diff
--- a/src/mbaf/animated_menu.c Wed Dec 08 18:59:44 2010 +0800 +++ b/src/mbaf/animated_menu.c Wed Dec 08 19:17:03 2010 +0800 @@ -259,7 +259,7 @@ static void mb_animated_menu_send_pending_key(event_t *ev,void *arg) { mb_animated_menu_t *m = (mb_animated_menu_t *) arg; - X_kb_event_t *xkey; + mb_kb_event_t *xkey; xkey = &m->pending_keys[m->pending_pos]; m->pending_pos = (m->pending_pos + 1) & 0xf; @@ -268,7 +268,7 @@ static void mb_animated_menu_keyHandler(event_t *ev, void *arg) { mb_animated_menu_t *m = (mb_animated_menu_t *) arg; - X_kb_event_t *xkey = (X_kb_event_t *)ev; + mb_kb_event_t *xkey = (mb_kb_event_t *)ev; if(xkey->event.type != EVT_KB_PRESS) { return; }