EhWhoAmI
|
48aacadd77
Add a function that enables all the variables in a data model to be marked dirty (#289)
|
3 years ago |
Michael Ragazzon
|
57e40eb0f3
Refactor data bindings: Move model handle to 'DataModelHandle.h'. Move DataModel, DataView, and DataController to private headers.
|
5 years ago |
Michael Ragazzon
|
4f4324b7ca
Databindings: Remove DataModelHandle::Update, instead, data models are automatically updated on Context::Update.
|
5 years ago |
Michael Ragazzon
|
fcae4ffe79
Merge branch 'master' into add_tests
|
5 years ago |
Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
5 years ago |
Michael Ragazzon
|
4916107d43
Move other tests to test suite. Add benchmarking with nanobench.
|
5 years ago |
Michael Ragazzon
|
98282c7b2e
Refactor some of the Transform functionality. Move functions that should only be called internally to an internal TransformUtilities. Rename Transforms::Primitive to TransformPrimitive.
|
5 years ago |
Michael Ragazzon
|
e9844e3801
The big restructuring for RmlUi 4.0. This involves breaking changes but should benefit everyone using the library in the future.
|
5 years ago |
Michael Ragazzon
|
c09981bc03
Merge branch 'data_binding'
|
5 years ago |
Michael Ragazzon
|
b6a7413a77
Enable removal of data model from context.
|
5 years ago |
Michael Ragazzon
|
c94aaadade
DataModel make views and controllers internal.
|
5 years ago |
Michael Ragazzon
|
5d7f4fc931
Add missing headers
|
5 years ago |
Michael Ragazzon
|
645c954da8
Fix headers
|
5 years ago |
Michael Ragazzon
|
2a8d17d86b
Clean up data binding sample, add a basic example.
|
5 years ago |
Michael Ragazzon
|
7e3bb8942f
Implement it_index in data view for. Rename some functions.
|
5 years ago |
Michael Ragazzon
|
94879056f8
Better warnings.
|
5 years ago |
Michael Ragazzon
|
3e8980938b
Add additional operator precedence in data parser. Add more tests. Add format() and round() transform functions to data parser.
|
5 years ago |
Michael Ragazzon
|
951a54a600
Update comments. Generalize XMLParser. Data model and variables refactoring.
|
5 years ago |
Michael Ragazzon
|
373084165c
- Implemented 'data-event' controller. Can use assignment in its expression, and also 'ev.' variable name to fetch parameters from the event.
|
5 years ago |
Michael Ragazzon
|
6ce69a8ebe
Add data expression transform functions (callbacks).
|
5 years ago |
Michael Ragazzon
|
e92d57e8b0
Start creating a parser for data views
|
5 years ago |
Michael Ragazzon
|
742f01592d
Data types now associated with the Context. Clean up data model.
|
5 years ago |
Michael Ragazzon
|
acebd3b220
Update data controller
|
5 years ago |
Michael Ragazzon
|
acce5f1346
Clean up data binding API
|
5 years ago |
Michael Ragazzon
|
bd61639b42
Add arbitrary get/set functions as data binding
|
5 years ago |
Michael Ragazzon
|
2d235394f5
Some cleanup
|
5 years ago |
Michael Ragazzon
|
04f6898094
Only update dirty data variables
|
5 years ago |
Michael Ragazzon
|
3337af8485
Safely add and remove data views during iteration, and clean up data views on element removal.
|
5 years ago |
Michael Ragazzon
|
e346522249
Refactor, move the new data variable types into the library. Now working 'for' loops for structs.
|
6 years ago |
Michael Ragazzon
|
ac28ff4db0
Experimenting with approach for nested variables in structs and arrays.
|
6 years ago |