Commit History

Author SHA1 Message Date
  PrimitiveWaste b97c8d4712 Allow UIElements to keep their current size if greater than the calculated size during layout updates. 11 years ago
  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 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 3e4882bfa5 Unify SetDeepEnabled() API between UI & Node. Removed IsDeepEnabled() function & "Is Deep Enabled" attribute as it may return different value than last SetDeepEnabled() and can not therefore serialize/deserialize accurately. Instead added IsEnabledSelf() which returns the enabled state before SetDeepEnabled(). Changed Node::SetEnabled(bool, bool) to SetEnabledRecursive(). Unlike SetDeepEnabled() it does not preserve node's self enabled state. Added AngelScript binding for SetDeepEnabled operations. 11 years ago
  hdunderscore 2966800ffc Added UIElement methods SetDeepEnabled / ResetDeepEnabled / IsDeepEnabled to allow setting enable on an element + all it's child elements / reset it to previous state. 11 years ago
  Lasse Öörni 5f0ed3fcf8 Fix more header warnings that could leak to an Urho3D application using maximum MSVC warning level. 11 years ago
  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