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.
|
12 vuotta sitten |
Wei Tjong Yao
|
832ef7ddfd
Fixed XPath query result integration with existing XMLElement class (XMLElement constructed from XPath query result should be abled to traverse up/down document tree as if it is a 'normal' XMLElement). Added feature to auto-add variable into XPath variables set based on pre-formatted variable string. Modified 3rd-party PugiXML library to have a proper xpath_node copy-constructor. Fixed UI.h to build under GCC.
|
12 vuotta sitten |
Wei Tjong Yao
|
4d30392c1c
Added more null check on XMLElement and XPathResultSet classes.
|
12 vuotta sitten |
Wei Tjong Yao
|
e7c46428d5
Fixed XMLElement copy constructor and added assignment operator to handle the xpath_node assignment correctly.
|
12 vuotta sitten |
Wei Tjong Yao
|
a16998dc41
Code cleanup.
|
12 vuotta sitten |
Wei Tjong Yao
|
5d698d9ad1
Turned on XPath feature in pugixml thirdparty library. Added new XPath query and resultset wrapper classes and exposed them to Script. Reimplemented UI-element serialization filtering function using XPath query.
|
12 vuotta sitten |
Wei Tjong Yao
|
2e57e55e84
Fixed a bug in XMLElement::RemoveChild() method. Implemented 'Save child UI-element' functionality.
|
12 vuotta sitten |
Wei Tjong Yao
|
1230087620
Implemented all the common edit functionalities under 'Edit' menu for UI-element with undo/redo support. Exposed Variant's SetUInt() and GetUInt() to script. Enhanced UIElement's CreateChild() and LoadXML() to insert newly created child at the request child index, added new FindChild() method and exposed it. Added new XMLElement's SetUInt() and GetUInt() methods and exposed them. Simplified the Menu's hover logic to resolve stability issue.
|
12 vuotta sitten |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
12 vuotta sitten |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
13 vuotta sitten |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 vuotta sitten |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 vuotta sitten |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 vuotta sitten |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 vuotta sitten |
Lasse Öörni
|
bdb060bd7d
Moved StringHash to Math library.
|
13 vuotta sitten |
Lasse Öörni
|
7ea084bc4b
Added missing DebugNew.h includes.
|
13 vuotta sitten |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
14 vuotta sitten |
Lasse Öörni
|
510c606b3d
Removed the redundant GetString() functions from XMLElement.
|
14 vuotta sitten |
Lasse Öörni
|
95a8c8bfa7
Added overloads to Variant & XMLElement that take char pointers.
|
14 vuotta sitten |
Lasse Öörni
|
4b0b227898
Code cleanup. Reverted the more extreme XML loading optimizations for readability.
|
14 vuotta sitten |
Lasse Öörni
|
ab35cefde9
Use static strings for often needed element & attribute names in XML serialization to reduce redundant string object construction and dynamic memory allocation.
|
14 vuotta sitten |
Lasse Öörni
|
5c27c0f69f
Changed to use pugixml instead of TinyXML.
|
14 vuotta sitten |
Lasse Öörni
|
1e1496e7d4
Refactored setting variants from strings.
|
14 vuotta sitten |
Lasse Öörni
|
215fb04f72
Converted VAR_BUFFER file serialization attributes to VAR_VARIANTVECTOR to make them more readable and/or editable.
|
14 vuotta sitten |
Lasse Öörni
|
af2b4311dc
Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript.
|
14 vuotta sitten |
Lasse Öörni
|
b90c1386be
Removed unnecessary parentheses.
|
14 vuotta sitten |
Lasse Öörni
|
95b8dfac47
Fixed ResourceRefList serialization to XML.
|
14 vuotta sitten |
Lasse Öörni
|
516b532a8f
Refactored StringUtils as member functions of String & the classes to be converted.
|
14 vuotta sitten |
Lasse Öörni
|
a956f2ff20
Fixed bugs in Vector & PODVector.
|
14 vuotta sitten |
Lasse Öörni
|
d69efd65f0
Container library fixes.
|
14 vuotta sitten |