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 years ago |
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 years ago |
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 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
|
007d3acc1a
Changes to UI drag behavior:
|
11 years ago |
Lasse Öörni
|
5790875b23
Removed unnecessary construction of a SharedPtr object.
|
11 years ago |
aster
|
e0737e6c46
Replace Char event with TextInput event for CJK IME support.
|
11 years ago |
Lasse Öörni
|
8945322476
Fix spelling: ClipBoard -> Clipboard. Use the system clipboard by default in the editor.
|
11 years ago |
Lasse Öörni
|
18217a0fdd
Added UI hover start/end events.
|
11 years ago |
Lasse Öörni
|
07f06563bc
Optimized Renderer::GetShader() so that caching shader variation pointers becomes unnecessary for the most part.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
d2a7173e5f
Reset UI cursor shape during BeginFrame event, which allows custom logic to set it per frame. Apply OS cursor shape only once during UI rendering to avoid flicker (and potential loss of performance)
|
12 years ago |
Lasse Öörni
|
25cdbaea97
Do not mouse scroll the camera view when cursor is over a UI element because the element may be taking the wheel input also.
|
12 years ago |
Lasse Öörni
|
d1bbe45515
Added SDL on-screen keyboard support.
|
12 years ago |
reattiva
|
6e9a0fb715
Select all the text when moving focus on a line edit by TAB key.
|
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
|
0d7d4826e5
Add pixel & time threshold for sending a drag begin UI event. Closes #65. Removed code duplication between mouse & touch hover.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
d33ac02538
Refactor build scripts to build Urho3D library as main target.
|
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 |
Lasse Öörni
|
267523a738
Adapted Aster Jian's mutable glyph mechanism. Globally switchable on from the UI subsystem. Configurable font texture max size in UI subsystem.
|
12 years ago |
Lasse Öörni
|
b2d356ad5e
Allow using the operating system clipboard in UI.
|
12 years ago |
Lasse Öörni
|
04bf45e463
Added support for SDL_DROPFILE event. Input system sends event with filename only, and UI subsystem interprets that to include the element that was dropped onto. The UI variant of the event is only posted when the OS mouse cursor is visible (such as in the editor.)
|
12 years ago |
Lasse Öörni
|
1eae2e13ab
Split UIElement::OnClick() to OnClickBegin() & OnClickEnd(), added global UIMouseClickEnd event, cleaned up Button & CheckBox click handling, based on Chris Friesen's work.
|
12 years ago |
Lasse Öörni
|
c8a1bc96d7
Refactor UI to not duplicate code for touch and mouse handling.
|
12 years ago |
Lasse Öörni
|
7d235c8458
Added touch input double click handling in the UI.
|
12 years ago |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
12 years ago |