Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
window.hpp File Reference

SDL3 desktop window with its events, keyboard, mouse and gamepads, independent of the graphics API. More...

#include <aegis2d/platform/export.hpp>
#include <aegis2d/platform/gamepad.hpp>
#include <aegis2d/platform/keyboard.hpp>
#include <aegis2d/platform/mouse.hpp>
#include <aegis2d/platform/text_input.hpp>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Classes

class  aegis2d::platform::WindowError
 Thrown when the window cannot be created. More...
 
struct  aegis2d::platform::WindowConfig
 Settings of a new window. More...
 
struct  aegis2d::platform::Extent
 Width and height of a window or a framebuffer. More...
 
class  aegis2d::platform::Window
 Desktop window: creation, size and events. Drawing is left to a render backend. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::platform
 Window and input on top of SDL3, independent of the graphics API (client only).
 

Enumerations

enum class  aegis2d::platform::GraphicsApi : std::uint8_t { aegis2d::platform::None , aegis2d::platform::OpenGL }
 Graphics API the window is prepared for. More...
 

Detailed Description

SDL3 desktop window with its events, keyboard, mouse and gamepads, independent of the graphics API.