Wei Tjong Yao
|
05fd7419a7
Fixed UI-element debug draw overdrawing the modal element and menu popup. Refactored UI subsystem to support multiple modal elements and auto-dismissal of modal elements when ESC is pressed. The 'Is Modal' attribute of Window UI-element type can be tested in Editor.
|
преди 12 години |
Wei Tjong Yao
|
4d66b554c3
Fixed exit crashes issue in Editor (manifested itself when 'Edit' menu has been popped up).
|
преди 12 години |
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 години |
Wei Tjong Yao
|
d5ddc3b3d6
Implemented 'Create new UI Element' functionality in the editor with undo/redo support. Some cosmetic changes in editor. Enhanced UI Script API to be able to define element event sender. Enhanced Menu to auto popup child menu when parent menu item is being hovered.
|
преди 12 години |
Lasse Öörni
|
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
|
преди 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 години |
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.
|
преди 12 години |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
преди 12 години |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
преди 12 години |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
преди 12 години |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
преди 13 години |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
преди 13 години |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
преди 13 години |
Lasse Öörni
|
9401ad8063
Removed UI serialization hacks related to the Menu & DropDownList popup element. To avoid layout problems, now it is never added as a child temporarily.
|
преди 13 години |
Lasse Öörni
|
85c14f96f9
Added checked attribute to CheckBox.
|
преди 13 години |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
преди 13 години |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
преди 13 години |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
преди 13 години |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
преди 14 години |
Lasse Öörni
|
95a8c8bfa7
Added overloads to Variant & XMLElement that take char pointers.
|
преди 14 години |
Lasse Öörni
|
a341b9ea4f
Cleaned up Menu code.
|
преди 14 години |
Lasse Öörni
|
f58e2595bf
Rewrite node & component IDs when instantiating content from file.
|
преди 14 години |
Lasse Öörni
|
58843be1fa
Initial multiselection in the editor.
|
преди 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
|
fe56f0118b
Renamed the UserData VariantMap in UIElement to Vars, to distinguish from low-level userdata that is typically a pointer. Added same VariantMap to Node.
|
преди 14 години |
Lasse Öörni
|
7c45da5588
Import new code.
|
преди 14 години |
Lasse Öörni
|
a48885a729
Make way for import of new code.
|
преди 14 години |
Lasse Öörni
|
23152b4d58
Improved asset import directly invokable from the editor.
|
преди 14 години |
Lasse Öörni
|
a3150b5f11
Fixed lockup in removeResourcePath().
|
преди 14 години |