Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
Loading...
Searching...
No Matches
windowproperties.h
1
#pragma once
2
#include<string>
3
#include <constants.h>
4
#include <meteorutils/color.h>
5
6
namespace
meteor {
10
struct
SWindowProperties
{
11
public
:
12
std::string name =
"Meteor2D"
;
13
size_t
width = SCREEN_WIDTH;
14
size_t
height = SCREEN_HEIGHT;
15
bool
fullscreen = FULLSCREEN;
16
bool
vsync = USE_VSYNC;
17
SColor
backgroundColor;
18
19
SWindowProperties
() {};
20
21
SWindowProperties
(std::string name,
SColor
backgroundColor) {
22
this->name = name;
23
this->backgroundColor = backgroundColor;
24
}
25
};
26
}
meteor::SColor
A struct representing a color.
Definition
Color.h:8
meteor::SWindowProperties
A encapsulate properties window creation.
Definition
windowproperties.h:10
D:
Github
Meteor2D
Meteor2D
Engine
include
windowing
windowproperties.h
Generated by
1.10.0