Lasse Öörni
|
7a55b3b977
Merge remote-tracking branch 'hdunderscore/Input_MouseCursorRecall'
|
пре 11 година |
Lasse Öörni
|
50eb143319
Fix consistency in touch hover touch ID. Fix returning touch IDs as available. When resetting touches, reset the touch ID mapping also. In UIDrag example, show the actual touch ID's instead of indices, to verify that the ID's stay consistent. Fix UIDrag Lua example erroneously modifying the TouchState's position.
|
пре 11 година |
Lasse Öörni
|
0821dd482f
Merge remote-tracking branch 'hdunderscore/UIDrag_Bugfix'
|
пре 11 година |
hdunderscore
|
b49e0c2a5d
Moved the SDL touch ID -> Urho touch ID logic from UI to Input, so that querying Input/TouchState should give you a touch index that will always be consistent (between TouchDown and TouchUp events) and start from 1.
|
пре 11 година |
Lasse Öörni
|
f65aa514ad
Fixed UI bug where positioning a window to the left partially outside the screen would cause GetElementAt() to stop working on the window's layouted child elements.
|
пре 11 година |
hdunderscore
|
c293f170ed
Initial implementation of two extra mouse modes:
|
пре 11 година |
hdunderscore
|
b523a14886
Adds consistent mapping between event received touch id and UI internal touch id, to ensure that first touch id always acts as mouse left.
|
пре 11 година |
Lasse Öörni
|
aa8faf79ec
Normalize touch ID's to touch indices to ensure the first touch always works as the "left mousebutton" in the UI.
|
пре 11 година |
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 година |
hdunderscore
|
00656c5d30
Added a range check on GetDragElement(unsigned).
|
пре 11 година |
hdunderscore
|
007d3acc1a
Changes to UI drag behavior:
|
пре 11 година |
Lasse Öörni
|
59d48c1a43
Allow to momentarily disable multisample antialiasing. Used for UI and fullscreen quad rendering.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
f943bb4faa
Unwarn patch for AppleClang. A few warnings were indeed coding error.
|
пре 11 година |
Lasse Öörni
|
c85528de50
Allow to prevent modal window's auto dismissing with ESC by calling Window::SetAutoDismiss(false). Purposefully not an attribute to avoid locking up the editor. Closes #471.
|
пре 11 година |
Lasse Öörni
|
1c6d04c6b5
Send UIMOUSECLICK event on click to emptiness even if there is a modal element. Fixes #423.
|
пре 11 година |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
2de4129fec
Prevent losing focus in modal window due to a click on emptiness.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
3ea3f8102b
Minor refactor to a cleaner fix for #341. Also fix DebugHud now.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
56d5cf06b6
Fix UI::Clear() erroneously also removed Console's UI elements.
|
пре 11 година |
Lasse Öörni
|
a317c48beb
Initial touch emulation.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
153906b8c7
Add mouse grabbed flag to Input subsystem.
|
пре 11 година |
aster
|
e0737e6c46
Replace Char event with TextInput event for CJK IME support.
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
c78f34d5ca
Improve the hats response on screen joystick (in joystick event mode).
|
пре 11 година |
Yao Wei Tjong 姚伟忠
|
3897718a40
Handle corner case: soft-cursor is invisible + OS-cursor is visible.
|
пре 11 година |
Lasse Öörni
|
8945322476
Fix spelling: ClipBoard -> Clipboard. Use the system clipboard by default in the editor.
|
пре 12 година |
Lasse Öörni
|
18217a0fdd
Added UI hover start/end events.
|
пре 12 година |
Lasse Öörni
|
f45976832d
Send event when drag is cancelled.
|
пре 12 година |
Chris Friesen
|
eb565b81ad
Escape cancels ui dragging
|
пре 12 година |
Lasse Öörni
|
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
|
пре 12 година |
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 година |