Commit History

Author SHA1 Message Date
  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 521ee691c3 Enhanced DropDownList to support showing of placeholder text when there is no selection. The text could be used to show a 'Please choose ...' kind of prompt. Rearranged child XML-chunk resources responsible for Attribute Inspector to remove duplicate definition. Added new child XML-chunk to display and manipulate applied style of the UI-element in the Editor (not yet fully functional). Adjusted DefaultStyle.xml to distinguish between auto and non-auto types. Added new method in Serializable to remove instance default and in UIElement to return applied style name, in preparation for future work. 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
  Lasse Öörni 895819e8d2 Removed use of the UIQuad intermediate structure. Instead construct vertex data directly. 12 years ago
  Wei Tjong Yao d7f6b4d0b6 Enhanced UIElement to be able to set a default style file for later reference by children elements, added horizontal indentation feature, and added new E_LAYOUTUPDATED event. Enhanced ListView to better support hierarchy mode and added feature to show 'expansion triangle' in hierarchy mode. Fixed a bug in ScrollView to update view size correctly when resizing content element. Fixed a bug in Log's WriteRaw() method so it sends error message to stderr even in quite mode. Refactored Editor to take advantage of the enhancement. 12 years ago
  Lasse Öörni a40fead7dc Updated license for the new year. 13 years ago
  Lasse Öörni 7d8558a51f Applied massive patch from weitjong. 13 years ago
  Lasse Öörni 88aaa46465 Corrected formatting issues. License.txt & Readme.txt encoded as UTF-8, source code uses ASCII encoding. 13 years ago
  Lasse Öörni 59ad97a04b Fixed ScrollView position not being correctly applied after deserialization. 13 years ago
  Lasse Öörni 9401ad8063 Removed UI serialization hacks related to the Menu & DropDownList popup element. To avoid layout problems, now it is never added as a child temporarily. 13 years ago
  Lasse Öörni 053c1f3e6a Added convenience overloads for LoadLayout(). 13 years ago
  Lasse Öörni 94fc8ce4e4 Removed the hack way of filling a DropDownList from XML layout. As a consequence defining dropdown items in XML is more complex. 13 years ago
  Lasse Öörni 1ed8f1fe94 Removed unnecessary line of code from DropDownList. 13 years ago
  Lasse Öörni 85c14f96f9 Added checked attribute to CheckBox. 13 years ago
  Lasse Öörni 4cef5395f5 Completed the UI element refactoring. Removed hardcoded SetStyle() functions which would read UI element attributes from XML. 13 years ago
  Lasse Öörni e586349114 Added UIElement::CreateChild(). 13 years ago
  Lasse Öörni f0b6d55b28 Enclosed Urho3D classes inside Urho3D namespace to avoid clashes with external libraries. 13 years ago
  Lasse Öörni cc3ee34f58 Increased occlusion buffer depth bias. 14 years ago
  Lasse Öörni 95a8c8bfa7 Added overloads to Variant & XMLElement that take char pointers. 14 years ago
  Lasse Öörni 6c5d216c27 Added local axis movement mode to the editor. 14 years ago
  Lasse Öörni 5296a4e569 Fixed ItemSelected event. 14 years ago
  Lasse Öörni af2b4311dc Function name unification and cleanup. ChildElement -> Child. RootElement -> Root. ScriptedChildren -> ChildrenWithScript. 14 years ago
  Lasse Öörni b90c1386be Removed unnecessary parentheses. 14 years ago
  Lasse Öörni f60321b20f Use PODVector more extensively. 14 years ago
  Lasse Öörni d69efd65f0 Container library fixes. 14 years ago
  Lasse Öörni 0dee3e592c Migrated the UI library to use PODVector for batches & quads. 14 years ago
  Lasse Öörni 7c45da5588 Import new code. 14 years ago
  Lasse Öörni a48885a729 Make way for import of new code. 14 years ago
  Lasse Öörni 7d51c583a8 Entity & component cut/copy/paste. 15 years ago