58 FXWindow*
const parent,
const FXString& file);
72 FXString filename =
"");
96 static FXString
assureExtension(
const FXString& filename,
const FXString& defaultExtension);
117 const FXString& header,
const FXString& extension,
118 FXIcon* icon, FXString& currentFolder);
Some helper functions for FOX.
static void deleteChildren(FXWindow *w)
Deletes all children of the given window.
static FXString getDocumentName(const FXString &filename)
Returns the document name.
static FXString getFilename2Write(FXWindow *parent, const FXString &header, const FXString &extension, FXIcon *icon, FXString ¤tFolder)
Returns the file name to write.
static FXColor getFXColor(const RGBColor &col)
converts FXColor to RGBColor
static FXString getTitleText(const FXString &appname, FXString filename="")
Returns the title text in dependence to an optional file name.
static RGBColor getRGBColor(FXColor col)
converts FXColor to RGBColor
static FXbool userPermitsOverwritingWhenFileExists(FXWindow *const parent, const FXString &file)
Returns true if either the file given by its name does not exist or the user allows overwriting it.
static FXString assureExtension(const FXString &filename, const FXString &defaultExtension)
Corrects missing extension.