Rename Display to Window.
It makes more sense to be consistent and always call it window.
This commit is contained in:
parent
416a71f744
commit
24da7f45e0
33 changed files with 257 additions and 255 deletions
34
include/Spectre/Window/WindowDescription.h
Normal file
34
include/Spectre/Window/WindowDescription.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
|
||||
#ifndef SPECTRE_WINDOW_WINDOWDESCRIPTION_H
|
||||
#define SPECTRE_WINDOW_WINDOWDESCRIPTION_H
|
||||
|
||||
#include "DisplayMode.h"
|
||||
|
||||
namespace sp {
|
||||
|
||||
namespace WindowDecorate {
|
||||
|
||||
enum Type {
|
||||
Empty = 0,
|
||||
Menu = 1 << 0,
|
||||
Resize = 1 << 1,
|
||||
Close = 1 << 2,
|
||||
Default = Menu | Resize | Close,
|
||||
};
|
||||
};
|
||||
|
||||
struct WindowDescription
|
||||
{
|
||||
public :
|
||||
WindowDescription();
|
||||
WindowDescription(DisplayMode mode, unsigned decoration = WindowDecorate::Default);
|
||||
|
||||
public :
|
||||
DisplayMode mode;
|
||||
|
||||
unsigned int decoration;
|
||||
};
|
||||
|
||||
} // namespace sp
|
||||
|
||||
#endif /* SPECTRE_WINDOW_WINDOWDESCRIPTION_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue