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