Commit History

Author SHA1 Message Date
  aster2013 cb819a5a6f Remove class name and variant type from attribute macros. 11 years ago
  PrimitiveWaste 788badde48 Fix a bug in UIElement's CalculateLayout() that caused an infinite loop with certain flex scale values . Fixes #529 11 years ago
  Lasse Öörni 4f8bc4a9f2 Revert "Allow UIElements to keep their current size if greater than the calculated size during layout updates." 11 years ago
  PrimitiveWaste 283d0d196b Add layout flex scale to UIElement. Prevent layout updates while loading attributes. 11 years ago
  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