58 FXWindow*
const parent,
const FXString& file);
72 FXString filename =
"");
120 static FXString
getFilename2Write(FXWindow* parent,
const FXString& header,
const FXString& extensions,
121 FXIcon* icon, FXString& currentFolder);
Some helper functions for FOX.
static FXString getFilename2Write(FXWindow *parent, const FXString &header, const FXString &extensions, FXIcon *icon, FXString ¤tFolder)
Returns the file name to write.
static void deleteChildren(FXWindow *w)
Deletes all children of the given window.
static FXString getDocumentName(const FXString &filename)
Returns the document name.
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 std::vector< FXString > parseExtensions(FXString patternText)
parse extensions
static FXString assureExtension(const FXFileDialog &openDialog)
Corrects missing extension.