From 6c796f88c7459fa4262f936dc9c7c02fa01e95e7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 25 Mar 2002 21:08:42 +0000 Subject: Rename all remaining functions that don't start with fl_ to fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/functions.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'documentation/functions.html') diff --git a/documentation/functions.html b/documentation/functions.html index a227ff5c7..4a8f827e9 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -128,8 +128,8 @@ or NULL if Cancel is chosen.

message is a string used to title the window.

pattern is used to limit the files listed in a directory to -those matching the pattern. This matching is done by -filename_match(). Use NULL to show all files. +those matching the pattern. This matching is done by +fl_filename_match(). Use NULL to show all files.

fname is a default filename to fill in the chooser with. If this is NULL then the last filename that was choosen is @@ -148,7 +148,7 @@ currently popped-up file chooser. This could be used to preview the contents of the file. It has to be reasonably fast, and cannot create FLTK windows. -

int filename_list(const char *d, dirent +

int fl_filename_list(const char *d, dirent ***list)

This is a portable and const-correct wrapper for the @@ -169,27 +169,27 @@ an attempt is made to put unpadded numbers in consecutive order. -

int filename_isdir(const char *f)

+

int fl_filename_isdir(const char *f)

Returns non-zero if the file exists and is a directory. -

const char *filename_name(const char *f)

+

const char *fl_filename_name(const char *f)

Returns a pointer to the character after the last slash, or to the start of the filename if there is none. -

const char *filename_ext(const char *f)

+

const char *fl_filename_ext(const char *f)

-Returns a pointer to the last period in filename_name(f), or +Returns a pointer to the last period in fl_filename_name(f), or a pointer to the trailing nul if none. -

char *filename_setext(char *f, const char +

char *fl_filename_setext(char *f, const char *ext)

-Does strcpy(filename_ext(f), ext ? ext : ""). Returns a +Does strcpy(fl_filename_ext(f), ext ? ext : ""). Returns a pointer to f. -

int filename_expand(char *out, const char +

int fl_filename_expand(char *out, const char *in)

Splits in at each slash character. Replaces any occurrance @@ -203,7 +203,7 @@ be the same buffer). Returns non-zero if any changes were made. In true retro programming style, it is up to you to provide a buffer big enough for the result. 1024 characters should be enough. -

int filename_absolute(char *out, const +

int fl_filename_absolute(char *out, const char *in)

If in does not start with a slash, this prepends the current @@ -214,7 +214,7 @@ changes were made. In true retro programming style, it is up to you to provide a buffer big enough for the result. 1024 characters should be enough. -

int filename_match(const char *f, const char +

int fl_filename_match(const char *f, const char *pattern)

Returns true if f matches pattern. The following -- cgit v1.2.3