static XtIntervalId SFscrollTimerId;
+void
SFinitFont()
{
TextData *data;
SFcharWidth = (SFfont->max_bounds.width + SFfont->min_bounds.width) / 2;
SFcharAscent = SFfont->max_bounds.ascent;
SFcharHeight = SFcharAscent + SFfont->max_bounds.descent;
+ return;
}
+void
SFcreateGC()
{
XGCValues gcValues;
1,
Unsorted
);
+ return;
}
+void
SFclearList(n, doScroll)
int n;
int doScroll;
(float) 1.0);
}
}
+ return;
}
-static
+static void
SFdeleteEntry(dir, entry)
SFDir *dir;
SFEntry *entry;
(float) (((double) ((dir->nEntries < SFlistSize) ?
dir->nEntries : SFlistSize)) / dir->nEntries)
);
+ return;
}
-static
+static void
SFwriteStatChar(name, last, statBuf)
char *name;
int last;
struct stat *statBuf;
{
name[last] = SFstatChar(statBuf);
+ return;
}
static int
return 0;
}
-static
+static void
SFdrawStrings(w, dir, from, to)
register Window w;
register SFDir *dir;
);
}
}
+ return;
}
+void
SFdrawList(n, doScroll)
int n;
int doScroll;
);
SFdrawStrings(w, dir, 0, SFlistSize - 1);
}
+ return;
}
+void
SFdrawLists(doScroll)
int doScroll;
{
for (i = 0; i < NR; i++) {
SFdrawList(i, doScroll);
}
+ return;
}
-static
+static void
SFinvertEntry(n)
register int n;
{
SFentryWidth,
SFentryHeight
);
+ return;
}
static unsigned long
SFinvertEntry(n);
}
}
+ return;
}
/* ARGSUSED */
return result;
}
-static
+static void
SFfree(i)
int i;
{
XtFree(dir->dir);
dir->dir = NULL;
+ return;
}
-static
+static void
SFstrdup(s1, s2)
char **s1;
char *s2;
{
*s1 = strcpy(XtMalloc((unsigned) (strlen(s2) + 1)), s2);
+ return;
}
-static
+static void
SFunreadableDir(dir)
SFDir *dir;
{
dir->entries[0].shown = dir->entries[0].real;
dir->nEntries = 1;
dir->nChars = strlen(cannotOpen);
+ return;
}
#ifdef SEL_FILE_IGNORE_CASE
}
#endif /* def SEL_FILE_IGNORE_CASE */
-static
+static void
SFreplaceText(dir, str)
SFDir *dir;
char *str;
}
SFtextChanged();
+ return;
}
static void
return 0;
}
-static
+static void
SFunselect()
{
SFDir *dir;
}
dir->beginSelection = -1;
dir->endSelection = -1;
+ return;
}
static int
return strcmp(p->name, q->name);
}
-static
+static void
SFgetHomeDirs()
{
struct passwd *pw;
for (i--; i >= 0; i--) {
(void) strcat(entries[i].real, "/");
}
+ return;
}
static int
return 0;
}
+void
SFupdatePath()
{
static int alloc;
}
}
}
+ return;
}
+void
SFsetText(path)
char *path;
{
XawTextReplace(selFileField, 0, strlen(SFtextBuffer), &text);
XawTextSetInsertionPoint(selFileField, strlen(SFtextBuffer));
+
+ return;
}
/* ARGSUSED */