#include <cImageMainPanel.h>
Public Member Functions | |
cImageMainPanel (wxWindow *pParent) | |
Constructor. | |
~cImageMainPanel () | |
Destructor. | |
void | DisplayPoster (const string sFilename) |
Display poster using file name. | |
void | UpdatePosterFileName (cFile *pFile) |
Update poster filename by reference. | |
Bool | IsFileExist (const string sFilename) |
Check if file exists. | |
Private Member Functions | |
const string | GetPosterFullPath (const string sFilename) |
Construct the full path of poster.(default value is used). | |
void | DisplayFilePoster (const string sFilePath) |
Display poster using file's full path. | |
const string | GetExtractFileName (const string sFilePath) |
Extract filename from at full path.(need to make it cross-platform). | |
Bool | CopyFile (const string sFrom, const string sTo) |
void | RescaleImg (wxImage *pImage, const Double iWidth, const Double iHeight) |
void | AddImageHandler (void) |
void | OnDoubleClick (wxMouseEvent &event) |
void | OnDeletePress (wxKeyEvent &event) |
Private Attributes | |
cFile * | m_pFile |
cPreference * | m_pPreference |
cImagePanel * | m_pImagePanel |
wxBoxSizer * | m_pImageSizer |
|
Constructor.
|
|
Destructor.
|
|
|
|
|
|
Display poster using file's full path.
|
|
Display poster using file name.
|
|
Extract filename from at full path.(need to make it cross-platform).
|
|
Construct the full path of poster.(default value is used).
|
|
Check if file exists.
|
|
|
|
|
|
|
|
Update poster filename by reference.
|
|
|
|
|
|
|
|
|