Lasse Öörni
|
6d852735b2
Removed the hacks to detect emulated mouse in NinjaSnowWar.
|
12 лет назад |
Lasse Öörni
|
c37695b16a
For consistency, emulate touch as mouse on all platforms (on Windows it is unavoidable.)
|
12 лет назад |
Lasse Öörni
|
ad7b7451b4
As latest SDL was found to be non-threadsafe in practice, removed the StaticMutex and the OBJECTTYPESTATIC constructs which were added to support multi-context use within a single process.
|
12 лет назад |
Lasse Öörni
|
e5d4a3939b
Emit public drag start/move/end events. Adapted from patch contributed by Chris Friesen.
|
12 лет назад |
Wei Tjong Yao
|
8843775dca
Minor refactoring to detect parentage directly.
|
12 лет назад |
Wei Tjong Yao
|
2f88f7fc81
Fixed UI subsystem to dismiss the FileSelector correctly when its modal window is being closed via ESC key.
|
12 лет назад |
Lasse Öörni
|
1fdf228359
Move the AngelScript API registration to the Script library and inverted the Script <-> Engine library dependency.
|
12 лет назад |
Lasse Öörni
|
ad0d869c51
Cleaned up commented out code.
|
12 лет назад |
Lasse Öörni
|
ace84bc7ca
Fixed UI debug draw.
|
12 лет назад |
Lasse Öörni
|
7cd99fe257
Fixed redundant copying of vertex buffer data when rendering the UI.
|
12 лет назад |
Lasse Öörni
|
c0dbf7f545
Generalized the factory category for all objects.
|
12 лет назад |
Wei Tjong Yao
|
9bfb0019e3
Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly.
|
12 лет назад |
Lasse Öörni
|
d567ef83fc
Started work on 3D text component.
|
12 лет назад |
Lasse Öörni
|
bc4b428295
Allow UI to operate without a defined cursor element, if the operating system cursor is visible.
|
12 лет назад |
Wei Tjong Yao
|
21a2a008fa
Fixed UI-element debug draw being clipped by clip-border.
|
12 лет назад |
Wei Tjong Yao
|
17714cb198
Further fine tuning on the UI subsystem.
|
12 лет назад |
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.
|
12 лет назад |
Wei Tjong Yao
|
712de11c99
Debug draw UI-elements in Editor.
|
12 лет назад |
Lasse Öörni
|
eb54a29d8f
Check that modal element is parented to root, as the input exclusion does not work right otherwise.
|
12 лет назад |
Lasse Öörni
|
49b7b15ea6
Implement GetElementAt() exclusion with modal element without dynamic allocation.
|
12 лет назад |
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.
|
12 лет назад |
Wei Tjong Yao
|
80794575ad
Shade the UI root element when it has a modal element set to make it more stands out.
|
12 лет назад |
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 лет назад |
Lasse Öörni
|
34df8b5e82
Fixed headless mode.
|
12 лет назад |
Wei Tjong Yao
|
29b23c16d9
Cleanup source code indentation.
|
12 лет назад |
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 лет назад |
Lasse Öörni
|
5830f0e5d1
Convention change: prefer Enabled instead of Active where possible.
|
12 лет назад |
Lasse Öörni
|
b4599e046d
Hardware sRGB texture support. OpenGL sRGB framebuffer writing implementation still missing.
|
12 лет назад |
Lasse Öörni
|
1032a1db4b
Cleaned up includes.
|
12 лет назад |
Lasse Öörni
|
802530deb5
Use SetData() instead of locking the UI vertex buffer to simplify code.
|
12 лет назад |