malena
Why malena
Quick start
Tutorials
API docs
GitHub
GitHub
Tutorials
Loading...
Searching...
No Matches
Engine
Window
WindowManager.h
Go to the documentation of this file.
1
//
2
// Created by Dave Smith on 3/7/25.
3
//
4
5
#ifndef WINDOWMANAGER_H
6
#define WINDOWMANAGER_H
7
8
#pragma once
9
10
#include <
SFML/Graphics.hpp
>
11
12
namespace
ml::WindowManager
13
{
45
inline
sf::RenderWindow
&
getWindow
()
46
{
47
static
sf::RenderWindow
* window =
new
sf::RenderWindow
;
48
return
*window;
49
}
50
51
}
// namespace ml::WindowManager
52
53
#endif
// WINDOWMANAGER_H
Graphics.hpp
sf::RenderWindow
ml::WindowManager::getWindow
sf::RenderWindow & getWindow()
Return the framework's shared sf::RenderWindow.
Definition
WindowManager.h:45
ml::WindowManager
Definition
WindowManager.h:13
Generated by
1.16.1