improved docs
This commit is contained in:
parent
c8f1c90f9c
commit
dfe9b1abe9
16 changed files with 315 additions and 40 deletions
|
|
@ -33,10 +33,26 @@ import :Types;
|
|||
import :Window;
|
||||
|
||||
export namespace Crafter {
|
||||
/**
|
||||
* @class WindowWayland
|
||||
* @brief A window using the Wayland display server protocol.
|
||||
*
|
||||
* This class inherits from the base Window class and provides
|
||||
* functionality specific to Wayland for creating and managing
|
||||
* windows.
|
||||
*/
|
||||
class WindowWayland : public Window {
|
||||
public:
|
||||
Pixel_BU8_GU8_RU8_AU8* framebuffer = NULL;
|
||||
/**
|
||||
* @brief Constructs a Wayland window with a given name and size.
|
||||
* @param name The title for the window.
|
||||
* @param width The width of the window in pixels.
|
||||
* @param height The height of the window in pixels.
|
||||
*/
|
||||
WindowWayland(std::string name, std::uint32_t width, std::uint32_t height);
|
||||
/**
|
||||
* @brief Destructor cleans up Wayland-specific window resources.
|
||||
*/
|
||||
~WindowWayland();
|
||||
protected:
|
||||
bool configured = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue