Pre-resize fillparent
This commit is contained in:
@@ -28,7 +28,7 @@ namespace VideoEngine {
|
||||
/* Saves the Camera Image to a BMP file */
|
||||
void SaveImage( const cString& fileName, const cString& dir = "" );
|
||||
|
||||
///Sets
|
||||
/// Sets
|
||||
/* Sets the x and y position on the video buffer */
|
||||
void setXPosandYPos( const signed long int xPos = 0, const signed long int yPos = 0 );
|
||||
/* Sets the width and height the camera should be */
|
||||
@@ -36,7 +36,7 @@ namespace VideoEngine {
|
||||
/* Sets the Surface */
|
||||
void setTexture( SDL_Texture* texture );
|
||||
|
||||
///Gets
|
||||
/// Gets
|
||||
/* Gets the x position of the camera */
|
||||
const unsigned long int getXPos() const;
|
||||
/* Gets the y position of the camera */
|
||||
@@ -54,15 +54,15 @@ namespace VideoEngine {
|
||||
SDL_Texture* getTexture() const;
|
||||
|
||||
private:
|
||||
///Functions
|
||||
/// Functions
|
||||
void CreateCamera();
|
||||
void DeleteCamera();
|
||||
|
||||
private:
|
||||
///Variables
|
||||
/// Variables
|
||||
SDL_Rect m_position;
|
||||
|
||||
SDL_Texture* mp_texture;// = nullptr
|
||||
SDL_Texture* mp_texture;/// = nullptr
|
||||
|
||||
//std::vector<cSprite*> m_sprites;
|
||||
//LinkList::cLList m_sprites;
|
||||
|
||||
Reference in New Issue
Block a user