1
0
Fork 0
Commit graph

26 commits

Author SHA1 Message Date
80591ff6ee source/Platform/Win32/Win32Display: Adding calculateSize() 2023-08-03 15:23:19 +02:00
c1cc476094 source/Platform/Win32/Win32Display.cpp: Tab indentation fix. 2023-02-18 14:03:14 +01:00
9c4c6152c9 source/Platform/Win32/Win32Display.cpp: Whitespace fix. 2022-10-08 17:29:27 +02:00
f2fc9d46b8 Revert "include/Spectre/Display/DisplayDescription.h: change Empty to None"
This reverts commit 7c23f5dfd9.

`None` is defined in X11.
2022-10-01 16:09:42 +02:00
3a7f91cb07 Merge branch 'fullscreen-api-nonrecreate' into dev 2022-09-13 20:39:02 +02:00
7c23f5dfd9 include/Spectre/Display/DisplayDescription.h: change Empty to None 2022-09-13 19:43:26 +02:00
3c6a842c9d Platform/Win32/Win32Display.cpp: remove fullscreen stuff in create() 2022-09-12 22:44:51 +02:00
9621ea19bb source/Platform/Win32/Win32Display.cpp: on x64, windows headers undefine GWL_USERDATA, So we define it again. 2022-09-10 14:02:58 +02:00
8d57b3a72c source/Platform/Win32/Win32Display.cpp: Use SetWindowLongPtr/GetWindowLongPtr as LONG_PTR supports 64bit addresses. 2022-09-10 13:59:40 +02:00
b984f30968 Platform/Win32/Win32Display.cpp: for WM_SIZE event we can use lParam variable to get the size. 2020-12-29 17:45:32 +01:00
845b93fb48 source/Platform/Win32/Win32Display.cpp: DisplayDecorate::None has changed to DisplayDecorate::Empty 2020-12-28 18:38:27 +01:00
304e345a79 Platform/Win32/Win32Display: Implementing true fullscreen with enterFullscreen() and exitFullscreen() 2020-12-09 02:46:55 +01:00
ebe3a648c5 Platform/Win32/Win32Display: Implement setDecoration() 2020-12-09 02:46:54 +01:00
5d433a7b80 source/Platform/Win32/Win32Display.cpp: don't call destroy() on WM_DESTROY as the window is already destroyed if we get this event. 2020-12-05 15:31:48 +01:00
2da0f7e712 Platform/Win32/Win32Display.cpp: change OutputDebugString() to Log::debug() 2020-12-05 15:31:47 +01:00
f0d769c923 Platform/Win32/Win32Display: minor fix. 2020-12-05 15:31:47 +01:00
04db63aa49 Platform/Win32/Win32Display: implement setVisible() 2020-12-05 15:31:47 +01:00
17759992c8 Platform/Win32/Win32Display: implement maximize() and minimize() 2020-12-05 15:31:47 +01:00
d7d8a23dc2 Platform/Win32/Win32Display: implement getPosition() 2020-12-05 15:31:47 +01:00
e64d9cdce0 Platform/Win32/Win32Display: implement grabCursor() 2020-12-05 15:31:47 +01:00
2be3c66a2d Platform/Win32/Win32Display: implement the new setIcon() with pixel array. 2020-11-03 11:29:14 +01:00
ffb97d2b3a
source/Platform/Win32/Win32Display.cpp: No need to include Spectre/System/SystemEvent.h 2020-02-01 15:49:56 +01:00
6f53b0c069
source/Platform/Win32/Win32Display.cpp: in setSize() add cast to silence compiler warnings. 2019-12-29 22:16:54 +01:00
3b27db9435
include/Spectre/System/Log.h: implement a static "Log" class instead of just a function. 2019-11-10 14:56:56 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.

So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00