remove the rest of the references to mice from global visibility
This commit is contained in:
@ -59,9 +59,6 @@ bool caseless; /* ignore letter case when searching */
|
||||
bool *change; /* change this line */
|
||||
char newpat[PATLEN + 1]; /* new pattern */
|
||||
|
||||
/* Internal prototypes: */
|
||||
static void scrollbar(MOUSE *p);
|
||||
|
||||
/* read references from a file */
|
||||
bool readrefs(char *filename) {
|
||||
FILE *file;
|
||||
@ -96,43 +93,6 @@ bool readrefs(char *filename) {
|
||||
return (true);
|
||||
}
|
||||
|
||||
/* scrollbar actions */
|
||||
static void scrollbar(MOUSE *p) {
|
||||
// XXX
|
||||
///* reposition list if it makes sense */
|
||||
// if (totallines == 0) {
|
||||
// return;
|
||||
// }
|
||||
// switch (p->percent) {
|
||||
|
||||
// case 101: /* scroll down one page */
|
||||
// if (nextline + mdisprefs > totallines) {
|
||||
// nextline = totallines - mdisprefs + 1;
|
||||
// }
|
||||
// break;
|
||||
|
||||
// case 102: /* scroll up one page */
|
||||
// nextline = topline - mdisprefs;
|
||||
// if (nextline < 1) {
|
||||
// nextline = 1;
|
||||
// }
|
||||
// break;
|
||||
|
||||
// case 103: /* scroll down one line */
|
||||
// nextline = topline + 1;
|
||||
// break;
|
||||
|
||||
// case 104: /* scroll up one line */
|
||||
// if (topline > 1) {
|
||||
// nextline = topline - 1;
|
||||
// }
|
||||
// break;
|
||||
// default:
|
||||
// nextline = p->percent * totallines / 100;
|
||||
// }
|
||||
////seekline(nextline);
|
||||
}
|
||||
|
||||
/* count the references found */
|
||||
void countrefs(void) {
|
||||
char file[PATHLEN + 1]; /* file name */
|
||||
|
Reference in New Issue
Block a user