include/Spectre/Display/DisplayDescription.h: change Empty to None
This commit is contained in:
parent
83f4d05df8
commit
7c23f5dfd9
3 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ namespace sp {
|
||||||
namespace DisplayDecorate {
|
namespace DisplayDecorate {
|
||||||
|
|
||||||
enum Type {
|
enum Type {
|
||||||
Empty = 0,
|
None = 0,
|
||||||
Menu = 1 << 0,
|
Menu = 1 << 0,
|
||||||
Resize = 1 << 1,
|
Resize = 1 << 1,
|
||||||
Close = 1 << 2,
|
Close = 1 << 2,
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ void Display::setVideoMode(Mode mode)
|
||||||
m_cacheDesc = m_description;
|
m_cacheDesc = m_description;
|
||||||
}
|
}
|
||||||
|
|
||||||
desc.decoration = DisplayDecorate::Empty;
|
desc.decoration = DisplayDecorate::None;
|
||||||
} else {
|
} else {
|
||||||
desc = m_cacheDesc;
|
desc = m_cacheDesc;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -251,7 +251,7 @@ DWORD Win32Display::getWin32Flags(unsigned int flags)
|
||||||
{
|
{
|
||||||
DWORD win32_flags = WS_VISIBLE;
|
DWORD win32_flags = WS_VISIBLE;
|
||||||
|
|
||||||
if (flags == DisplayDecorate::Empty) {
|
if (flags == DisplayDecorate::None) {
|
||||||
win32_flags |= WS_POPUP;
|
win32_flags |= WS_POPUP;
|
||||||
} else {
|
} else {
|
||||||
if (flags & DisplayDecorate::Menu) {
|
if (flags & DisplayDecorate::Menu) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue