void EscribirMenu(MOUSE &mouse) { mouse.Esconder(); clearviewport(); mouse.LimVert (100,200); mouse.LimHoriz (50,100); for (int i=0; i < 5; i++) outtextxy (100, i * 10 + 50,Menu[i]); mouse.Mostrar(); }
void cinco(MOUSE &mouse) { int Boton,Vert,Horiz; mouse.LimVert (0,getmaxx() ); mouse.LimHoriz (0,getmaxy() ); mouse.Esconder(); clearviewport(); outtext("cinco"); mouse.Mostrar(); mouse.LibBotones(); while ( (Boton = mouse.Estado (&Vert, &Horiz) ) == 0 ) ; mouse.LibBotones(); }