Pre-resize fillparent

This commit is contained in:
2018-08-13 22:22:10 -04:00
parent 58fa6f0503
commit 353dc21750
95 changed files with 478 additions and 437 deletions
@@ -18,35 +18,35 @@ namespace VideoEngine {
class EXPORT_FROM_MYDLL cImageFile : public cImage
{
public:
cImageFile(const cString& filename = "", const cString& dir = "", const bool transparent = false,
cImageFile( const cString& filename = "", const cString& dir = "", const bool transparent = false,
const unsigned char red = 0, const unsigned char blue = 0, const unsigned char green = 255,
const unsigned char translevel = 255, const bool isSurface = false);
const unsigned char translevel = 255, const bool isSurface = false );
/* Copy constructor */
cImageFile(const cImageFile& copy, const bool surfaceCopy = true);
cImageFile( const cImageFile& copy, const bool surfaceCopy = true );
~cImageFile();
///Sets
/// Sets
/* Sets the Directory of the image */
void setDir(const cString& dir);
void setDir( const cString& dir );
/* Sets the File Name of the image */
void setFileName(const cString& filename);
void setFileName( const cString& filename );
/* Sets the File Name and the Directory of the image */
void setFileNameandDir(const cString& filename, const cString& dir = "");
void setFileNameandDir( const cString& filename, const cString& dir = "" );
///Gets
/// Gets
/* Gets the Directory of the image */
const cString& getDir() const;
/* Gets the File Name of the image */
const cString& getFileName() const;
private:
///Functions
/// Functions
void LoadImage();
private:
///Variables
cString m_dir;// = ""
cString m_fileName;// = ""
/// Variables
cString m_dir;/// = ""
cString m_fileName;/// = ""
};/// END CLASS DEFINITION cImageFile
}/// END NAMESPACE DEFINITION VideoEngine
#endif/// END IFNDEF _CIMAGEFILE_HPP_