Wei Tjong Yao
|
9bfb0019e3
Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly.
|
il y a 12 ans |
Wei Tjong Yao
|
a76a3b1ab7
Reordered UIElement's attributes, common attributes got registered first. Enhanced Attribute Inspector to show UIElement's attributes for single selection case. Multiple selection is still WIP.
|
il y a 12 ans |
Lasse Öörni
|
895819e8d2
Removed use of the UIQuad intermediate structure. Instead construct vertex data directly.
|
il y a 12 ans |
Lasse Öörni
|
5160610e25
Refactored freely rotating / scaling UIElements into a separate Sprite class; removed rotation from the base class as it would not work correctly with element hierarchies in most cases.
|
il y a 12 ans |
Wei Tjong Yao
|
d7f6b4d0b6
Enhanced UIElement to be able to set a default style file for later reference by children elements, added horizontal indentation feature, and added new E_LAYOUTUPDATED event. Enhanced ListView to better support hierarchy mode and added feature to show 'expansion triangle' in hierarchy mode. Fixed a bug in ScrollView to update view size correctly when resizing content element. Fixed a bug in Log's WriteRaw() method so it sends error message to stderr even in quite mode. Refactored Editor to take advantage of the enhancement.
|
il y a 12 ans |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
il y a 12 ans |
Lasse Öörni
|
26f23adb14
Applied UI patch from primitivewaste.
|
il y a 13 ans |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
il y a 13 ans |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
il y a 13 ans |
Lasse Öörni
|
4cafb5c0d7
Added tiled BorderImage patch from primitivewaste.
|
il y a 13 ans |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
il y a 13 ans |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
il y a 13 ans |
Lasse Öörni
|
83e90ae61c
Started work on UI element attributes.
|
il y a 13 ans |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
il y a 13 ans |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
il y a 14 ans |
Lasse Öörni
|
95a8c8bfa7
Added overloads to Variant & XMLElement that take char pointers.
|
il y a 14 ans |
Lasse Öörni
|
af2b4311dc
Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript.
|
il y a 14 ans |
Lasse Öörni
|
b90c1386be
Removed unnecessary parentheses.
|
il y a 14 ans |
Lasse Öörni
|
0dee3e592c
Migrated the UI library to use PODVector for batches & quads.
|
il y a 14 ans |
Lasse Öörni
|
7c45da5588
Import new code.
|
il y a 14 ans |
Lasse Öörni
|
a48885a729
Make way for import of new code.
|
il y a 14 ans |
Lasse Öörni
|
ec327701e5
Initial skeleton of the scene editor.
|
il y a 15 ans |
Lasse Öörni
|
cb4d88a8f2
Replaced explicit image rect settings with offsets.
|
il y a 15 ans |
Lasse Öörni
|
523559f1a0
Added setFixedUpdateFps() to ScriptInstance.
|
il y a 15 ans |
Lasse Öörni
|
74b348c0a5
Fixed bug with rendering nontextured UI elements.
|
il y a 15 ans |
Lasse Öörni
|
b0642caa78
Added LineEdit UI element.
|
il y a 15 ans |
Lasse Öörni
|
ed09fb3e67
Use ordinary exceptions in UIElement::setStyle(), as the function has a script wrapper.
|
il y a 15 ans |
Lasse Öörni
|
bf9f51ba4d
Refactored setting UI element style.
|
il y a 15 ans |
Lasse Öörni
|
902dfd4a13
Re-commit for the new year. Let's aim for less wiki update spam this time!
|
il y a 15 ans |