Lasse Öörni
|
7f6962e47c
Merge remote-tracking branch 'remotes/hdunderscore/UI_Drag_Update'
|
11 years ago |
hdunderscore
|
9fabafec87
Clean up + included a by-pass in UI.cpp to allow for drag move and drag end to occur when Input::IsMouseGrabbed() is true (allowing existing events to continue, preventing new events from triggering).
|
11 years ago |
hdunderscore
|
17e48a27f5
Child elements of a scroll view can now be auto disabled when touch scrolling to prevent triggering of child element events.
|
11 years ago |
hdunderscore
|
007d3acc1a
Changes to UI drag behavior:
|
11 years ago |
Lasse Öörni
|
d7924f907f
Added glyph offset functionality to Font. Closes #13.
|
11 years ago |
Lasse Öörni
|
066589b67d
Fixed warnings. Added script bindings for scroll deceleration parameters.
|
11 years ago |
Lasse Öörni
|
f232856ac1
Added manual VectorBuffer overloads for AngelScript functions that take a File handle for loading/saving. Cleaned up some script bindings code and fixed AngelScript binding for Image::LoadColorLUT().
|
11 years ago |
Lasse Öörni
|
84d06d2e61
Merged the face camera boolean and axes parameters used by BillboardSet & Text3D into a FaceCameraMode enum. Implement none, rotate XYZ, rotate Y, lookat XYZ & lookat Y modes. More can be added as necessary.
|
11 years ago |
Lasse Öörni
|
76a7a60918
Expose touchedElement of TouchState to Lua, and to AngelScript as an ordinary handle to simplify code. Closes #342.
|
11 years ago |
Lasse Öörni
|
00e9dc0a79
Selectable axes for BillboardSet & Text3D camera facing. Default all axes (follow camera rotation fully). Fix ParticleEmitter faceCamera property not being exposed to AngelScript. Closes #325.
|
11 years ago |
Lasse Öörni
|
b8185f973c
Support a "select on click end" mode in ListView. Support defining a separate drag'n'drop content for elements dropped into a LineEdit. Enable drag'n'drop to node ID attribute fields. Closes #261.
|
11 years ago |
Lasse Öörni
|
1f91a44818
Removed the deprecated GetClassName() AngelScript Variant bindings. Fixed the Ragdolls example to not use them.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
6da0cb3995
Add mechanism to copy the selected rows to clipboard. Use in console.
|
11 years ago |
Lasse Öörni
|
8945322476
Fix spelling: ClipBoard -> Clipboard. Use the system clipboard by default in the editor.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
2fb1dc2edc
Mark the deprecated AS API bindings in the documentation.
|
12 years ago |
Lasse Öörni
|
47836474e2
Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant.
|
12 years ago |
Lasse Öörni
|
8cc5ad7fd2
Improved and unified API for Text & Text3D: get number of Unicode characters, get width of row by index, get position of character by index, get size of character by index. Store positions & sizes in the same vector to reduce amount of dynamic memory allocations.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
d1bbe45515
Added SDL on-screen keyboard support.
|
12 years ago |
Lasse Öörni
|
7f061206dc
Add the byKey parameter to script bindings of SetFocusElement().
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
41add82c6e
Fix the wrong return data type for MessageBox::GetWindow().
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
3383bf109b
Expose MessageBox's window element to scripting for manipulation.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
c776573796
Add new MessageBox class for showing short messages in a modal window.
|
12 years ago |
Lasse Öörni
|
358d9c2849
Added default tooltip delay to UI, which will be used if the tooltip's own delay is zero. Use seconds for tooltip delay to match eg. the doubleclick interval. Removed layout from the editor's tooltip root element to prevent it resizing in unwanted fashion.
|
12 years ago |
Lasse Öörni
|
5b8f5e290b
Normalize name of tooltip class to ToolTip to match the filename.
|
12 years ago |
Alex Parlett
|
70322b5c85
Added the Tooltip UI Element which will display when its parent element is hovered over for the specified delay period.
|
12 years ago |
Lasse Öörni
|
0859375510
Fixed erroneously removed script API function.
|
12 years ago |
Lasse Öörni
|
34abc97998
Change the LineEdit elements in the file selector & console to match the height of other LineEdits in the editor. Remove hardcoded adjustment code from FileSelector.cpp & Console.cpp and rely on the style instead.
|
12 years ago |
Lasse Öörni
|
0d7d4826e5
Add pixel & time threshold for sending a drag begin UI event. Closes #65. Removed code duplication between mouse & touch hover.
|
12 years ago |
Lasse Öörni
|
840d50ce0d
Allow to force FreeType autohinting (old 2.3 version behavior.) Reload font faces when global font settings changed.
|
12 years ago |