Kp
d469bcbe24
Guard event_get_idle_seconds in #if DXX_USE_EDITOR
...
Only editor code accesses this variable. Skip tracking it in non-EDITOR
builds.
2018-02-10 22:23:36 +00:00
Chris Taylor
8a8f11dc89
Include cstdint in common/include/fwd-event.h instead of pstypes.h to only include required uint8_t
2016-11-06 13:44:29 +08:00
Chris Taylor
e26d08cd48
Change window_event_result back to a uint8_t with the only forward declaration in fwd-event.h and fix the errors that result.
2016-10-31 10:17:54 +08:00
Chris Taylor
21b0a7a48d
Pass the most significant window_event_result to the caller of event_process
...
This will allow checking for window_event_result::deleted, instead of relying on window_exists, which could return a false positive if a new window was allocated with the same pointer value as the deleted one.
2016-10-28 14:43:20 +08:00
Chris Taylor
2d587de8dc
Make call_default_handler return a window_event_result
...
Make call_default_handler return a window_event_result to inform the event system in future, particularly if a window was closed.
2016-10-27 16:36:24 +08:00
Kp
dc8c0323d8
Uninline namespace dcx
2015-12-13 18:00:49 +00:00
Kp
dbe4918f27
Use inline namespace dcx for common/arch/sdl
2015-12-05 22:57:24 +00:00
Kp
78de0ac119
Add fwd-event.h with forward declarations of event.h
2015-10-09 02:46:10 +00:00