Michael Ragazzon
|
5f9323a85d
Fix some warnings
|
6 years ago |
Michael Ragazzon
|
270c5286d6
Scroll to rounded pixel values
|
6 years ago |
Michael Ragazzon
|
8a0e9a0e3a
Transform animations:
|
6 years ago |
Michael Ragazzon
|
c76723803d
Remove Event::PreventDefault(), it is not working as one might expect from the name.
|
6 years ago |
Michael Ragazzon
|
3f173e524a
Update demo sample
|
6 years ago |
Michael Ragazzon
|
3658cf07f2
Apply transform in correct order
|
6 years ago |
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
|
820e36071a
Blur element when made invisible, maybe fixes #57
|
6 years ago |
Michael Ragazzon
|
b4c4c48297
ResolveLength to ResolveNumericProperty, see #55. Angles now require units of deg or rad.
|
6 years ago |
Michael Ragazzon
|
63e2666865
Make Element::GetProperty<T> safe for invalid names, see #56.
|
6 years ago |
Michael Ragazzon
|
039841c537
Make the resolve length functions safer, returns zero if unsuccessful. Rename to ResolveLength (emphasizes returned unit). Add Element::ResolveLength(property_name). See #55.
|
6 years ago |
Michael Ragazzon
|
cd670fc143
Refactoring FontEngineDefault (part I). Isolate the interface with FreeType. All font engine default files moved to a separate folder.
|
6 years ago |
Victor Luchits
|
4e85f31111
Refactor the fonts subsystem to allow external font providers
|
6 years ago |
Michael Ragazzon
|
c1d7870981
Update box dirty changes immediately.
|
6 years ago |
Michael Ragazzon
|
0391c9db9b
Fix some control elements rendered one frame after.
|
6 years ago |
Michael Ragazzon
|
b6739b4684
Replace render interface functions PushTransform and PopTransform with SetTransform
|
6 years ago |
Michael Ragazzon
|
40f19fe151
Completely revised transforms implementation. Please have a look at the readme and updated transform sample for details.
|
6 years ago |
Michael Ragazzon
|
92bb7b5891
Move UpdateTransformState() to Element::Render(). The transforms depend on the layouting (element size), this change ensures that the transforms are updated with the correct size for the current frame.
|
6 years ago |
Michael Ragazzon
|
25b8b45ca7
Rework some of the element instancers and the pool. Use pools for assigning plain Elements and ElementTextDefault.
|
6 years ago |
Michael Ragazzon
|
b10a47c0c1
Additional profiling zones
|
6 years ago |
Michael Ragazzon
|
0951b7e355
Implement support for Tracy profiler
|
6 years ago |
Michael Ragazzon
|
4b539c167d
Don't dirty every property during ElementStyle initialization. Only dirty as necessary. Make sure we dirty inherited properties when inserted into a new parent.
|
6 years ago |
Michael Ragazzon
|
642d096e44
Make font face handle a computed value, making it cheap to inherit from parent element.
|
6 years ago |
Michael Ragazzon
|
acea973863
Move remaining functions out of String.h and into StringUtilities.h.
|
6 years ago |
Michael Ragazzon
|
2f4b16e8da
New number formatter in debugger
|
6 years ago |
Michael Ragazzon
|
aa80c3b917
Add PropertySource to properties and revise element info debugging
|
6 years ago |
Michael Ragazzon
|
d7c4aa83d5
Remove all_dirty bool in OnPropertyChange
|
6 years ago |
Michael Ragazzon
|
c2a1469cc5
Update element properties when creating scrollbars.
|
6 years ago |
Michael Ragazzon
|
e74110e709
Faster query for dirty layout
|
6 years ago |