|
Public Types | |
FDS_OPEN = BIT(0) | |
This is an open dialog. | |
FDS_SAVE = BIT(1) | |
This is a save dialog. | |
FDS_OVERWRITEPROMPT = BIT(2) | |
Can only be used in conjunction with style SaveDialog: prompt for a confirmation if a file will be overwritten. | |
FDS_MUSTEXIST = BIT(3) | |
The user may only select files that actually exist. | |
FDS_MULTIPLEFILES = BIT(4) | |
Can only be used in conjunction with style OpenDialog: allows selecting multiple files. | |
FDS_CHANGEPATH = BIT(5) | |
Change the current working path to the directory where the file(s) chosen by the user are. | |
FDS_BROWSEFOLDER = BIT(6) | |
Select folders instead of files. | |
enum | DialogStyle { FDS_OPEN = BIT(0), FDS_SAVE = BIT(1), FDS_OVERWRITEPROMPT = BIT(2), FDS_MUSTEXIST = BIT(3), FDS_MULTIPLEFILES = BIT(4), FDS_CHANGEPATH = BIT(5), FDS_BROWSEFOLDER = BIT(6) } |
Public Member Functions | |
FileDialogData () | |
~FileDialogData () | |
Public Attributes | |
U8 | mStyle |
Specifies the Style of the File Dialog. | |
StringTableEntry | mFilters |
List of Filters pipe separated e.g. "BMP Files (*.bmp)|*.bmp|JPG Files (*.jpg)|*.jpg". | |
StringTableEntry | mFile |
Should be referenced when dialogStyle MultipleFiles is NOT used: the file path of the user selected file. | |
StringTableEntry | mDefaultPath |
Default path of dialog. | |
StringTableEntry | mDefaultFile |
Default selected file of dialog. | |
StringTableEntry | mTitle |
Title to display in file dialog. | |
FileDialogOpaqueData * | mOpaqueData |
Stores platform specific info about the dialog. |
FileDialogData::FileDialogData | ( | ) |
FileDialogData::~FileDialogData | ( | ) |
List of Filters pipe separated e.g. "BMP Files (*.bmp)|*.bmp|JPG Files (*.jpg)|*.jpg".
Should be referenced when dialogStyle MultipleFiles is NOT used: the file path of the user selected file.
Default path of dialog.
Default selected file of dialog.
Title to display in file dialog.
FileDialogOpaqueData* FileDialogData::mOpaqueData |
Stores platform specific info about the dialog.