fltk
1.3.5-source
About: FLTK (Fast Light Tool Kit) is a cross-platform C++ GUI toolkit for UNIX/Linux (X11), Microsoft Windows, and MacOS X. Fossies Dox: fltk-1.3.5-source.tar.bz2 ("inofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file. 28 #ifndef _HAVE_FL_UTF8_HDR_ 29 #define _HAVE_FL_UTF8_HDR_ 39 # include <sys/types.h> 40 # include <sys/stat.h> 43 # define xchar wchar_t 44 # if !defined(FL_DLL) && !defined(__CYGWIN__) 46 # define strdup _strdup 48 # define putenv _putenv 50 # define stricmp _stricmp 52 # define strnicmp _strnicmp 56 #elif defined(__APPLE__) 58 # include <sys/stat.h> 59 # define xchar wchar_t 61 # include <sys/types.h> 62 # include <sys/stat.h> 63 # if defined(FL_LIBRARY) 64 # include <X11/Xlocale.h> 65 # include <X11/Xlib.h> 68 # define xchar unsigned short 117 FL_EXPORT unsigned fl_utf8towc(
const char *src,
unsigned srclen,
wchar_t *dst,
unsigned dstlen);
123 FL_EXPORT unsigned fl_utf8toa (
const char *src,
unsigned srclen,
char *dst,
unsigned dstlen);
159 FL_EXPORT char *fl_utf8_to_locale(
const char *s,
int len,
unsigned int codepage);
162 FL_EXPORT char *fl_locale_to_utf8(
const char *s,
int len,
unsigned int codepage);
unsigned fl_utf8towc(const char *src, unsigned srclen, wchar_t *dst, unsigned dstlen)
char * fl_getcwd(char *buf, int maxlen)
int fl_system(const char *f)
unsigned fl_utf8toUtf16(const char *src, unsigned srclen, unsigned short *dst, unsigned dstlen)
int fl_utf_tolower(const unsigned char *str, int len, char *buf)
unsigned fl_utf8toa(const char *src, unsigned srclen, char *dst, unsigned dstlen)
int fl_wcwidth(const char *src)
unsigned fl_utf8fromwc(char *dst, unsigned dstlen, const wchar_t *src, unsigned srclen)
int fl_utf_toupper(const unsigned char *str, int len, char *buf)
const char * fl_utf8fwd(const char *p, const char *start, const char *end)
FILE * fl_fopen(const char *f, const char *mode)
int fl_open(const char *f, int o,...)
unsigned fl_utf8decode(const char *p, const char *end, int *len)
unsigned fl_utf8froma(char *dst, unsigned dstlen, const char *src, unsigned srclen)
unsigned fl_utf8from_mb(char *dst, unsigned dstlen, const char *src, unsigned srclen)
int fl_chmod(const char *f, int mode)
int fl_utf8bytes(unsigned ucs)
int fl_stat(const char *path, struct stat *buffer)
int fl_rename(const char *f, const char *t)
char * fl_getenv(const char *name)
void fl_make_path_for_file(const char *path)
int fl_utf_strncasecmp(const char *s1, const char *s2, int n)
int fl_utf_strcasecmp(const char *s1, const char *s2)
int fl_utf_nb_char(const unsigned char *buf, int len)
int fl_mkdir(const char *f, int mode)
int fl_access(const char *f, int mode)
int fl_utf8test(const char *src, unsigned len)
int fl_utf8encode(unsigned ucs, char *buf)
int fl_toupper(unsigned int ucs)
const char * fl_utf8back(const char *p, const char *start, const char *end)
unsigned int fl_nonspacing(unsigned int ucs)
int fl_rmdir(const char *f)
static int start(Fl_RGB_Image *img, int XP, int YP, int WP, int HP, int w, int h, int &cx, int &cy, int &X, int &Y, int &W, int &H)
unsigned fl_ucs_to_Utf16(const unsigned ucs, unsigned short *dst, const unsigned dstlen)
int fl_wcwidth_(unsigned int ucs)
char * fl_utf2mbcs(const char *src)
char fl_make_path(const char *path)
unsigned fl_utf8to_mb(const char *src, unsigned srclen, char *dst, unsigned dstlen)
int fl_tolower(unsigned int ucs)
int fl_unlink(const char *f)
int fl_execvp(const char *file, char *const *argv)