35 lines
417 B
C
35 lines
417 B
C
#include "menu.h"
|
|
#include "display.h"
|
|
#include "delay.h"
|
|
#include "draw.h"
|
|
|
|
Menu M_MAINMANU;//寮꽉데
|
|
Menu M_PLAYMODE1; //띤쭈薑렘욥
|
|
|
|
|
|
|
|
|
|
Menu* NOW; //뎠품꽉데寧濾
|
|
|
|
|
|
|
|
|
|
|
|
//놓迦꽉데
|
|
void m_startup(struct _menu* this,enum OPR opr)
|
|
{
|
|
displayInit();
|
|
clear();
|
|
drawNAME();
|
|
delay(1000);
|
|
drawNUMBER();
|
|
delay(3000);
|
|
// clear();
|
|
NOW=this->n;
|
|
}
|
|
Menu M_STARTUP={&M_MAINMANU,m_startup};
|
|
|
|
void menuInit()
|
|
{
|
|
NOW=&M_STARTUP;
|
|
}
|