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 |
Michael Ragazzon
|
d1d72de3f8
Replace PropertyNameList with PropertyIdSet (previously DirtyPropertyList)
|
6 years ago |
Michael Ragazzon
|
e21b962117
Core::Lua Plugin now deletes itself on Core::Shutdown.
|
6 years ago |
Michael Ragazzon
|
cb0ad4af19
Clean up element pointers in Context on detach. I think maybe we should use SharedPtr instead of UniquePtr for elements so we can extend its lifetime until the end of the next Update call.
|
6 years ago |
Michael Ragazzon
|
cb347e1a38
NULL to nullptr
|
6 years ago |
Michael Ragazzon
|
130674a7b2
Refining the Core API: Now interfaces and instancers are passed as raw pointers to RmlUi, and considered non-owning. It is the user's responsibility to keep the objects alive until after Core::Shutdown and then release these objects at their discretion.
|
6 years ago |
Michael Ragazzon
|
9a5648389d
Remove the last usage of ReferenceCountable, FontFaceHandle.
|
6 years ago |
Michael Ragazzon
|
3691b70f98
Remove ReferenceCountable from StyleSheet
|
6 years ago |
Michael Ragazzon
|
dc1cff5a4c
Make sure all element removal is signaled to context.
|
6 years ago |