Lasse Öörni
|
1d60bc59fa
Added check to ListView to see if has been destroyed as a response to the selection event.
|
12 jaren geleden |
Lasse Öörni
|
8aee95c85b
Fixed editor doing always a fullupdate on attributes (caused a crash as ListView was destroyed while it was sending the selection event.)
|
12 jaren geleden |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
13 jaren geleden |
Wei Tjong Yao
|
25372fafd8
Added new ListView attribute to control the root base indent in hierarchy mode. Enhanced the Hierarchy window in Editor to show icon for each item. Need better and more assets for the icons though.
|
13 jaren geleden |
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.
|
13 jaren geleden |
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.
|
13 jaren geleden |
Wei Tjong Yao
|
741badfade
Fixed the ScriptFile to prevent it from amending the path for include file unnecessarily and added a new error log to help identifying script file that have problematic include. Refactored ListView to support persistent expand/collapse state at each parent item in hierarchy mode, the exposed API is slightly changed. Renamed 'Scene Hierarchy' window to just 'Hierarchy' in the Editor app in preparation for future work, also created new function to differentiate between scene creation and scene reset.
|
13 jaren geleden |
Lasse Öörni
|
97a30bbe78
Cleaned up ListView content resize in regard to automatic scrollbar visibility.
|
13 jaren geleden |
Lasse Öörni
|
dbac4f482b
Fix to scrollbar autovisibility and possible infinite recursion.
|
13 jaren geleden |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
13 jaren geleden |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
13 jaren geleden |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
13 jaren geleden |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
13 jaren geleden |
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 jaren geleden |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
13 jaren geleden |
Lasse Öörni
|
f0b6d55b28
Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries.
|
13 jaren geleden |
Lasse Öörni
|
1ca858cc2a
Changed ListView to use PODVector for the selections, and explicitly sort them when necessary.
|
13 jaren geleden |
Lasse Öörni
|
170ee77019
To avoid confusion when to use what, and as the performance is usually better, use only HashMap & HashSet instead of Map & Set.
|
13 jaren geleden |
Lasse Öörni
|
91f6f87472
Explicitly mark changed nodes to avoid going through the whole scene in PrepareNetworkUpdate().
|
13 jaren geleden |
Lasse Öörni
|
cc3ee34f58
Increased occlusion buffer depth bias.
|
14 jaren geleden |
Lasse Öörni
|
510c606b3d
Removed the redundant GetString() functions from XMLElement.
|
14 jaren geleden |
Lasse Öörni
|
95a8c8bfa7
Added overloads to Variant & XMLElement that take char pointers.
|
14 jaren geleden |
Lasse Öörni
|
f58e2595bf
Rewrite node & component IDs when instantiating content from file.
|
14 jaren geleden |
Lasse Öörni
|
cbac6a30a5
Optimized large scene modify operations in the editor.
|
14 jaren geleden |
Lasse Öörni
|
58843be1fa
Initial multiselection in the editor.
|
14 jaren geleden |
Lasse Öörni
|
31efab5d65
Moved SetSortChildren() to UIElement public API and exposed it to script.
|
14 jaren geleden |
Lasse Öörni
|
6c5d216c27
Added local axis movement mode to the editor.
|
14 jaren geleden |
Lasse Öörni
|
457aa72c37
When adding or removing ListView items, update the selection only if something was selected in the first place.
|
14 jaren geleden |
Lasse Öörni
|
ad6243870b
Updated to newest kNet & AngelScript.
|
14 jaren geleden |
Lasse Öörni
|
96855411c0
Fixed unnecessarily complicated UI element focusing/defocusing logic.
|
14 jaren geleden |