[Mapguide-trac] [mapguide-trac] #2419: Theming support for composite styles

MapGuide Open Source trac_mapguide at osgeo.org
Sat Mar 29 10:41:27 PDT 2014


#2419: Theming support for composite styles
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:  jng        
       Type:  enhancement  |      Status:  new        
   Priority:  low          |   Milestone:  Maestro-5.2
  Component:  Maestro      |     Version:             
   Severity:  trivial      |    Keywords:             
External_id:               |  
---------------------------+------------------------------------------------
 Add support for creating themes for composite styles.

 Due to the increased complexity of composite styles, we theme as follows:

  * For each color in theme ramp the first defined fill color in the
 composite style. This could be:
     * A FillColor property of a Path graphic
     * A default value for a Fill Color parameter (if FillColor property is
 a symbol parameter reference)
     * The override value for a Fill Color parameter (if defined)
  * Whichever one we find, we replace that color at that same spot in a
 cloned copy with the current color in the theme ramp.
  * Add this cloned copy to the composite style

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2419>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list