1 #ifndef _IPXE_JUMPSCROLL_H 2 #define _IPXE_JUMPSCROLL_H 32 #define SCROLL( delta ) ( ( unsigned int ) ( uint16_t ) ( int16_t ) (delta) ) 40 #define SCROLL_DELTA( scroll ) ( ( int16_t ) ( (scroll) & 0x0000ffffUL ) ) 43 #define SCROLL_FLAGS 0xffff0000UL 44 #define SCROLL_WRAP 0x80000000UL 47 #define SCROLL_NONE SCROLL ( 0 ) 50 #define SCROLL_UP SCROLL ( -1 ) 53 #define SCROLL_DOWN SCROLL ( +1 ) 63 return ( scroll->
first == 0 );
static int move(int y, int x)