|
static int | GetView (const CFileItemList &vecItems) |
| Generic function to add a layer of transparency to the calling window. More...
|
|
static bool | ByFolders (const CFileItemList &vecItems) |
| Auto Switch method based on the current directory containing ALL folders and atleast one non-default thumb. More...
|
|
static bool | ByFiles (bool bHideParentDirItems, const CFileItemList &vecItems) |
| Auto Switch method based on the current directory not containing ALL files and atleast one non-default thumb. More...
|
|
static bool | ByThumbPercent (bool bHideParentDirItems, int iPercent, const CFileItemList &vecItems) |
| Auto Switch method based on the percentage of non-default thumbs in the current directory. More...
|
|
static bool | ByFileCount (const CFileItemList &vecItems) |
| Auto Switch method based on whether there is more than 25% files. More...
|
|
static bool | ByFolderThumbPercentage (bool hideParentDirItems, int percent, const CFileItemList &vecItems) |
|
static float | MetadataPercentage (const CFileItemList &vecItems) |
|
◆ ByFileCount()
Auto Switch method based on whether there is more than 25% files.
- Parameters
-
iPercent | Percent of non-default thumbs to autoswitch on |
◆ ByFiles()
bool CAutoSwitch::ByFiles |
( |
bool |
bHideParentDirItems, |
|
|
const CFileItemList & |
vecItems |
|
) |
| |
|
static |
Auto Switch method based on the current directory not containing ALL files and atleast one non-default thumb.
- Parameters
-
bHideParentDirItems | - are we not counting the ".." item? |
vecItems | Vector of FileItems |
◆ ByFolders()
Auto Switch method based on the current directory containing ALL folders and atleast one non-default thumb.
- Parameters
-
vecItems | Vector of FileItems |
◆ ByThumbPercent()
bool CAutoSwitch::ByThumbPercent |
( |
bool |
bHideParentDirItems, |
|
|
int |
iPercent, |
|
|
const CFileItemList & |
vecItems |
|
) |
| |
|
static |
Auto Switch method based on the percentage of non-default thumbs in the current directory.
- Parameters
-
iPercent | Percent of non-default thumbs to autoswitch on |
vecItems | Vector of FileItems |
◆ GetView()
Generic function to add a layer of transparency to the calling window.
- Parameters
-
vecItems | Vector of FileItems passed from the calling window |
The documentation for this class was generated from the following files: