#include <AutoSwitch.h>
◆ CAutoSwitch()
CAutoSwitch::CAutoSwitch |
( |
void |
| ) |
|
|
default |
◆ ~CAutoSwitch()
CAutoSwitch::~CAutoSwitch |
( |
void |
| ) |
|
|
virtualdefault |
◆ 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 |
◆ ByFolderThumbPercentage()
bool CAutoSwitch::ByFolderThumbPercentage |
( |
bool |
hideParentDirItems, |
|
|
int |
percent, |
|
|
const CFileItemList & |
vecItems |
|
) |
| |
|
static |
◆ 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 |
◆ MetadataPercentage()
float CAutoSwitch::MetadataPercentage |
( |
const CFileItemList & |
vecItems | ) |
|
|
static |
The documentation for this class was generated from the following files: