My favorites | Sign in
Project Logo
             
Search
for
Updated May 21, 2009 by jessefreeman
Labels: Featured
ChangeLog  

Camo v2.2 from v2.1

  • TypeHelperUtil now allows you to register your own custom conversion functions.

  • TypeHelperUtil now supports color shortcuts. In your css you can use a color name and the util will automatically convert it. Here are the supported colors: black, blue, green, gray, silver, lime, olive, white, yellow, maroon, navy, red, purple, teal, fuchsia, aqua, magenta and cyan. See documentation on how to add your own custom colors.
  • DecalSheet system has been restructured. Removed the use of config classes, now DecalSheets can be created and defined completly by hand.
  • Refactored the DecalSheetManager to handle multple DecalSheets, parse DecalSheetXML as well as organize all decals associated with DecalSheets.
  • DecalSheet XML has been cleaned up. Removed the use of id and replaced with name. DecalsSheet now have a default width and height of 1 if not defined in the XML. Removed the Scale9 from Decals, that will be handled by the DecalSheet at a later date.
  • Minor BoxModel/CamoDisplay optimization for better handling of invalidation.

Change Log for Camo v2.1 from v2.0

  • There have been some major restructuring of how CSS Style and the Box Model work in this new 2.1 version. This document will go through all of the major parts of the Framework but if you already read the 2.0 introduction here is a specific list of changes:

  • The style package and all of the StyleSheet classes have been renamed and moved into property package. This is the new engine for converting CSS into property values for the BoxModel and CamoDisplay.
  • The PropertyApplyerUtil will now manage converting raw css text into correctly typed values based on two things. First the util will create a PropertyMap (a new object that represents all of the public variables and setters of a class including their correct value types) of a given class then attempts to convert the string values of the css text into the type (String, Number, UINT, Object, Point, Rectangle, StyleSheet) specified in the ProperyMap.
  • The TextFieldFactory has been removed. Due to the new way of applying properties from CSS it was better to leave the implementation of TextField creation up to the user.
  • There is now a new CamoDisplayEvent class. When a CamoDisplay changes it will fire an update event. This is built into the core of the framework through the AbstarctDisplay.
  • New Interfaces, IDisplay, IBoxModel, and ICamoDisplay. Each Interface maintains the chain of inheritance to the IDisplay and includes support for common DisplayObject methods.
  • Cleaned up the redraw logic in the BoxModel to be more efficient and only redraw when needed. Also added logic to handle invalidating the display before a redraw takes place. This is to insure the BoxModel and CamoDisplay are only rerendered when needed.
  • Config class dependancy has been removed. Wherever possible, I have removed the need for using a config class to be passed into the constructor. The Decal System still requires one but that will be removed in version 2.2.
  • Compressing CSS is now done in the parseCSS method found on the PropertiesSheet or CamoPropertiesSheet class. This feature is now automatically set to true.

Sign in to add a comment
Hosted by Google Code