Loading...
Searching...
No Matches
WindowManager.h
Go to the documentation of this file.
1// Copyright (c) 2025 Dave R. Smith. All rights reserved.
2// Malena Framework — Proprietary Software. See LICENSE for terms.
3
4//
5// Created by Dave Smith on 3/7/25.
6//
7
8#ifndef MALENA_WINDOWMANAGER_H
9#define MALENA_WINDOWMANAGER_H
10
11#pragma once
12
14#include <SFML/Graphics.hpp>
15
17{
50 {
51 static sf::RenderWindow* window = new sf::RenderWindow;
52 return *window;
53 }
54
55} // namespace ml::WindowManager
56
57#endif // MALENA_WINDOWMANAGER_H
sf::RenderWindow & getWindow()
Return the framework's shared sf::RenderWindow.