mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-21 14:45:10 +00:00
adding window and videomode to the SFRenderer
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
namespace ComSquare::Renderer
|
namespace ComSquare::Renderer
|
||||||
{
|
{
|
||||||
class SFRenderer : public IRenderer {
|
class SFRenderer : public IRenderer {
|
||||||
|
private:
|
||||||
|
//! @brief The main Window.
|
||||||
|
sf::Window window;
|
||||||
|
//! @brief Video Mode containing the height and width of the window.
|
||||||
|
sf::VideoMode videoMode;
|
||||||
public:
|
public:
|
||||||
//! @brief Set a new name to the window, if there is already a name it will be overwrite.
|
//! @brief Set a new name to the window, if there is already a name it will be overwrite.
|
||||||
//! @param A new title for the window.
|
//! @param A new title for the window.
|
||||||
|
|||||||
Reference in New Issue
Block a user