Lasse Öörni
|
f5b837f460
Exposed recursive SetEnabled() differently, to match convention of the rest of recursive Node functions and eliminate code duplication.
|
12 лет назад |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
12 лет назад |
Lasse Öörni
|
af8825047a
Started work on node/component enable & disable.
|
12 лет назад |
Lasse Öörni
|
a3c66ca360
Detect sRGB capability also on Direct3D9.
|
12 лет назад |
Lasse Öörni
|
6fe17dd966
Documentation and wiki update.
|
12 лет назад |
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.
|
12 лет назад |
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 лет назад |
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 лет назад |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
12 лет назад |
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.
|
12 лет назад |
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.
|
12 лет назад |
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.
|
12 лет назад |
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.
|
12 лет назад |
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.
|
12 лет назад |
Lasse Öörni
|
5e443328ac
Added recursive -parameter to Node::GetComponents() to get components of specific type also from child nodes.
|
12 лет назад |
Lasse Öörni
|
07c0f7228a
Added flag to ScrollView / ListView whether to set scrollbar visibility automatically. Default true. Calling SetScrollBarsVisible() disables this.
|
12 лет назад |
Wei Tjong Yao
|
14c06b3dc5
Added ability to edit attributes of multiple selected nodes, only mutual attribute values are editable. Modify script API for VariantMap's Erase() method to return bool. Fixed one of the Print() function in IOAPI to use the 'error' parameter.
|
12 лет назад |
Wei Tjong Yao
|
4d72b5a609
ScriptAPIDumper dumps to console when output file is not provided. Removed caveat from have to compile with ENABLE_LOGGING. Exposed variants to print to stderr to script. Added shell script for calling ConvertDocsToWiki executable. Fixed Editor application to handle exit on error gracefully. Updated documentation and wiki accordingly.
|
12 лет назад |
Wei Tjong Yao
|
38d12c122c
Added functionality to show multiple components in the atribute editor when a node or nodes are selected in the hierarchy window. Remove 'editable' parameter in the attribute creation functions as now whether an attribute is editable or not is dynamically set when loading the attribute value and not at the time of its editor creation. Exposed to all the UIElement-derived class a new function to load (partial) UI layout.
|
12 лет назад |
Wei Tjong Yao
|
4efdfc87dc
Tidied up AttributeEditor.as, better way to handle attribute that has multiple components. Exposed a few more math constants to script.
|
12 лет назад |
Wei Tjong Yao
|
34a849e00e
Speed up TTF loading time. Tidied up code for loading/getting bitmap font.
|
12 лет назад |
Lasse Öörni
|
c55c9cf064
Exposed AnimationTriggerPoint to script.
|
12 лет назад |
Lasse Öörni
|
cbc5ccbe58
Fixed wrong signature for ReplaceExtension() function in script.
|
12 лет назад |
Lasse Öörni
|
12bddee240
Whether to use derived opacity can be configured per UI element. By default true, except for Text.
|
12 лет назад |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
12 лет назад |
Lasse Öörni
|
3002776ea4
Fixed incorrect octree insertion of drawables in some cases (eg. large terrain.)
|
13 лет назад |
Lasse Öörni
|
14fa3b3d6e
Added SavePNG() function to Image.
|
13 лет назад |
Lasse Öörni
|
9d82a32c9e
Added constraint & collision shape type "none" as default value to avoid unnecessary creation of shapes on scene load, before proper attribute values are deserialized. Do not create shape/constraint in OnNodeSet(), as the type is always "none" at that time.
|
13 лет назад |
Lasse Öörni
|
b51fd39bcc
Applied CustomGeometry script API patch from weitjong.
|
13 лет назад |
Lasse Öörni
|
0891aa62dc
Applied DebugHud app stats patch from weitjong.
|
13 лет назад |