00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _FL_UTIL_H_
00023 #define _FL_UTIL_H_
00024
00025 #include "Enumerations.h"
00026 #include "Fl_Flags.h"
00027 #include "Fl_String.h"
00028
00029 #include "Fl_Rect.h"
00030 #include "Fl_Point.h"
00031 #include "Fl_Size.h"
00032
00033
00034 #include "filename.h"
00035
00037 extern FL_API char *fl_trimleft(char *string);
00038
00040 extern FL_API char *fl_trimright(char *string);
00041
00043 #define fl_trim(string) fl_trimright(fl_trimleft(string))
00044
00046 extern FL_API char *fl_tolower(char *string);
00047
00049 extern FL_API char *fl_toupper(char *string);
00050
00052 extern FL_API char *fl_strdup_printf(char *s1, ...);
00053
00055 extern FL_API char** fl_split(const char *string, const char *delimiter, int max_tokens);
00056
00058 extern FL_API int fl_start_child_process(char *cmd);
00059
00061 extern FL_API void fl_freev(char **str_array);
00062
00064 extern FL_API const char *fl_cut_line(const char *str, int maxwidth);
00065
00067 extern FL_API const char *fl_cut_multiline(const char *str, int maxwidth);
00068
00069 #endif