Commit History

Author SHA1 Message Date
  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
  Aster@中国上海 84fe0946c8 Remove ShortStringHash, Now all of ShortStringHash are replaced by StringHash. 11 years ago
  Chris Friesen f4a6d7beba Improved editor assign material action 11 years ago
  Chris Friesen ffc4dffba7 Editor resource browser & right click menus 11 years ago
  Lasse Öörni 73843b142f Applied "reparent multiple nodes by holding shift" patch from Chris Friesen. 12 years ago
  Lasse Öörni ab50955ec4 Added alternative API to serialize Material into an XML element instead of a file. 12 years ago
  Wei Tjong Yao 703d4fb10d Fixed text rendering in Chat example app due to DefaultStyle.xml changes (Bug exists in the last release tag v1.23). Minor documentation fixed on NinjaSnowWar app. Cleaned up DefaultStyle.xml even more to remove repeating attribute declaration by taking advantage of the style inheritance feature. Changed the semantic of UIElement's style property in Script. 12 years ago
  Wei Tjong Yao 7d2c5db872 Differentiate between scene-modified and individual ui-element file-modified in the Editor app. 12 years ago
  Wei Tjong Yao a4479c65ec New UI-element style is applied after removing the 'effect' from the old style. 12 years ago
  Wei Tjong Yao 1b2497dc10 Added new LoadChildXML() method to UIElement and exposed it to Script. Changed Editor app to call LoadChildXML() instead of LoadXML() to prevent child XML-chunk from accidentally modifying the parent element's tyle. Note: child XML-chunk does not require nested element tag anymore. 12 years ago
  Wei Tjong Yao fe5b26abd7 Manipulation of UI-element's style in the Attribute Inspector's Style drop down list is now functional. At the moment new style is applied on top of existing attribute values (i.e. without first removing the effect of existing style). Adjusted DefaultStyle.xml to enable highlight on selected item in DropDownList. 12 years ago
  Wei Tjong Yao f5aa8898da Fixed UIElement's SetParent() method which was exposed to the Script API with wrong signature previously. Added drag-and-drop support for UI-element in Editor app. 12 years ago
  Wei Tjong Yao da08a0b451 Added New reset-to-default icon in the Attribute Editor. Fixed the reset-to-default functionality to call ApplyAttributes() method after modifying the attribute values. 12 years ago
  Wei Tjong Yao 184360dc82 Added new feature in the Editor's edit menu to reset-to-default selected serializable objects (nodes, components, UI-elements) to their default values with undo/redo support. Added new method ResetToDefault() in Serializable class and exposed it to Script. Fixed the constness in Serializable class and all the recently added filtering methods in UIElement descandant classes. Exposed AM_NODEID and AM_COMPONENTID to Script. Added new Keys() method in HashMap class. Fixed SetModel() method in StaticModel and AnimatedModel to accept null model pointer in order to make reset-to-default to work. 12 years ago
  Wei Tjong Yao 9bfb0019e3 Added logic to filter UI-style and implicit attributes from UI serialization result. Added logic to let Attribute Inspector to recognize derived values from UI-style file (so, only user modified and programmatically modified attributes are displayed using 'modified color'). Enhanced UI style file processing to support derived 'style' (see how 'ListView' style is derived from 'ScrollView' style and 'CloseButton' derived from 'Button' in file 'DefaultStyle.xml' as examples). Enhanced Serializable class to support instance-level default values (used in XML serialization filtering and also in Editor app). Enhanced Context class to support update of class-level default values during object registration in UIElement's descendant classes. Verified and fixed the attribute default values in RegisterObject() method for all UIElement's descendant classes. Added new method in XMLElement to remove attribute. Exposed new methods to Script API accordingly. 12 years ago
  Wei Tjong Yao 1230087620 Implemented all the common edit functionalities under 'Edit' menu for UI-element with undo/redo support. Exposed Variant's SetUInt() and GetUInt() to script. Enhanced UIElement's CreateChild() and LoadXML() to insert newly created child at the request child index, added new FindChild() method and exposed it. Added new XMLElement's SetUInt() and GetUInt() methods and exposed them. Simplified the Menu's hover logic to resolve stability issue. 12 years ago
  Wei Tjong Yao d5ddc3b3d6 Implemented 'Create new UI Element' functionality in the editor with undo/redo support. Some cosmetic changes in editor. Enhanced UI Script API to be able to define element event sender. Enhanced Menu to auto popup child menu when parent menu item is being hovered. 12 years ago
  Lasse Öörni ae9fd63bac Removed unnecessary enum from undo actions. 12 years ago
  Lasse Öörni 1a98b50646 Undo actions for attribute edit, node/component enable and gizmo drag. 12 years ago
  Lasse Öörni 9f2c01a1cc Undo actions for component create & remove. 12 years ago
  Lasse Öörni 5375254f0b Exposed functions to create nodes & components with specified IDs. This should make it unnecessary to handle ID rewriting in undo/redo. 12 years ago
  Lasse Öörni 4945c612f8 Started work on undo/redo. Attribute editing & component add/remove not undoable yet. 12 years ago