Aster@中国上海
|
cd42bc6f3f
Make object animation can set child and component's attribute animation.
|
11 years ago |
Aster@中国上海
|
84fe0946c8
Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash.
|
11 years ago |
aster
|
06ccf8efbb
rename variant name, avoid memory leak when attribute not found.
|
11 years ago |
Aster Jian
|
48c3868a79
Remove child object animation, add load and save function.
|
11 years ago |
aster2013
|
4a3ed4117a
Refactor animation system, add AttributeAnimationInstance.
|
11 years ago |
aster2013
|
2eff0e1144
Add attribute animation.
|
11 years ago |
aster2013
|
5fd7363201
Add Animatable class.
|
11 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
|
0c76216202
Simplify and optimize Text code. If text does not change, do not look up glyphs & kerning each frame. Fix display of wordwrapped right-aligned texts.
|
12 years ago |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
12 years ago |
Lasse Öörni
|
c162f2ebf6
Fix escalating UI element priority due to tooltip / popup forcing themselves to max. priority. Closes #154.
|
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 |
Lasse Öörni
|
eb9bc8847f
UI drawing code cleanup.
|
12 years ago |
Lasse Öörni
|
7a7e86589b
Optimized drawing of color-modified UI quads. UIBatch has new function SetColor() which can be used before drawing with modified color, and which performs the uint-conversion only once. This overrides the element's gradient if any.
|
12 years ago |
Lasse Öörni
|
712345aa56
Added log macros with formatting. Closes #114.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
65ced72eb9
Enhanced focusable button to be drawned differently when focused.
|
12 years ago |
Yao Wei Tjong 姚伟忠
|
c776573796
Add new MessageBox class for showing short messages in a modal window.
|
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
|
f73ee0c730
Force elements in layout to left/top alignment, warn if has different alignment. Closes #34. Implement editor accelerator key texts a bit differently as the right alignment in a layout -hack can no longer be relied upon.
|
12 years ago |
Lasse Öörni
|
39c8295eb3
Added editable flag to UI elements. When disabled, will not edit the value (eg. LineEdit text) through user input. Fixes #4.
|
12 years ago |
Lasse Öörni
|
f950220350
Fixed potential crash if applying console style caused new messages to be logged.
|
12 years ago |
Wei Tjong Yao
|
6bef92973d
Avoid hardcoding of highlighted console text style. Console subscribes to handle log message only when it itself is ready to do so. Removed redundant row container vector in the Console class. Hide the Console's linedit and preventing it to gain focus when there is no AngelScript or LuaScript subsystem to handle the E_CONSOLECOMMAND event. Fixed UIElement to send E_ELEMENTREMOVED event for RemoveChildAtIndex() method. Fixed Sample.lua to handle the ESC key to dismiss the Console when it is visible.
|
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
|
26a9bc763e
Added Temporary flag to Serializable, which means it will not be saved if enabled. Currently the sub-nodes created by Terrain are marked temporary.
|
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 |