SFRenderer and setWindowName added and a documentation fix

This commit is contained in:
Clément Le Bihan
2020-01-31 17:43:51 +01:00
parent 21ce8a9743
commit cc65968f8e
4 changed files with 40 additions and 6 deletions
+3
View File
@@ -18,6 +18,9 @@ namespace ComSquare::Renderer
//! @brief Render the buffer to the window
virtual void drawScreen() = 0;
//! @brief Set a pixel to the coordinates x, y with the color rgba
//! @param x The x position of the window (0, 0 is the top left corner).
//! @param y The y position of the window (0, 0 is the top left corner).
//! @param rgba The color of the pixel (red, green, blue, alpha).
virtual void putPixel(int x, int y, uint8_t rgba) = 0;
};
}