Lasse Öörni
|
d567ef83fc
Started work on 3D text component.
|
il y a 12 ans |
Lasse Öörni
|
bc4b428295
Allow UI to operate without a defined cursor element, if the operating system cursor is visible.
|
il y a 12 ans |
Wei Tjong Yao
|
21a2a008fa
Fixed UI-element debug draw being clipped by clip-border.
|
il y a 12 ans |
Wei Tjong Yao
|
17714cb198
Further fine tuning on the UI subsystem.
|
il y a 12 ans |
Wei Tjong Yao
|
05fd7419a7
Fixed UI-element debug draw overdrawing the modal element and menu popup. Refactored UI subsystem to support multiple modal elements and auto-dismissal of modal elements when ESC is pressed. The 'Is Modal' attribute of Window UI-element type can be tested in Editor.
|
il y a 12 ans |
Wei Tjong Yao
|
712de11c99
Debug draw UI-elements in Editor.
|
il y a 12 ans |
Lasse Öörni
|
eb54a29d8f
Check that modal element is parented to root, as the input exclusion does not work right otherwise.
|
il y a 12 ans |
Lasse Öörni
|
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
|
il y a 12 ans |
Wei Tjong Yao
|
ec0658f1fe
Reverted back changes in UI.cpp. Reapplied back the logic to Window.cpp so it could shade other UI elements as well.
|
il y a 12 ans |
Wei Tjong Yao
|
80794575ad
Shade the UI root element when it has a modal element set to make it more stands out.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
il y a 12 ans |
Wei Tjong Yao
|
29b23c16d9
Cleanup source code indentation.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
il y a 12 ans |
Lasse Öörni
|
b4599e046d
Hardware sRGB texture support. OpenGL sRGB framebuffer writing implementation still missing.
|
il y a 12 ans |
Lasse Öörni
|
1032a1db4b
Cleaned up includes.
|
il y a 12 ans |
Lasse Öörni
|
802530deb5
Use SetData() instead of locking the UI vertex buffer to simplify code.
|
il y a 12 ans |
Lasse Öörni
|
895819e8d2
Removed use of the UIQuad intermediate structure. Instead construct vertex data directly.
|
il y a 12 ans |
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.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Lasse Öörni
|
9ef8625e33
Fixed BorderImage attributes (tiled, blendmode) missing from script API.
|
il y a 12 ans |
Lasse Öörni
|
55f249e548
Automatically show compatible script object variables as ScriptInstance attributes and file-serialize them.
|
il y a 12 ans |
Lasse Öörni
|
da243eb31b
Applied UI & editor related patch from weitjong.
|
il y a 13 ans |
Lasse Öörni
|
a40fead7dc
Updated license for the new year.
|
il y a 13 ans |
Lasse Öörni
|
7d8558a51f
Applied massive patch from weitjong.
|
il y a 13 ans |
Lasse Öörni
|
88aaa46465
Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding.
|
il y a 13 ans |
Lasse Öörni
|
053c1f3e6a
Added convenience overloads for LoadLayout().
|
il y a 13 ans |
Lasse Öörni
|
4cef5395f5
Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML.
|
il y a 13 ans |
Lasse Öörni
|
e586349114
Added UIElement::CreateChild().
|
il y a 13 ans |