Yao Wei Tjong 姚伟忠
|
f943bb4faa
Unwarn patch for AppleClang. A few warnings were indeed coding error.
|
11 years ago |
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 years ago |
Lasse Öörni
|
1c6d04c6b5
Send UIMOUSECLICK event on click to emptiness even if there is a modal element. Fixes #423.
|
11 years ago |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
2de4129fec
Prevent losing focus in modal window due to a click on emptiness.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
3ea3f8102b
Minor refactor to a cleaner fix for #341. Also fix DebugHud now.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
56d5cf06b6
Fix UI::Clear() erroneously also removed Console's UI elements.
|
11 years ago |
Lasse Öörni
|
a317c48beb
Initial touch emulation.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
153906b8c7
Add mouse grabbed flag to Input subsystem.
|
11 years ago |
aster
|
e0737e6c46
Replace Char event with TextInput event for CJK IME support.
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
c78f34d5ca
Improve the hats response on screen joystick (in joystick event mode).
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
3897718a40
Handle corner case: soft-cursor is invisible + OS-cursor is visible.
|
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
|
f45976832d
Send event when drag is cancelled.
|
11 years ago |
Chris Friesen
|
eb565b81ad
Escape cancels ui dragging
|
11 years ago |
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 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
|
07f06563bc
Optimized Renderer::GetShader() so that caching shader variation pointers becomes unnecessary for the most part.
|
12 years ago |
Lasse Öörni
|
ea334e4393
Merge branch 'master' into shader-refactor
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
e0f391b0fc
Started shader refactoring.
|
12 years ago |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
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 |
Yao Wei Tjong 姚伟忠
|
1a6970dcf2
Prevent message box crashes due to corrupted or missing data dir.
|
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 |
reattiva
|
8f38b4b702
Move the focus backwards with SHIFT+TAB.
|
12 years ago |
reattiva
|
6e9a0fb715
Select all the text when moving focus on a line edit by TAB key.
|
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 |