#include <file_browser.h>
◆ FFileDialogOpenCallback
| typedef bool(* CFileBrowser::FFileDialogOpenCallback) (const char *pFilename, int StorageType, void *pUser) |
◆ EFileType
| Enumerator |
|---|
| MAP | |
| IMAGE | |
| SOUND | |
◆ EPreviewState
| Enumerator |
|---|
| UNLOADED | |
| LOADED | |
| ERROR | |
◆ ESortDirection
| Enumerator |
|---|
| NEUTRAL | |
| ASCENDING | |
| DESCENDING | |
◆ CanPreviewFile()
| bool CFileBrowser::CanPreviewFile |
( |
| ) |
const |
|
private |
◆ CompareCommon()
◆ CompareFilenameAscending()
◆ CompareFilenameDescending()
◆ CompareTimeModifiedAscending()
◆ CompareTimeModifiedDescending()
◆ DetermineFileFontIcon()
| const char * CFileBrowser::DetermineFileFontIcon |
( |
const CFilelistItem * | pItem | ) |
const |
|
private |
◆ DirectoryListingCallback()
| int CFileBrowser::DirectoryListingCallback |
( |
const CFsFileInfo * | pInfo, |
|
|
int | IsDir, |
|
|
int | StorageType, |
|
|
void * | pUser ) |
|
staticprivate |
◆ FilelistPopulate()
| void CFileBrowser::FilelistPopulate |
( |
int | StorageType, |
|
|
bool | KeepSelection ) |
|
private |
◆ IsValidSaveFilename()
| bool CFileBrowser::IsValidSaveFilename |
( |
| ) |
const |
◆ OnDialogClose()
| void CFileBrowser::OnDialogClose |
( |
| ) |
|
◆ OnEditorClose()
| void CFileBrowser::OnEditorClose |
( |
| ) |
|
◆ OnRender()
| void CFileBrowser::OnRender |
( |
CUIRect | _ | ) |
|
|
overridevirtual |
◆ RefreshFilteredFileList()
| void CFileBrowser::RefreshFilteredFileList |
( |
| ) |
|
|
private |
◆ RenderFilePreview()
| void CFileBrowser::RenderFilePreview |
( |
CUIRect | Preview | ) |
|
|
private |
◆ ShowFileDialog()
| void CFileBrowser::ShowFileDialog |
( |
int | StorageType, |
|
|
EFileType | FileType, |
|
|
const char * | pTitle, |
|
|
const char * | pButtonText, |
|
|
const char * | pInitialPath, |
|
|
const char * | pInitialFilename, |
|
|
FFileDialogOpenCallback | pfnOpenCallback, |
|
|
void * | pOpenCallbackUser ) |
◆ SortFilteredFileList()
| void CFileBrowser::SortFilteredFileList |
( |
| ) |
|
|
private |
◆ UpdateFilenameInput()
| void CFileBrowser::UpdateFilenameInput |
( |
| ) |
|
|
private |
◆ UpdateFilePreview()
| void CFileBrowser::UpdateFilePreview |
( |
| ) |
|
|
private |
◆ UpdateSelectedIndex()
| void CFileBrowser::UpdateSelectedIndex |
( |
const char * | pDisplayName | ) |
|
|
private |
◆ m_aButtonText
| char CFileBrowser::m_aButtonText[64] = "" |
|
private |
Text of the confirmation button that opens/saves the file.
◆ m_aCurrentFolder
Path of the current folder being shown in the file browser.
◆ m_aCurrentLink
Path of the current link being shown in the file browser.
◆ m_aInitialFolder
Path of the initial folder that the file browser was opened with.
◆ m_aSelectedFileDisplayName
◆ m_aTitle
| char CFileBrowser::m_aTitle[128] = "" |
|
private |
Title text of the file dialog.
◆ m_ButtonCancelId
| const char CFileBrowser::m_ButtonCancelId = 0 |
|
private |
◆ m_ButtonDeleteId
| const char CFileBrowser::m_ButtonDeleteId = 0 |
|
private |
◆ m_ButtonNewFolderId
| const char CFileBrowser::m_ButtonNewFolderId = 0 |
|
private |
◆ m_ButtonOkId
| const char CFileBrowser::m_ButtonOkId = 0 |
|
private |
◆ m_ButtonPlayPauseId
| const char CFileBrowser::m_ButtonPlayPauseId = 0 |
|
private |
◆ m_ButtonRefreshId
| const char CFileBrowser::m_ButtonRefreshId = 0 |
|
private |
◆ m_ButtonShowDirectoryId
| const char CFileBrowser::m_ButtonShowDirectoryId = 0 |
|
private |
◆ m_ButtonSortFilenameId
| const char CFileBrowser::m_ButtonSortFilenameId = 0 |
|
private |
◆ m_ButtonSortTimeModifiedId
| const char CFileBrowser::m_ButtonSortTimeModifiedId = 0 |
|
private |
◆ m_ButtonStopId
| const char CFileBrowser::m_ButtonStopId = 0 |
|
private |
◆ m_FilenameInput
Input for the filename when saving files and also buffer for the selected file's name in general.
◆ m_FileType
File type for which the file browser is currently showing entries.
◆ m_FilterInput
Input for the file search when opening files for reading.
◆ m_ListBox
◆ m_MultipleStorages
| bool CFileBrowser::m_MultipleStorages = false |
|
private |
Whether multiple storage locations with the initial folder are available.
◆ m_pCurrentPath
◆ m_pfnOpenCallback
Callback function that will be called when the confirmation button is pressed.
◆ m_pOpenCallbackUser
| void* CFileBrowser::m_pOpenCallbackUser = nullptr |
|
private |
◆ m_PopupConfirmDelete
◆ m_PopupConfirmOverwrite
◆ m_PopupNewFolder
◆ m_PreviewImage
◆ m_PreviewImageHeight
| int CFileBrowser::m_PreviewImageHeight = 0 |
|
private |
◆ m_PreviewImageWidth
| int CFileBrowser::m_PreviewImageWidth = 0 |
|
private |
◆ m_PreviewSound
| int CFileBrowser::m_PreviewSound = -1 |
|
private |
◆ m_PreviewState
◆ m_SaveAction
| bool CFileBrowser::m_SaveAction = false |
|
private |
true if file browser was opened with the intent to save a file. false if file browser was opened with the intent to open an existing file for reading.
◆ m_SeekBarId
| const char CFileBrowser::m_SeekBarId = 0 |
|
private |
◆ m_SelectedFileIndex
| int CFileBrowser::m_SelectedFileIndex = -1 |
|
private |
◆ m_ShowingRoot
| bool CFileBrowser::m_ShowingRoot = false |
|
private |
◆ m_SortByFilename
◆ m_SortByTimeModified
◆ m_StorageType
| int CFileBrowser::m_StorageType = 0 |
|
private |
Storage type for which the file browser is currently showing entries.
◆ m_vCompleteFileList
◆ m_vpFilteredFileList
| std::vector<const CFilelistItem *> CFileBrowser::m_vpFilteredFileList |
|
private |
The documentation for this class was generated from the following files: