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