Mercurial > MadButterfly
comparison examples/menu/animated_menu.c @ 329:740844ee48c4
Update position of light-bar after update menu item
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 06 Mar 2009 20:39:25 +0800 |
parents | f61dbcd8c291 |
children | f90c60967a9c |
comparison
equal
deleted
inserted
replaced
328:f61dbcd8c291 | 329:740844ee48c4 |
---|---|
341 m->max = i; | 341 m->max = i; |
342 m->top = 0; | 342 m->top = 0; |
343 m->cur = 0; | 343 m->cur = 0; |
344 m->titles = menus; | 344 m->titles = menus; |
345 mb_animated_menu_fillMenuContent(m); | 345 mb_animated_menu_fillMenuContent(m); |
346 mb_animated_menu_moveLightBar(m); | |
346 } | 347 } |
347 | 348 |
348 | 349 |
349 void mb_animated_menu_set_speed(mb_animated_menu_t *m,int speed) | 350 void mb_animated_menu_set_speed(mb_animated_menu_t *m,int speed) |
350 { | 351 { |