Wei Tjong Yao
|
832ef7ddfd
Fixed XPath query result integration with existing XMLElement class (XMLElement constructed from XPath query result should be abled to traverse up/down document tree as if it is a 'normal' XMLElement). Added feature to auto-add variable into XPath variables set based on pre-formatted variable string. Modified 3rd-party PugiXML library to have a proper xpath_node copy-constructor. Fixed UI.h to build under GCC.
|
há 12 anos atrás |
Wei Tjong Yao
|
342db6f72b
Fixed indentation calculation for vertically layout UI-element parent. Fixed LineEdit indentation handling on internal objects. Added and exposed functions to determine whether UI-element size is fixed.
|
há 12 anos atrás |
Wei Tjong Yao
|
21a2a008fa
Fixed UI-element debug draw being clipped by clip-border.
|
há 12 anos atrás |
Wei Tjong Yao
|
5106e4cf00
Fixed the UI-element editor issue caused by child sorting.
|
há 12 anos atrás |
Wei Tjong Yao
|
17714cb198
Further fine tuning on the UI subsystem.
|
há 12 anos atrás |
Wei Tjong Yao
|
712de11c99
Debug draw UI-elements in Editor.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Lasse Öörni
|
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
há 12 anos atrás |
Lasse Öörni
|
895819e8d2
Removed use of the UIQuad intermediate structure. Instead construct vertex data directly.
|
há 12 anos atrás |
Lasse Öörni
|
1c7f970e30
Synchronize float and integer position of sprites.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
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.
|
há 12 anos atrás |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
há 12 anos atrás |
Lasse Öörni
|
55f249e548
Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
|
há 12 anos atrás |
Lasse Öörni
|
12bddee240
Whether to use derived opacity can be configured per UI element. By default true, except for Text.
|
há 13 anos atrás |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
há 13 anos atrás |
Lasse Öörni
|
26f23adb14
Applied UI patch from primitivewaste.
|
há 13 anos atrás |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
há 13 anos atrás |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
há 13 anos atrás |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
há 13 anos atrás |
Lasse Öörni
|
8ea36786ec
Fixed UI element priorities getting constantly decreased when switching the frontmost element.
|
há 13 anos atrás |
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.
|
há 13 anos atrás |
Lasse Öörni
|
053c1f3e6a
Added convenience overloads for LoadLayout().
|
há 13 anos atrás |