44 unsigned int flags = 0;
73 delta = -( scroll->
count );
76 delta = +( scroll->
count );
97 int last = ( scroll->
count - 1 );
107 delta = ( ( delta >= 0 ) ? +1 : -1 );
110 if ( ( current >= 0 ) && ( current <= last ) ) {
152 if ( index < scroll->rows )
#define KEY_NPAGE
Page down.
#define KEY_DOWN
Down arrow.
assert((readw(&hdr->flags) &(GTF_reading|GTF_writing))==0)
#define KEY_PPAGE
Page up.
static int move(int y, int x)