Changes to UI drag behavior:
- Multi-touch drag support
- Combo touch support -- you get id mask of pressed buttons + number of buttons + the average of their positions
- OnDrag* signature updates, with more information available and improved OnDragCancel / E_DRAGCANCEL support.
A sample showing how to use UI drag features (drag begin/move/end/cancel and how to use most of the event data), and it can be used to demonstrate multi-touch drag support on touch-enabled devices.
Added a range check on GetDragElement(unsigned).
Exposed UIElement::GetDragButtonCombo and UIElement::GetDragButtonCount to Lua script, and adjusted their signatures.
Added Lua and AngelScript versions of Sample.
Added UIElement::GetDragButtonCount / UIElement::GetDragButtonCombo bindings to AngelScript.
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).
Fix MinGW installation directory when cross-compiling on Linux host.
Fix FindUrho3D CMake module to perform rooted search on MinGW CC build.
Fix cmake_gcc.sh shell script.
It should work now when TOOLCHAINS environment variable is not defined as before.
If AnimatedModel has no bones (has intentionally loaded a non-skinned model), use StaticModel raycast for more accuracy.
Allocate the View object permanently for each viewport, so that rendering stats and visible geometries etc. can be reliably accessed from a particular viewport's View after rendering each frame.
Added mechanism to limit material techniques on desktop hardware. Closes #516.
Merge remote-tracking branch 'remotes/hdunderscore/UI_Drag_Update'
Travis CI: API documentation update at 2014-11-07 16:04:02 UTC.
[ci package]
Normalize touch ID's to touch indices to ensure the first touch always works as the "left mousebutton" in the UI.
Merge branch 'master' of https://github.com/urho3d/Urho3D
Travis CI: API documentation update at 2014-11-07 18:14:07 UTC.
[ci package]
Add another pkg-config usage example for MinGW cross compiling.
Append '_d' to the output executable file name in the example.
Related to commit 78436eecd4648410c21ad5f0171bc93b28eca20a.
On OpenGL ES offset the skybox slightly in front of the far plane to avoid clipping artifacts from inaccuracy. Closes #517.