Wei Tjong Yao
|
712de11c99
Debug draw UI-elements in Editor.
|
12 anni fa |
Lasse Öörni
|
be3b304836
Added batch files to start the navigation example.
|
12 anni fa |
Lasse Öörni
|
c11f65dfea
Added FindPath() function to NavigationMesh.
|
12 anni fa |
Lasse Öörni
|
03dce6b988
Serialize navigation data along with the scene.
|
12 anni fa |
Wei Tjong Yao
|
1c38290e77
Added functionality to select UI-elements by using cursor (Only enabled elements at this moment). Changed implementation of creating new component so that it also works for multi-edit nodes.
|
12 anni fa |
Lasse Öörni
|
0e713bd509
Generate Recast/Detour data.
|
12 anni fa |
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 anni fa |
Lasse Öörni
|
b45fac020f
Applied AssetImporter & MathAPI patch from primitivewaste.
|
12 anni fa |
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 anni fa |
Lasse Öörni
|
5375254f0b
Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo.
|
12 anni fa |
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 anni fa |
Wei Tjong Yao
|
276bbb1590
Updated documentation.
|
12 anni fa |
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 anni fa |
Lasse Öörni
|
6a7ffdcd19
Updated to newest AssImp from git repository.
|
12 anni fa |
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 anni fa |
Wei Tjong Yao
|
06f3580948
Enhanced the Attribute Inspector to show the 'Is Enabled' check box on the node/component 'title bar' instead of in the attribute list; and small refactoring to reduce the number of parameters being passed in a number of functions. Refactored to modify AttributeInfo's name to become a String. Exposed 'internal' property of UIElement to Script API. Enhanced Text class so that it renders the selected text being hovered by mouse a little differently than those without.
|
13 anni fa |
Lasse Öörni
|
f226c4bc4a
Added equality operators for Matrix classes.
|
13 anni fa |
Lasse Öörni
|
d35f3b5035
Removed duplicate error message from ScriptCompiler when script compilation fails.
|
13 anni fa |
Lasse Öörni
|
f5b837f460
Exposed recursive SetEnabled() differently, to match convention of the rest of recursive Node functions and eliminate code duplication.
|
13 anni fa |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
13 anni fa |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
13 anni fa |
Lasse Öörni
|
a3c66ca360
Detect sRGB capability also on Direct3D9.
|
13 anni fa |
Lasse Öörni
|
6fe17dd966
Documentation and wiki update.
|
13 anni fa |
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 anni fa |
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 anni fa |
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 anni fa |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
13 anni fa |
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 anni fa |
Wei Tjong Yao
|
44d663ba41
Added new Print() variant in script API to print a Variant. Fixed StringUtils from erroneously converting numerical string to int/uint using base 8 or base 16 when the string is started with '0' or '0x'. Fixed the same/diff value evaluation for ResourceRefList, VariantVector, and VariantMap.
|
13 anni fa |
Wei Tjong Yao
|
990428ca4d
Changed Append() methods implementation in String class so they can be chained together in a statement. Added new Join() methods and exposed it to Script API. Refactored Attribute Inspector to take advantage of the new exposed Join() method.
|
13 anni fa |