1
0
Fork 0
Commit graph

19 commits

Author SHA1 Message Date
3a7f91cb07 Merge branch 'fullscreen-api-nonrecreate' into dev 2022-09-13 20:39:02 +02:00
deb9918b9b source/Display/Display.cpp: Need to set position to 0,0 in window fullscreen, otherwise it wont stick to the top-left of the monitor. 2022-09-13 19:52:34 +02:00
7c23f5dfd9 include/Spectre/Display/DisplayDescription.h: change Empty to None 2022-09-13 19:43:26 +02:00
fc38bb59a9 source/Display/Display.cpp: restore size when entering window mode. 2022-09-12 22:25:15 +02:00
d12d60b1ba Display/Display: Cache position when entering fullscreen and restore when entering window mode again. 2022-09-12 22:24:42 +02:00
81c7e34c58 Use SPECTRE_PLATFORM_* defines instead of raw compiler ones. 2020-12-26 17:25:25 +01:00
12b2413e23 include/Spectre/Display/DisplayDescription.h: Rename DisplayDecorate::None to Empty (None clashes with X11) 2020-12-23 14:34:12 +01:00
6464838159 source/Platform/Unix: stub implementation 2020-12-19 18:55:10 +01:00
74a2ff028c source/Display/Display.cpp: Use the new display api that does not require recreating the display. 2020-12-09 02:46:55 +01:00
b43f2fcca8 Display/DisplayMode: adding empty() 2020-12-05 18:23:16 +01:00
c2b0d73888 source/Display/DisplayMode.cpp: initialize bpp to zero. 2020-12-05 18:23:16 +01:00
fc1fc7001a Spectre/Display/Display: Adding setVisible() 2020-12-05 15:31:48 +01:00
0a5681c871 Spectre/Display/Display: implement grabCursor() 2020-12-05 15:31:47 +01:00
82add50157 Spectre/Display/Display: implement setIcon() with pixel array parameter. 2020-11-03 11:29:14 +01:00
4d54968f83
Display/Display: No need to include System/SystemEvent. 2020-02-01 15:49:55 +01:00
4df668e68f
Minor formating fixes. 2019-12-29 22:26:05 +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
2da2601149 GLContext: Remove bpp parameter from create()
Hardcode to 32 bits for now.
2016-02-17 13:28:32 +01:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00