Commit Graph

52 Commits

Author SHA1 Message Date
Jérôme Leclercq
a02b1952c0 Apply header order fix 2021-10-28 09:53:56 +02:00
Jérôme Leclercq
f491ee1e38 Apply inclusion fix 2021-10-27 18:09:19 +02:00
Jérôme Leclercq
93ec196dc4 Apply header guard check 2021-10-26 15:52:46 +02:00
Jérôme Leclercq
ed7ab31933 Apply copyright fix to all files 2021-10-26 14:31:35 +02:00
Jérôme Leclercq
874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
ba7c56ddfa Upgrade Platform 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
26de5872eb Merge branch 'master' into graphics-next 2021-05-17 18:58:04 +02:00
Jérôme Leclercq
bd9d30407c Fix SDL2 cursor 2020-11-17 17:44:31 +01:00
Jérôme Leclercq
7526923a8d Platform: Fix space not generating a text event 2020-11-17 17:43:42 +01:00
Jérôme Leclercq
af55ecc2a5 Fix SDL2 crash when creating cursor
Enfoiré de REMqb
2020-11-12 16:28:33 +01:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq
36d3c51eeb Add module configurations 2020-09-17 20:10:39 +02:00
Jérôme Leclercq
fd1d416510 Rename Module to ModuleBase 2020-09-11 13:39:18 +02:00
Jérôme Leclercq
a7fac3beb8 Rework modules 2020-09-10 20:12:09 +02:00
Jérôme Leclercq
b2a7e620e0 Merge branch 'master' into nazara-next 2020-08-27 20:12:36 +02:00
Jérôme Leclercq
1a12e18a36 Fix copyright dates and some defines 2020-08-11 00:01:49 +02:00
Lynix
1b4199c0a7 Platform/SDL2: Don't SDL_PumpEvents when not owning Windows
This is a temporary fix
2020-06-02 16:40:08 +02:00
Lynix
1734b8e5db SDL fixes 2020-05-27 20:37:20 +02:00
Lynix
e0e7435c55 Merge fixes 2020-05-27 20:03:46 +02:00
Lynix
68208f5426 Merge branch 'master' into vulkan 2020-05-27 19:48:22 +02:00
Lynix
81f03f04e5 Revert Renderer to its pre-SDL state 2020-05-27 19:42:53 +02:00
Lynix
2d189dc85e Fix WindowHandles 2020-05-27 18:55:03 +02:00
Lynix
b0c72a6101 Replace platform backends by SDL 2020-05-27 17:47:52 +02:00
Lynix
c071f52d8f Platform/Mouse: Add SetRelativeMouseMode 2020-05-27 17:08:49 +02:00
Jérôme Leclercq
1425f99edf Merge branch 'master' into SDL2 2020-05-27 11:11:21 +02:00
Jérôme Leclercq
8d8f44f4b9 Make Windows implementation DPI-Aware (+ fix issue with window position) (#322)
* WindowImpl : Fix windows centering on desktop

* WindowImpl : Make nazara DPI aware

* Refactor dpi stuff

* Minor aesthetic stuff

* More minor stuff

Co-authored-by: HardCPP <hardcpp@gmail.com>
2020-05-18 17:04:52 +02:00
Lynix
9507c56fc9 PixelFormat rename
PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
2020-04-10 14:19:36 +02:00
REMqb
96ea792656 ~ Formatting 2020-03-21 12:42:50 +01:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
6fd31d1c71 [Posix] Moar fixes 2020-02-23 11:29:54 +01:00
Lynix
a51e77fe83 [Posix] Fix compilation 2020-02-23 11:14:41 +01:00
Lynix
6ec2f3e56e More Linux fixes 2020-02-23 02:49:32 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
REMqb
ef791e2f3c ~ WIP input IME 2019-12-19 19:59:43 +01:00
Lynix
37c16dc202 Platform/Event: Add x/y mouse position to MouseWheelEvent 2019-07-05 22:17:22 +02:00
Lynix
ab5188c57d Add scancode and virtual key and fix some sdl stuff on Windows 2019-05-19 16:34:29 +02:00
REMqb
848f05a420 ~ Initial SDL2 implementation
Limitation
- Dependent projects need to set NAZARA_PLATFORM_SDL2 if nazara has been build with SDL2 since OpenGL.hpp (and maybe some other headers) exposes platform details
- SDL2 window doesn't supports async window since the API isn't fitting for now
- Contexts parameters can't be changed until we close all the SDL windows (SDL limitation)
2019-04-03 21:17:06 +02:00
Lynix
c05d39ed28 Fix some indentation shit 2019-03-26 19:09:46 +01:00
Lynix
4bf92457c5 Platform: Fix cursor disappearing on Windows in some cases 2019-03-10 15:56:42 +01:00
Lynix
23b2f0a48d Platform/Window: Make PushEvent public 2019-03-10 15:50:16 +01:00
Lynix
ec3cb12451 Platform/Cursor: Fixed SystemCursor_Move on Windows 2019-03-10 15:12:20 +01:00
Lynix
8c91d6a77d Platform/Window: Fix SetCursor always changing cursor 2019-03-10 15:11:16 +01:00
Lynix
39c89c52f4 Platform/Window: Fix size event triggering key event on Windows 2018-02-15 21:08:38 +01:00
germinolegrand
1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
REMqb
4d195e0e08 ~ Fix widgets / events not working after the window defocused then focused again (#144) 2017-11-23 00:01:55 +01:00
Jérôme Leclercq
1b80ad5f02 Platform/Window: Revert wrong mouse position fix 2017-11-22 10:26:58 +01:00
REMqb
ecadcabfa9 ~ Fix position of the mouse was set after the event callbacks were run. (#143) 2017-11-22 00:35:32 +01:00
Gawaboumga
f991a9529e General bug fixes (#142)
* Core/Bitset: Fix TestAll method

* Fix documentation

* Fix color and their conversions

* Core/ByteStream: Fix return of Write

* Fix compiler warnings

* Math/Algorithm: Fix angle normalization

* Math/BoundingVolume: Fix lerp

* Math: Fix relation between Matrix4 and Quaternion

* More tests

* X11/Window: Fix mouse moved event generated when doing Mouse::SetPosition

* Update ChangeLog

* Should fix compilation on Windows

* Should fix compilation on Windows

Forgot to include array for Windows
2017-11-21 12:16:46 +01:00
Lynix
d688cecbde Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
Utility: Removed Window::Get[Height|Width] methods
2017-10-28 23:26:22 +02:00
Lynix
bf8ebbd046 Platform/WindowImpl: Fix threaded windows deadlock when using some methods 2017-10-28 00:52:26 +02:00