Michael Ragazzon
|
85fc4c69e2
Clean up the event dispatcher
|
6 years ago |
Michael Ragazzon
|
f745fac0ee
WIP: Rework event dispatcher loop, introduce observer pointer (for now based on std::shared_ptr)
|
6 years ago |
Michael Ragazzon
|
f139eb6a5c
Event::StopImmediatePropagation()
|
6 years ago |
Michael Ragazzon
|
7546033f34
Copy the event listeners before processing events (see #45). Check whether event is propagating between each dispatch.
|
6 years ago |
Michael Ragazzon
|
f2d788e74e
Avoid event dispatcher iterator invalidation (see #45)
|
6 years ago |
Michael Ragazzon
|
68f53dce67
Clean up types and aliases, trying to be more consistent.
|
6 years ago |
Michael Ragazzon
|
ebe3e3a14a
Remove ReferenceCountable from Event and EventInstancer
|
6 years ago |
Michael Ragazzon
|
391f39b038
Merge branch 'master' into performance
|
6 years ago |
Michael Ragazzon
|
eff01ba43a
The big rename. We are now RmlUi version 2.0!
|
6 years ago |
Michael Ragazzon
|
fd44d9cfcb
Optionally use EventId on add/remove listener. In the EventDispatcher, replace the map<vector> with a flat, manually sorted vector.
|
6 years ago |
Michael Ragazzon
|
0b5d8c7189
Add RegisterEventType to Core API. Update readme. Element::DispatchEvent should now be backwards compatible. Prevent default action after calling StopPropagation(),
|
6 years ago |
Michael Ragazzon
|
60e88e7e65
Disabled form control elements are now properly handled. They cannot receive focus or click events from user input.
|
6 years ago |
Michael Ragazzon
|
b3c4f5a97d
Let all event listeners on the current element finish when calling StopPropagation().
|
6 years ago |
Michael Ragazzon
|
d2c395645c
Make Event unaware of event specification, pass by parameter instead.
|
6 years ago |
Michael Ragazzon
|
bcc1ac4f2a
Implement EventId and associated EventSpecification
|
6 years ago |
Michael Ragazzon
|
3c5c22b5e8
EventPhase as enum class
|
6 years ago |
Michael Ragazzon
|
02821004f1
WIP. Separate default event actions from ProcessEvents (event listeners)
|
6 years ago |
Michael Ragazzon
|
246e1ecc78
WIP: Specify bubbling and default actions on dispatching events
|
6 years ago |
Michael Ragazzon
|
f3b9ad29f0
Reverting to commit 9c42c7b. The strings to ID changes were too complicated compared to the performance gained.
|
6 years ago |
Michael Ragazzon
|
f7e1c4c4fb
WIP PropertyNames from Strings to IDs (not compiling)
|
6 years ago |
Michael Ragazzon
|
709852fcf8
Replace std::unordered_map with robin_hood
|
6 years ago |
Michael Ragazzon
|
e6638f1020
WIP: Attempt to replace Rocket::String with std::string
|
6 years ago |
Michael Ragazzon
|
3e8d309c42
Add summary of element event listeners to debugger
|
6 years ago |
David Wimsey
|
4e1786a833
Updated source files and private headers to use relative paths to public headers. This prevents the compiler from pulling in an installed copy of libRocket headers rather than the source copy of the headers if libRocket happens to be installed on the system already.
|
11 years ago |
Doug Binks
|
ed17fdbe68
Warning fixes.
|
12 years ago |
Lloyd Weehuizen
|
0199dd021e
libRocket 1.2 beta, initial import
|
15 years ago |