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 years ago |
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 years ago |
Wei Tjong Yao
|
7d5fbf6759
Created new event for UIElement name changed. Enhanced Hierarchy window to update the list item when the UIElement's 'Name' and 'Is Visible' attribute value changes. Changed editor to ignore other shortcut keys (except ESC) when file selector is modal.
|
12 years ago |
Lasse Öörni
|
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
|
12 years ago |
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 years ago |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
12 years ago |
Wei Tjong Yao
|
75df330fe3
Started work on UI element editor, pardon the dust. Added 'traversalMode' property to UIElement and exposed it to ScriptAPI to control the children UI batches generation. Enhanced Scene to safe keep the filename used in last serialization, fixed to perform a Clear() before Load()/LoadXML(). Exposed String's Clear() method to Script API. Fixed ListView to insert multiple top-level items in hierarchy mode correctly.
|
12 years ago |
Wei Tjong Yao
|
827035e36e
Fixed the UIElement to perform the parent's UpdateLayout() when an element's indent or indentSpacing is changed. Fixed the UIElement from altering the child element's alignment during UpdateLayout(). Enhanced Editor to show menu accelerator keys in the menu popup. Replaced the accel key for attribute inspector window to 'Ctrl+I' to match its current window name. Added accel key for new scene menu item.
|
12 years ago |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
12 years ago |
Lasse Öörni
|
895819e8d2
Removed use of the UIQuad intermediate structure. Instead construct vertex data directly.
|
12 years ago |
Lasse Öörni
|
1c7f970e30
Synchronize float and integer position of sprites.
|
12 years ago |
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.
|
12 years ago |
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.
|
12 years ago |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
12 years ago |
Lasse Öörni
|
55f249e548
Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
|
13 years ago |
Lasse Öörni
|
12bddee240
Whether to use derived opacity can be configured per UI element. By default true, except for Text.
|
13 years ago |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
13 years ago |
Lasse Öörni
|
26f23adb14
Applied UI patch from primitivewaste.
|
13 years ago |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 years ago |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 years ago |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 years ago |
Lasse Öörni
|
8ea36786ec
Fixed UI element priorities getting constantly decreased when switching the frontmost element.
|
13 years ago |
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 years ago |
Lasse Öörni
|
053c1f3e6a
Added convenience overloads for LoadLayout().
|
13 years ago |
Lasse Öörni
|
94fc8ce4e4
Removed the hack way of filling a DropDownList from XML layout. As a consequence defining dropdown items in XML is more complex.
|
13 years ago |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
13 years ago |
Lasse Öörni
|
0a16099532
UIElement serialization / deserialization.
|
13 years ago |
Lasse Öörni
|
83e90ae61c
Started work on UI element attributes.
|
13 years ago |
Lasse Öörni
|
e586349114
Added UIElement::CreateChild().
|
13 years ago |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 years ago |