Pre-resize fillparent
This commit is contained in:
@@ -22,7 +22,7 @@ namespace VideoEngine {
|
||||
~cVideo();
|
||||
|
||||
public:
|
||||
///Functions
|
||||
/// Functions
|
||||
static cVideo& Inst();
|
||||
static void Delete();
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace VideoEngine {
|
||||
|
||||
SDL_Renderer* CreateRender();
|
||||
|
||||
///Sets
|
||||
/// Sets
|
||||
/* Sets the videos width resolution */
|
||||
void setWidth( const unsigned long int width = 640 );
|
||||
/* Sets the videos height resolution */
|
||||
@@ -60,7 +60,7 @@ namespace VideoEngine {
|
||||
|
||||
void setDisplayMode( const SDL_DisplayMode& mode );
|
||||
|
||||
///Gets
|
||||
/// Gets
|
||||
/* Gets return true if video was initialized */
|
||||
const bool IsInit() const;
|
||||
/* Gets the videos width resolution */
|
||||
@@ -100,27 +100,27 @@ namespace VideoEngine {
|
||||
const unsigned long int getAmask() const;
|
||||
|
||||
private:
|
||||
///Functions
|
||||
/// Functions
|
||||
void VideoSettings();
|
||||
|
||||
private:
|
||||
///Variables
|
||||
SDL_Window* mp_window;// = nullptr
|
||||
//SDL_Renderer* mp_rend;// = nullptr
|
||||
/// Variables
|
||||
SDL_Window* mp_window;/// = nullptr
|
||||
//SDL_Renderer* mp_rend;/// = nullptr
|
||||
|
||||
unsigned long int m_xPos;// = 100
|
||||
unsigned long int m_yPos;// = 100
|
||||
unsigned long int m_width;// = 640
|
||||
unsigned long int m_height;// = 480
|
||||
unsigned long int m_colour;// = 32
|
||||
unsigned long int m_xPos;/// = 100
|
||||
unsigned long int m_yPos;/// = 100
|
||||
unsigned long int m_width;/// = 640
|
||||
unsigned long int m_height;/// = 480
|
||||
unsigned long int m_colour;/// = 32
|
||||
|
||||
bool m_hardwareVideo;// = false
|
||||
bool m_fullscreen;// = false
|
||||
bool m_vsync;// = false
|
||||
bool m_hardwareVideo;/// = false
|
||||
bool m_fullscreen;/// = false
|
||||
bool m_vsync;/// = false
|
||||
|
||||
unsigned long int m_videoSettings;// = SDL_RENDERER_SOFTWARE
|
||||
unsigned long int m_videoSettings;/// = SDL_RENDERER_SOFTWARE
|
||||
|
||||
static cVideo* sp_inst;// = nullptr
|
||||
static cVideo* sp_inst;/// = nullptr
|
||||
|
||||
/*SDL interprets each pixel as a 32-bit number, so our masks must depend
|
||||
on the endianness (byte order) of the machine */
|
||||
|
||||
Reference in New Issue
Block a user