Wei Tjong Yao
|
184360dc82
Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work.
|
пре 12 година |
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 година |
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.
|
пре 12 година |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
пре 12 година |
Lasse Öörni
|
ebcc766ac0
Minor code cleanup. Added GetAttribute() to Context, which returns a named attribute.
|
пре 13 година |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
пре 13 година |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
пре 13 година |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
пре 13 година |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
пре 13 година |
Lasse Öörni
|
e586349114
Added UIElement::CreateChild().
|
пре 13 година |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
пре 13 година |
Lasse Öörni
|
0706ae397f
Touch input on Android.
|
пре 13 година |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
пре 14 година |
Lasse Öörni
|
510c606b3d
Removed the redundant GetString() functions from XMLElement.
|
пре 14 година |
Lasse Öörni
|
96855411c0
Fixed unnecessarily complicated UI element focusing/defocusing logic.
|
пре 14 година |
Lasse Öörni
|
af2b4311dc
Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript.
|
пре 14 година |
Lasse Öörni
|
b90c1386be
Removed unnecessary parentheses.
|
пре 14 година |
Lasse Öörni
|
565de1ad02
Moved some of StringUtils functions to the String class.
|
пре 14 година |
Lasse Öörni
|
7c45da5588
Import new code.
|
пре 14 година |
Lasse Öörni
|
a48885a729
Make way for import of new code.
|
пре 14 година |
Lasse Öörni
|
fd24ca3c69
UI improvements and cleanup.
|
пре 15 година |
Lasse Öörni
|
abc4b39adb
Normalized scrollbar step size, by default on.
|
пре 15 година |
Lasse Öörni
|
47faf427f8
Fixed more possible layout bugs.
|
пре 15 година |
Lasse Öörni
|
d3031713e2
Added ScrollBar UI element.
|
пре 15 година |
Lasse Öörni
|
fe4ccf7c58
Added auto-adjusting layout support to UIElement.
|
пре 15 година |
Lasse Öörni
|
0a8cfb5acf
Cleanup of UI element code by using onResize().
|
пре 15 година |
Lasse Öörni
|
13ca9b42fe
Added arrow key scrolling to ScrollView.
|
пре 15 година |
Lasse Öörni
|
ee5a087570
Added hover background color & selection color to Text.
|
пре 15 година |
Lasse Öörni
|
b0642caa78
Added LineEdit UI element.
|
пре 15 година |
Lasse Öörni
|
4f1e1ce9b8
Added Slider UI element.
|
пре 15 година |