src/liflines/dynmenu.c
/*==================================================================
 * dynmenu_next_page - show next page of menu choices
 * Created: 2002/10/24, Perry Rapp
 *================================================================*/
show next page of menu choices
Created: 2002/10/24, Perry Rapp
show next page of menu choices Created : 2002 / 10 / 24 Perry Rapp
void
dynmenu_next_page (DYNMENU dynmenu)
{
	INT MenuSize = dynmenu->size;
	INT pageitems = dynmenu->pageitems;
	if (dynmenu->pages == 1) return;
	++dynmenu->page;
	if (dynmenu->page > (MenuSize-1)/pageitems)
		dynmenu->page = 0;
	dynmenu->dirty = 1;
}
void dynmenu_next_page ( DYNMENU dynmenu ) { INT MenuSize = dynmenu -> size ; INT pageitems = dynmenu -> pageitems ; if ( dynmenu -> pages == 1 ) return ; ++ dynmenu -> page ; if ( dynmenu -> page > ( MenuSize - 1 ) / pageitems ) dynmenu -> page = 0 ; dynmenu -> dirty = 1 ; }
dynmenu_next_page - show next page of menu choices
 Created: 2002/10/24, Perry Rapp
dynmenu_next_page - show next page of menu choices Created : 2002 / 10 / 24 Perry Rapp