mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-05 19:04:22 +00:00
Adding a base class for a QT window
This commit is contained in:
@@ -14,7 +14,7 @@ namespace ComSquare::Renderer
|
||||
public:
|
||||
//! @brief Set a new name to the window, if there is already a name it will be overwrite.
|
||||
//! @param newWindowName new title for the window.
|
||||
void setWindowName(std::string newWindowName) override;
|
||||
void setWindowName(std::string &newWindowName) override;
|
||||
//! @brief Update the screen by printing the buffer.
|
||||
void drawScreen() override;
|
||||
//! @brief Add a pixel to the buffer to the coordinates x, y with the color rgba.
|
||||
@@ -28,8 +28,8 @@ namespace ComSquare::Renderer
|
||||
//! @param maxFPS The number of FPS you aim to run on.
|
||||
void createWindow(SNES &snes, int maxFPS) override;
|
||||
//! @brief Constructor that return the window component of the SFML.
|
||||
//! @param height height of the window.
|
||||
//! @param width width of the window.
|
||||
//! @param height _height of the window.
|
||||
//! @param width _width of the window.
|
||||
//! @param maxFPS the number of maximum FPS for the window.
|
||||
NoRenderer(unsigned int height, unsigned int width, int maxFPS);
|
||||
NoRenderer(const NoRenderer &) = default;
|
||||
|
||||
Reference in New Issue
Block a user