Vladimír Vondruš
43f6dbc72d
Using integer vector aliases all over the place.
14 years ago
Vladimír Vondruš
6c5d96d645
Adapted to Corrade changes.
14 years ago
Vladimír Vondruš
891cc6606e
Adapted to Corrade changes.
14 years ago
Vladimír Vondruš
6793a30701
NaClApplication: implemented mouse locking.
14 years ago
Vladimír Vondruš
331b027fb8
Minor cleanup.
14 years ago
Vladimír Vondruš
78e9c7add1
NaClApplication: schedule one more redraw after fullscreen switch.
...
Otherwise NaCl displays previous image, notable mainly when exiting
16:9 fullscreen back to 4:3.
14 years ago
Vladimír Vondruš
97383b8a62
NaClApplication: fullscreen switching support.
14 years ago
Vladimír Vondruš
152eb4e4b4
NaClApplication: fixed boolean fuckup.
...
Now viewportEvent() is called properly on startup _and_ when resizing,
not everytime else.
14 years ago
Vladimír Vondruš
c488d8f2d0
Minor #include cleanup.
14 years ago
Vladimír Vondruš
757ca13514
Sdl2Application: don't request specific OpenGL version.
...
I don't want to ditch old Intels with GL 2.1 yet. Also now the version
reported in Context is really the highest supported version, which
optimizes extension presence checks a bit.
14 years ago
Vladimír Vondruš
985b28cf07
Sdl2Application: fix modifiers everywhere, not only for key press.
14 years ago
Vladimír Vondruš
cf0ca06d39
NaClApplication: relative position in MouseMoveEvent.
14 years ago
Vladimír Vondruš
b013c0d26e
Sdl2Application: proper implementation of event accepting/rejecting.
...
It actually IS useful for event propagation.
14 years ago
Vladimír Vondruš
7cdbad0557
Sdl2Application: also lock cursor to window when locking mouse.
14 years ago
Vladimír Vondruš
ddc0652272
Sdl2Application: make mouse locking functions public.
14 years ago
Vladimír Vondruš
fabbb99722
NaClApplication: fix improper assertion.
...
Apparently input events can be processed during buffer swapping. Now
asserting that callback from buffer swap is not called during input
event processing (which shouldn't, as both functions should be called in
the same thread).
14 years ago
Vladimír Vondruš
858661fa7e
Sdl2Application: support for mouse locking.
14 years ago
Vladimír Vondruš
5b16dbb550
Sdl2Application: support for relative position in mouse move event.
14 years ago
Vladimír Vondruš
2ad7fea174
Sdl2Application: support for modifiers also in mouse events.
...
Lazily loaded on user request.
14 years ago
Vladimír Vondruš
3b3a164212
Doc++
14 years ago
Vladimír Vondruš
0200ffe74c
NaClApplication: using special classes for input events.
...
NaCl and SDL2 are now hotswappable again without any unimplemented or
superfluous function parameters.
Also added missing EnumSet operators for Modifiers.
14 years ago
Vladimír Vondruš
5354396af6
Sdl2Application: using special classes for input events.
...
Will make lazy-loading possible and allows for less-constrained static
polymorphism.
14 years ago
Vladimír Vondruš
a3c37cd277
Doc++, minor cleanup.
14 years ago
Vladimír Vondruš
1a729aa3af
NaClApplication: mouse input handling.
14 years ago
Vladimír Vondruš
54dc556eb5
NaClApplication: keyboard input handling.
14 years ago
Vladimír Vondruš
3d92162505
Sdl2Application: cursor position for key events is not available either.
14 years ago
Vladimír Vondruš
9505e0b3c1
Sdl2Application: added missing keys.
...
Now nearly full static compatibility with AbstractXApplication.
14 years ago
Vladimír Vondruš
4f9e13b2cb
Sdl2Application: implemented modifiers.
...
In SDL they are only for keyboard events and there is no support
for mouse modifiers like in X. Also reordered the enum in
AbstractXApplication to make it consistent.
14 years ago
Vladimír Vondruš
8789c31dec
Platform: macros for easier creation of application entry points.
14 years ago
Vladimír Vondruš
643977abbd
Platform: support for NaCl applications.
14 years ago
Vladimír Vondruš
9cf48eee56
Platform: removed unneeded AbstractApplication base.
...
It's really not needed to have useless class defining only one function
(which wouldn't be used everywhere anyway).
14 years ago
Vladimír Vondruš
e1cd13021b
Platform/Application renaming.
...
Because with NaCl WindowContext doesn't make sense anymore, the classes
are now renamed:
* Contexts namespace -> Platform
* *WindowContext -> Application
Hopefully this is (one of) last crazy renaming runs.
14 years ago