-
extern FXbool
fxloadBMP(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load a bmp file from a streamLoad a bmp file from a stream
-
extern FXbool
fxsaveBMP(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save a bmp file to a streamSave a bmp file to a stream
-
extern FXbool
fxloadCUR(FXStream& store, FXuchar*& source, FXuchar*& mask, FXint& width, FXint& height, FXint& xspot, FXint& yspot)
- Load a cur file from a stream
-
struct
FXSegment
- Line segment
-
struct
FXArc
- Arc
-
struct
FXPSBounds
- Bounding box
-
struct
stat
-
FXString
getEnvironment(const FXString& name)
- Return value of environment variable name
-
FXString
getHomeDirectory()
- Return the home directory for the current user
-
FXString
getUserDirectory(const FXString& user)
- Return the home directory for a given user
-
FXbool
setCurrentDirectory(const FXString& path)
- Set the current working directory
-
FXString
getCurrentDirectory()
- Get the current working directory
-
FXbool
setCurrentDrive(const FXString& prefix)
- Set the current drive (for Win32 systems)
-
FXString
getCurrentDrive()
- Return the current drive (for Win32 systems)
-
FXString
getExecPath()
- Get executable path
-
FXString
directory(const FXString& file)
- Return the directory part of the path name.
-
FXString
name(const FXString& file)
- Return name and extension part of the path name.
-
FXString
title(const FXString& file)
- Return file title, ie.
-
FXString
extension(const FXString& file)
- Return extension part of the file name
-
FXString
stripExtension(const FXString& file)
- Return file name less the extension
-
FXString
drive(const FXString& file)
- Return the drive letter prefixing this file name (if any)
-
FXString
expand(const FXString& file)
- Perform tilde or environment variable expansion
-
FXString
simplify(const FXString& file)
- Simplify a file path; the path will remain relative if it was relative, or absolute if it was absolute.
-
FXString
absolute(const FXString& file)
- Return absolute path from current directory and file name
-
FXString
absolute(const FXString& base, const FXString& file)
- Return absolute path from base directory and file name
-
FXString
relative(const FXString& file)
- Return relative path of file to the current directory
-
FXString
relative(const FXString& base, const FXString& file)
- Return relative path of file to given base directory
-
FXString
enquote(const FXString& file, FXbool forcequotes=FALSE)
- Enquote filename to make safe for shell
-
FXString
dequote(const FXString& file)
- Dequote filename to get original again
-
FXString
unique(const FXString& file)
- Generate unique filename of the form pathnameXXXext, where pathnameext is the original input file, and XXX is a number, possibly empty, that makes the file unique
-
FXString
search(const FXString& pathlist, const FXString& file)
- Search path list for this file, return full path name for first occurrence
-
FXString
upLevel(const FXString& file)
- Return path to directory above input directory name
-
FXbool
isAbsolute(const FXString& file)
- Return true if file name is absolute
-
FXbool
isTopDirectory(const FXString& file)
- Return true if input directory is a top-level directory
-
FXbool
isFile(const FXString& file)
- Return true if input path is a file name
-
FXbool
isLink(const FXString& file)
- Return true if input path is a link
-
FXbool
isDirectory(const FXString& file)
- Return true if input path is a directory
-
FXbool
isReadable(const FXString& file)
- Return true if file is readable
-
FXbool
isWritable(const FXString& file)
- Return true if file is writable
-
FXbool
isExecutable(const FXString& file)
- Return true if file is executable
-
FXbool
isOwnerReadWriteExecute(const FXString& file)
- Return true if owner has read-write-execute permissions
-
FXbool
isOwnerReadable(const FXString& file)
- Return true if owner has read permissions
-
FXbool
isOwnerWritable(const FXString& file)
- Return true if owner has write permissions
-
FXbool
isOwnerExecutable(const FXString& file)
- Return true if owner has execute permissions
-
FXbool
isGroupReadWriteExecute(const FXString& file)
- Return true if group has read-write-execute permissions
-
FXbool
isGroupReadable(const FXString& file)
- Return true if group has read permissions
-
FXbool
isGroupWritable(const FXString& file)
- Return true if group has write permissions
-
FXbool
isGroupExecutable(const FXString& file)
- Return true if group has execute permissions
-
FXbool
isOtherReadWriteExecute(const FXString& file)
- Return true if others have read-write-execute permissions
-
FXbool
isOtherReadable(const FXString& file)
- Return true if others have read permissions
-
FXbool
isOtherWritable(const FXString& file)
- Return true if others have write permissions
-
FXbool
isOtherExecutable(const FXString& file)
- Return true if others have execute permissions
-
FXbool
isSetUid(const FXString& file)
- Return true if the file sets the user id on execution
-
FXbool
isSetGid(const FXString& file)
- Return true if the file sets the group id on execution
-
FXbool
isSetSticky(const FXString& file)
- Return true if the file has the sticky bit set
-
FXString
owner(const FXString& file)
- Return owner name of file (if available, else "user")
-
FXString
group(const FXString& file)
- Return group name of file (if available, else "group")
-
unsigned long
size(const FXString& file)
- Return file size in bytes
-
FXTime
modified(const FXString& file)
- Return last modified time for this file
-
FXTime
accessed(const FXString& file)
- Return last accessed time for this file
-
FXTime
created(const FXString& file)
- Return created time for this file
-
FXTime
touched(const FXString& file)
- Return touched time for this file
-
FXbool
match(const FXString& pattern, const FXString& file, FXuint flags=(FILEMATCH_NOESCAPE|FILEMATCH_FILE_NAME))
- Match filenames using *, ?, [^a-z], and so on
-
FXint
listFiles(FXString*& list, const FXString& path, const FXString& pattern="*", FXuint flags=LIST_MATCHING_FILES|LIST_MATCHING_DIRS)
- List files in a given directory.
-
FXTime
now()
- Return current time
-
FXString
time(FXTime filetime)
- Convert file time to date-string
-
FXString
time(const FXchar* format, FXTime filetime)
- Convert file time to date-string as per strftime.
-
FXbool
info(const FXString& file, struct stat& info)
- Return file info as reported by system stat() function
-
FXbool
exists(const FXString& file)
- Return true if file exists
-
FXbool
identical(const FXString& file1, const FXString& file2)
- Return true if files are identical
-
FXuint
mode(const FXString& file)
- Return the mode flags for this file
-
FXbool
mode(const FXString& file, FXuint mode)
- Change the mode flags for this file
-
FXbool
createDirectory(const FXString& path, FXuint mode)
- Create new directory
-
FXbool
createFile(const FXString& file, FXuint mode)
- Create new (empty) file
-
FXbool
concatenate(const FXString& srcfile1, const FXString& srcfile2, const FXString& dstfile, FXbool overwrite=FALSE)
- Concatenate srcfile1 and srcfile2 to a dstfile.
-
FXbool
remove(const FXString& file)
- Remove file or directory, recursively
-
FXbool
copy(const FXString& srcfile, const FXString& dstfile, FXbool overwrite=FALSE)
- Copy file or directory, recursively
-
FXbool
move(const FXString& srcfile, const FXString& dstfile, FXbool overwrite=FALSE)
- Rename or move file or directory
-
FXbool
link(const FXString& srcfile, const FXString& dstfile, FXbool overwrite=FALSE)
- Link file
-
FXbool
symlink(const FXString& srcfile, const FXString& dstfile, FXbool overwrite=FALSE)
- Symbolic link file
-
FXString
symlink(const FXString& file)
- Read symbolic link
-
extern FXbool
fxparsefontdesc(FXFontDesc& fontdesc, const FXchar* string)
- Parse font description from a string
-
extern FXbool
fxunparsefontdesc(FXchar* string, const FXFontDesc& fontdesc)
- Unparse font description into a string
-
extern FXbool
fxloadGIF(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load a gif file from a streamLoad a gif file from a streamLoad a gif file from a stream
-
extern FXbool
fxsaveGIF(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save a gif file to a streamSave a gif file to a streamSave a gif file to a stream
-
struct
FXViewport
- OpenGL Viewer Viewport
-
extern void
glUseFXFont(FXFont* font, int first, int count, int list)
- Create a display list of bitmaps from font glyphs in a font
-
extern FXbool
fxloadICO(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load a ICO file from a streamLoad a ICO file from a stream
-
extern FXbool
fxsaveICO(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save a ICO file to a streamSave a ICO file to a stream
-
typedef FXint
(*FXIconListSortFunc)(const FXIconItem*, const FXIconItem*)
- Icon item collate function
-
extern FXbool
fxloadJPG(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height, FXint& quality)
- Load a jpeg from a streamLoad a jpeg from a stream
-
extern FXbool
fxsaveJPG(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height, FXint quality)
- Save a jpeg to a streamSave a jpeg to a stream
-
enum
Normal way to show label
-
typedef FXint
(*FXListSortFunc)(const FXListItem*, const FXListItem*)
- List item collate function
-
enum
List Box styles
-
#define
FXDECLARE(classname)
- Macro to set up class declaration
-
#define
FXIMPLEMENT(classname,baseclassname,mapping,nmappings)
- Macro to set up class implementation
-
#define
FXDECLARE_ABSTRACT(classname)
- Macro to set up abstract class declaration
-
#define
FXIMPLEMENT_ABSTRACT(classname,baseclassname,mapping,nmappings)
- Macro to set up abstract class implementation
-
#define
FXMETACLASS(classname)
- MetaClass of a class
-
#define
FXDEFMAP(classname)
- Set up map type
-
#define
FXMAPTYPES(typelo,typehi,func)
- Define range of function types
-
#define
FXMAPTYPE(type,func)
- Define range of function types
-
#define
FXMAPFUNCS(type,keylo,keyhi,func)
- Define range of functions
-
#define
FXMAPFUNC(type,key,func)
- Define one function
-
extern FXbool
fxloadPCX(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load a bmp file from a streamLoad a PCX file from a stream
-
extern FXbool
fxsavePCX(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save a bmp file to a streamSave a PCX file to a stream
-
extern FXbool
fxloadPNG(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load a png from a streamLoad a png from a stream
-
extern FXbool
fxsavePNG(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save a png to a streamSave a png to a stream
-
extern FXbool
fxloadRGB(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load a IRIS-RGB image file from a streamLoad a IRIS-RGB file from a stream
-
extern FXbool
fxsaveRGB(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save a bmp file to a streamSave a IRIS-RGB file to a stream
-
enum
Statusbar options
-
enum
FXStreamDirection
- Stream data flow direction
-
enum
FXStreamStatus
- Stream status codes
-
extern FXbool
fxloadTGA(FXStream& store, FXuchar*& data, FXuint& channels, FXint& width, FXint& height)
- Load a TARGA file from a streamLoad a TARGA file from a stream
-
extern FXbool
fxsaveTGA(FXStream& store, const FXuchar* data, FXuint channels, FXint width, FXint height)
- Save a TARGA file to a streamSave a TARGA file to a stream
-
extern FXbool
fxloadTIF(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height, FXushort& codec)
- Load a tiff from a streamLoad a tiff from a stream
-
extern FXbool
fxsaveTIF(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height, FXushort codec)
- Save a tiff to a streamSave a tiff to a stream
-
#define
DEFAULT_MARGIN
- Default cell margin
-
struct
FXTablePos
- Position in table
-
struct
FXTableRange
- Range of table cells
-
enum
FXTextSelectionMode
- Selection modes
-
typedef FXint
(*FXTreeListSortFunc)(const FXTreeItem*, const FXTreeItem*)
- Tree item collate function
-
enum
Tree List Box styles
-
FXString
hostname()
- Return host name
-
FXString
fileToURL(const FXString& file)
- Return URL of filename
-
FXString
fileFromURL(const FXString& url)
- Return filename from URL, empty if url is not a local file
-
extern FXbool
fxloadXPM(const FXchar** pix, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load an X Pixmap from array of stringsLoad an X Pixmap from array of strings
-
extern FXbool
fxloadXPM(FXStream& store, FXuchar*& data, FXColor& transp, FXint& width, FXint& height)
- Load an X Pixmap file from a streamLoad an X Pixmap file from a stream
-
extern FXbool
fxsaveXPM(FXStream& store, const FXuchar* data, FXColor transp, FXint width, FXint height)
- Save an X Pixmap file to a streamSave an X Pixmap file to a stream
-
#define
EULER
- Euler constant
-
#define
DTOR
- Multiplier for degrees to radians
-
#define
RTOD
- Multipier for radians to degrees
-
enum
FOX Mouse buttons
-
enum
FOX window visibility modes
-
#define
FXABS(val)
- Abolute value
-
#define
FXMAX(a,b)
- Return the maximum of a or b
-
#define
FXMIN(a,b)
- Return the minimum of a or b
-
#define
FXMIN3(x,y,z)
- Return the minimum of x, y and z
-
#define
FXMAX3(x,y,z)
- Return the maximum of x, y and z
-
#define
FXMINMAX(lo,hi,a,b)
- Return minimum and maximum of a, b
-
#define
FXCLAMP(lo,x,hi)
- Clamp value x to range [lohi]
-
#define
FXSWAP(a,b,t)
- Swap a pair of numbers
-
#define
FXLERP(a,b,f)
- Linear interpolation between a and b, where 0<=f<=1
-
#define
STRUCTOFFSET(str,member)
- Offset of member in a structure
-
#define
ARRAYNUMBER(array)
- Number of elements in a static array
-
#define
CONTAINER(ptr,str,mem)
- Container class of a member class
-
#define
MKUINT(l,h)
- Make int out of two shorts
-
#define
SELTYPE(s)
- Get type from selector
-
#define
SELID(s)
- Get ID from selector
-
#define
FXBITREVERSE(b)
- Reverse bits in byte
-
#define
FXRGBA(r,g,b,a)
- Make RGBA colorMake RGBA color
-
#define
FXRGB(r,g,b)
- Make RGB colorMake RGB color
-
#define
FXREDVAL(rgba)
- Get red value from RGBA colorGet red value from RGBA color
-
#define
FXGREENVAL(rgba)
- Get green value from RGBA colorGet green value from RGBA color
-
#define
FXBLUEVAL(rgba)
- Get blue value from RGBA colorGet blue value from RGBA color
-
#define
FXALPHAVAL(rgba)
- Get alpha value from RGBA colorGet alpha value from RGBA color
-
#define
FXRGBACOMPVAL(rgba,comp)
- Get component value of RGBA colorGet component value of RGBA color
-
#define
FXASSERT(exp)
- FXASSERT() prints out a message when the expression fails, and nothing otherwise.
-
#define
FXTRACE(arguments)
- FXTRACE() allows you to trace the execution of your application with increasing levels of detail the higher the trace level.
-
#define
FXMALLOC(ptr,type,no)
- Allocate no elements of type to the specified pointer
-
#define
FXCALLOC(ptr,type,no)
- Allocate cleared memory
-
#define
FXRESIZE(ptr,type,no)
- Resize a previously allocated block of memory
-
#define
FXMEMDUP(ptr,type,src,no)
- Allocate and initialize memory
-
#define
FXFREE(ptr)
- Free a block of memory allocated with either FXMALLOC or FXCALLOC
-
extern FXuint
fxrandom(FXuint& seed)
- Simple, thread-safe, random number generator
-
extern FXint
fxmalloc(void** ptr, unsigned long size)
- Allocate memory
-
extern FXint
fxcalloc(void** ptr, unsigned long size)
- Allocate cleaned memory
-
extern FXint
fxresize(void** ptr, unsigned long size)
- Resize memory
-
extern FXint
fxmemdup(void** ptr, unsigned long size, const void* src)
- Duplicate memory
-
extern void
fxfree(void** ptr)
- Free memory, resets ptr to NULL afterward
-
extern voidfxerror
(const char* format, ...)(1, 2)
- Error routine
-
extern voidfxwarning
(const char* format, ...)(1, 2)
- Warning routine
-
extern voidfxmessage
(const char* format, ...)(1, 2)
- Log message to [typically] stderr
-
extern void
fxassert(const char* expression, const char* filename, unsigned int lineno)
- Assert failed routine:- usually not called directly but called through FXASSERT
-
extern voidfxtrace
(unsigned int level, const char* format, ...)(2, 3)
- Trace printout routine:- usually not called directly but called through FXTRACE
-
extern void
fxsleep(unsigned int n)
- Sleep n microseconds
-
extern FXint
fxfilematch(const char* pattern, const char* string, FXuint flags=(FILEMATCH_NOESCAPE|FILEMATCH_FILE_NAME))
- Match a file name with a pattern
-
extern FXHotKey
fxparseaccel(const FXchar* s)
- Parse for accelerator key codes in a string
-
extern FXHotKey
fxparsehotkey(const FXchar* s)
- Parse for hot key codes in a string
-
extern FXint
fxfindhotkeyoffset(const FXchar* s)
- Locate hot key underline offset from begin of string
-
extern FXColor
makeHiliteColor(FXColor clr)
- Get highlight color
-
extern FXColor
makeShadowColor(FXColor clr)
- Get shadow color
-
extern FXchar*
fxgetusername(FXchar* result, FXuint uid)
- Get user name from uid
-
extern FXchar*
fxgetgroupname(FXchar* result, FXuint gid)
- Get group name from gid
-
extern FXchar*
fxgetpermissions(FXchar* result, FXuint mode)
- Get permissions string from mode
-
extern FXint
fxgetpid()
- Get process id
-
extern FXchar*
fxstrdup(const FXchar* str)
- Duplicate string
-
extern FXint
fxstrhash(const FXchar* str)
- Calculate a hash value from a string
-
extern FXColor
fxcolorfromname(const FXchar* colorname)
- Get RGB value from color name
-
extern FXchar*
fxnamefromcolor(FXchar* colorname, FXColor color)
- Get name of (closest) color to RGB
-
extern void
fxrgb_to_hsv(FXfloat& h, FXfloat& s, FXfloat& v, FXfloat r, FXfloat g, FXfloat b)
- Convert RGB to HSV
-
extern void
fxhsv_to_rgb(FXfloat& r, FXfloat& g, FXfloat& b, FXfloat h, FXfloat s, FXfloat v)
- Convert HSV to RGB
-
extern FXint
fxieeefloatclass(FXfloat number)
- Floating point number classification: 0=OK, +/-1=Inf, +/-2=NaN
-
extern const FXuchar
fxversion[3]
- Version number that the library has been compiled with
-
extern unsigned int
fxTraceLevel
- Controls tracing level
-
enum
StatusBar options
Alphabetic index Hierarchy of classes
This page was generated with the help of DOC++.