Michael Ragazzon
|
ded1b0fe53
Code cleanup: Fix some always true/false conditions
|
1 year ago |
Michael Ragazzon
|
14b06186b5
Fix various typos and in-source documentation
|
1 year ago |
Michael Ragazzon
|
70d0d5ecc9
Add rmlui_static_cast to assert validity of down casts, see #514
|
2 years ago |
Michael Ragazzon
|
7492876298
The great formattening - format all library source code and documents
|
2 years ago |
Maximilian Stark
|
4db7a3b1f4
Add new data-alias attribute to make templates work with outside variables (#432)
|
2 years ago |
Michael Ragazzon
|
85582afbed
Fix data text expressions initialized with an empty string not being evaluated correctly, see #213.
|
4 years ago |
Michael Ragazzon
|
a33b379b71
Fix an off-by-one error introduced in #190 breaking the databinding sample
|
4 years ago |
Maximilian Stark
|
3383c01e4d
Ignore curly brackets inside string literals in data expressions (#190)
|
4 years ago |
Michael Ragazzon
|
fb2351d50a
Specify data view update order for some update views, eg. data-value may require other attributes set on the element first.
|
4 years ago |
Michael Ragazzon
|
6e0e3011b2
Merge branch 'databinding_improvements'
|
4 years ago |
Michael Ragazzon
|
e2529507c2
Cleanup data variables and type register
|
4 years ago |
Maximilian Stark
|
ca30736098
Make DataViewText use SystemInterface to translate injected strings from data bindings (#172)
|
4 years ago |
Michael Ragazzon
|
5466f2b701
'data-checked' view and controller for binding to checkboxes and radio buttons.
|
5 years ago |
Michael Ragazzon
|
fd16dfb994
data-for: Make attributes work on generated children, including data views using 'it' and 'it_index'.
|
5 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
|
5a655abbfa
Data bindings: Add 'data-attrif' view. See #121.
|
5 years ago |
Michael Ragazzon
|
83f9626a85
Rename problematic names (interface). Forward declare all friend classes and prefix with namespace. See #118.
|
5 years ago |
Rokas Kupstys
|
c261c1ff81
Add ability for user to override container types.
|
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
|
35c794b4a3
Rename DataParser file to DataExpression. Some cleanup.
|
5 years ago |
Michael Ragazzon
|
5d7f4fc931
Add missing headers
|
5 years ago |
Michael Ragazzon
|
645c954da8
Fix headers
|
5 years ago |
Michael Ragazzon
|
463cc5632a
Add data view: visible
|
5 years ago |
Michael Ragazzon
|
7e3bb8942f
Implement it_index in data view for. Rename some functions.
|
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
|
20c1dbc363
Some refactoring of DataViews. Move the default DataViews to separate files.
|
5 years ago |