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.
|
vor 12 Jahren |
Lasse Öörni
|
0e713bd509
Generate Recast/Detour data.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Lasse Öörni
|
b45fac020f
Applied AssetImporter & MathAPI patch from primitivewaste.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Lasse Öörni
|
5375254f0b
Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Wei Tjong Yao
|
276bbb1590
Updated documentation.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Lasse Öörni
|
6a7ffdcd19
Updated to newest AssImp from git repository.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Lasse Öörni
|
f226c4bc4a
Added equality operators for Matrix classes.
|
vor 12 Jahren |
Lasse Öörni
|
d35f3b5035
Removed duplicate error message from ScriptCompiler when script compilation fails.
|
vor 12 Jahren |
Lasse Öörni
|
f5b837f460
Exposed recursive SetEnabled() differently, to match convention of the rest of recursive Node functions and eliminate code duplication.
|
vor 12 Jahren |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
vor 12 Jahren |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
vor 12 Jahren |
Lasse Öörni
|
a3c66ca360
Detect sRGB capability also on Direct3D9.
|
vor 12 Jahren |
Lasse Öörni
|
6fe17dd966
Documentation and wiki update.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
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.
|
vor 12 Jahren |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
vor 13 Jahren |
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.
|
vor 13 Jahren |
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.
|
vor 13 Jahren |
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.
|
vor 13 Jahren |
Wei Tjong Yao
|
9ed0c43919
Exposed math objects construction from an array of float/int and methods to get back the array buffer to the Script API. Enhanced the Attribute Inspector to multi-edit same value at coordinate level for attributes that have multiple coordinates, e.g. Vector3, Color, etc. Different value at coordinate level is non-editable as before.
|
vor 13 Jahren |
Wei Tjong Yao
|
5544602c9e
Enhance Font class to support saving of font (TTF or bitmap type) as another bitmap font resource in xml format. For bitmap font type, saving yet to another bitmap font is only meaningful when called with the optional parameter turned on to save only used glyphs. Refactored UIBatch class to enable better performance in Text class UI batch generation in relation to multi-pages/textures font.
|
vor 13 Jahren |
Lasse Öörni
|
5e443328ac
Added recursive -parameter to Node::GetComponents() to get components of specific type also from child nodes.
|
vor 13 Jahren |
Lasse Öörni
|
07c0f7228a
Added flag to ScrollView / ListView whether to set scrollbar visibility automatically. Default true. Calling SetScrollBarsVisible() disables this.
|
vor 13 Jahren |