CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
LinuxWindow.hpp
Go to the documentation of this file.
1//
2// CeresEngine - A game development framework
3//
4// Created by Rogiel Sulzbach.
5// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6//
7
8#pragma once
9
10#include "Forward.hpp"
11
14
15namespace CeresEngine {
16
17 class LinuxWindow : public PlatformWindow {
18 public:
19 struct Pimpl;
20 friend struct Pimpl;
21
22 private:
25
28
29 public:
31 ~LinuxWindow() override;
32
33 public:
36
39
40 public:
43
45 void setTitle(const String& title) final;
46
49
51 void resize(double width, double height) final;
52
54 void close() final;
55
58
60 void setFullscreen(bool fullscreen) final;
61 };
62
63} // namespace CeresEngine
Definition LinuxWindow.hpp:17
void resize(double width, double height) final
PlatformWindowProperties mProperties
Definition LinuxWindow.hpp:27
void setTitle(const String &title) final
friend struct Pimpl
Definition LinuxWindow.hpp:20
Vector2 getSize() const final
bool isFullscreen() const final
void setFullscreen(bool fullscreen) final
String getTitle() const final
UPtr< Pimpl > m
The pointer-to-implementation.
Definition LinuxWindow.hpp:24
Definition PlatformWindow.hpp:44
Definition Application.hpp:19
std::unique_ptr< T, Deleter > UPtr
UPtr is a smart pointer that owns and manages another object through a pointer and disposes of that o...
Definition SmartPtr.hpp:28
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition Hash.hpp:25
A structure that contains the state and settings for the window.
Definition PlatformWindow.hpp:33