Wei Tjong Yao
|
f4076560d1
Send E_MODALCHANGED event only when the modal flag changes successfully.
|
há 12 anos atrás |
Wei Tjong Yao
|
2f88f7fc81
Fixed UI subsystem to dismiss the FileSelector correctly when its modal window is being closed via ESC key.
|
há 12 anos atrás |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Lasse Öörni
|
b495b263e4
Added nullcheck to Window.
|
há 12 anos atrás |
Wei Tjong Yao
|
712de11c99
Debug draw UI-elements in Editor.
|
há 12 anos atrás |
Lasse Öörni
|
eb54a29d8f
Check that modal element is parented to root, as the input exclusion does not work right otherwise.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Wei Tjong Yao
|
ca227d27f3
Exposed the Window's modal shade color as property to Script and as attribute. Adjusted the shade color to match the default style theme.
|
há 12 anos atrás |
Wei Tjong Yao
|
ec0658f1fe
Reverted back changes in UI.cpp. Reapplied back the logic to Window.cpp so it could shade other UI elements as well.
|
há 12 anos atrás |
Wei Tjong Yao
|
2bf7facaa7
Laying the groundwork in the Attribute Inspector for showing the UIElement's attributes (still need more work). Enhanced UI subsystem to support modal element, currently only support modal Window. Exposed a new Variant readonly property to test for 'empty' variant. New UIElement's method to get a child by matching the child's user-defined variant map and exposed it to script, also exposed the existing GetVar() method to script.
|
há 12 anos atrás |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
há 12 anos atrás |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
há 13 anos atrás |
Lasse Öörni
|
26f23adb14
Applied UI patch from primitivewaste.
|
há 13 anos atrás |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
há 13 anos atrás |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
há 13 anos atrás |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
há 13 anos atrás |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
há 13 anos atrás |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
há 13 anos atrás |
Lasse Öörni
|
0706ae397f
Touch input on Android.
|
há 13 anos atrás |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
há 14 anos atrás |
Lasse Öörni
|
af2b4311dc
Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript.
|
há 14 anos atrás |
Lasse Öörni
|
3a6163226b
Changed OpenGL rendering to use non-hardcoded shader parameters. Fixed warnings.
|
há 14 anos atrás |
Lasse Öörni
|
b90c1386be
Removed unnecessary parentheses.
|
há 14 anos atrás |
Lasse Öörni
|
7c45da5588
Import new code.
|
há 14 anos atrás |
Lasse Öörni
|
a48885a729
Make way for import of new code.
|
há 14 anos atrás |
Lasse Öörni
|
fd24ca3c69
UI improvements and cleanup.
|
há 15 anos atrás |
Lasse Öörni
|
0dc5690767
Exposed FileSelector to script fully.
|
há 15 anos atrás |
Lasse Öörni
|
47faf427f8
Fixed more possible layout bugs.
|
há 15 anos atrás |
Lasse Öörni
|
d3031713e2
Added ScrollBar UI element.
|
há 15 anos atrás |