0 Replies Latest reply on Aug 17, 2009 4:51 PM by deepa subramaniam (adobe)

    [svn:fx-trunk] 9358: More work to support FXG 2. 0 in the MXML Graphics library.

    deepa subramaniam (adobe) Level 2

      Revision: 9358

      Author:   dsubrama@adobe.com

      Date:     2009-08-17 16:51:20 -0700 (Mon, 17 Aug 2009)

       

      Log Message:

      ***********

      More work to support FXG 2.0 in the MXML Graphics library.

       

      1. Switch blendMode default from layer to normal. Before, we did some trickery under the covers, where even though the default blendMode was layer, we actually only set it to layer when it resulted in a rendering difference (ie: when alpha was > 0 < 1 and other overlapping cases). Now, FXG 2.0 mandates blendMode default is normal ?\226?\128?\147 and we don?\226?\128?\153t have to do that trickery because the FXG exporters are smarter and will set blendMode explicitly to layer when necessary. This change is for Group and all graphic primitives.

       

      2. I?\226?\128?\153ve added new enumerations to blendMode and maskType as well as a couple of new properties as mandated by FXG 2.0. There is additional work that needs to happen there that I?\226?\128?\153ll be doing next week.

       

      3. I?\226?\128?\153ve renamed Group?\226?\128?\153s resizeMode enumerations from ?\226?\128?\152normal?\226?\128?\153, ?\226?\128?\152scale?\226?\128?\153 to ?\226?\128?\152noScale?\226?\128?\153, ?\226?\128?\152scale?\226?\128?\153.

       

      4. I?\226?\128?\153ve renamed BitmapImage?\226?\128?\153s resizeMode enumerations from ?\226?\128?\152normal?\226?\128?\153, ?\226?\128?\152scale?\226?\128?\153, ?\226?\128?\152repeat?\226?\128?\153 to ?\226?\128?\152noScale?\226?\128?\153, ?\226?\128?\152scale?\226?\128?\153, ?\226?\128?\152repeat?\226?\128?\153. The default value for BitmapImage.resizeMode went from ?\226?\128?\152repeat?\226?\128?\153 to ?\226?\128?\152scale?\226?\128?\153. Additionally, BitmapImage.repeat property has now been eliminated - use resizeMode="repeat".

       

      5. I?\226?\128?\153ve deprecated BitmapFill?\226?\128?\153s ?\226?\128?\152repeat?\226?\128?\153 property. I?\226?\128?\153ve added a ?\226?\128?\152resizeMode?\226?\128?\153 property to BitmapFill with the same enumerations, defaults and behavior as BitmapImage. I?\226?\128?\153ve also moved BitmapImageResizeMode from spark.primitives to mx.graphics. I?\226?\128?\153ve also renamed BitmapImageResizeMode.as to BitmapResizeMode.as (a PARB-approved rename).

       

      QE notes:  Yes! Joan and I have cycloned numerous times and QA in on-board with the changes.

      Doc notes: Yes

      Bugs: Several

      Reviewer: Evtim/Glenn

      Tests run: Pretty much the entire mustella run for Halo and Spark components

      Is noteworthy for integration: Yes

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/halo-manifest.xml

          flex/sdk/trunk/frameworks/mxml-manifest.xml

          flex/sdk/trunk/frameworks/projects/airframework/spark-air-manifest.xml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/CloseB uttonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/Grippe rSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacClo seButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacMax imizeButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacMin imizeButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacTit leBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/Maximi zeButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/Minimi zeButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/Restor eButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleB arSkin.mxml

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as

          flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/examples/BitmapImag eExample.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ResizeMode.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/core/MaskType.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImage.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicEleme nt.as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/CheckBoxSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/HScrollBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/HSliderSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/NumericStepperSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/RadioButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VScrollBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VSliderSkin.mxml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarDownButtonSkin. mxml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarTrackSkin.mxml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarUpButtonSkin.mx ml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mx ml

          flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mx ml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DropDownListSkin.m xml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HScrollBarSkin.mxm l

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/HSliderSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/NumericStepperSkin .mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/PanelSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mx ml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/SpinnerSkin.mxml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.m xml

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VScrollBarSkin.mxm l

          flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/VSliderSkin.mxml

          flex/sdk/trunk/frameworks/spark-manifest.xml

       

      Added Paths:

      ***********

          flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapResizeMode.as

       

      Removed Paths:

      *************

          flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/BitmapImageResizeMode.as