[Chameleon-dev] [Bug 583] [Chameleon - Widget] add layer control widgets

bugzilla-daemon at www.maptools.org bugzilla-daemon at www.maptools.org
Thu Jul 22 15:57:34 EDT 2004


http://www.maptools.org/bugzilla/show_bug.cgi?id=583

pspencer at dmsolutions.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgadoury at dmsolutions.ca,
                   |                            |jmckenna at dmsolutions.ca
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From pspencer at dmsolutions.ca  2004-07-22 15:57 -------
New widgets added:

LayerOrder: combines the LayerMoveUp and LayerMoveDown into a single widget with
a DIRECTION attribute that controls the direction the layer(s) will be moved.

RemoveLayer: removes selected layer(s)

Both widgets work on the selected layer as chosen using the SelectLayer widget
or through some custom mechanism.  Both widgets will work on one or more layers.
 Neither widget will currently work with GROUPED layers.

Sample useage:

  <tr>
    <td><cwc2 type="LayerOrder" direction="UP" styleresource="NavButtons"
image="icons/icon_promote.png">
          <image state="normal"/>
          <image state="hover"/>
          <image state="selected"/>
          </cwc2></td>
    <td><cwc2 type="LayerOrder" direction="DOWN" styleresource="NavButtons"
image="icons/icon_demote.png">
          <image state="normal"/>
          <image state="hover"/>
          <image state="selected"/>
          </cwc2></td>
    <td colspan="2"><cwc2 type="RemoveLayer" styleresource="NavButtons"
image="icons/icon_delete.png">
          <image state="normal"/>
          <image state="hover"/>
          <image state="selected"/>
          </cwc2></td>
  </tr>



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Chameleon-dev mailing list