Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 2.0 Sparkle Components Development Platform
-
Affects:Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial
Description
As part of the Sparkle Component Development Platform we would like to provide a facility for automatically generating Image Sprites for the theme images used by the components. The idea is that each component would provide a directory per theme of all the images used by that component for that theme. The Sprite generator would take those images and create a new Sprite Image and corresponding CSS class that provides the necessary image offset indexes for the sprite image.
Some additional requirements:
- Sprite generator must generate both the sprite image and the CSS class that specifies the image offsets.
- Sprite generator should be configurable to generate a sprite image for one component, or multiple specified components.
- Output from the sprite generator should be such that no component source code needs to be modified if the sprite image itself changes.
Ideally, if YUI provides a sprite generation tool, we could leverage that. In addition, the following resources may be useful:
- http://joshjustice.wordpress.com/2009/10/27/css-sprite-best-practices/
- http://csssprites.org/
- http://spritegen.website-performance.org/section/what-are-css-sprites
- http://ajaxian.com/archives/css-sprite-generator-released
Some additional requirements:
- Sprite generator must generate both the sprite image and the CSS class that specifies the image offsets.
- Sprite generator should be configurable to generate a sprite image for one component, or multiple specified components.
- Output from the sprite generator should be such that no component source code needs to be modified if the sprite image itself changes.
Ideally, if YUI provides a sprite generation tool, we could leverage that. In addition, the following resources may be useful:
- http://joshjustice.wordpress.com/2009/10/27/css-sprite-best-practices/
- http://csssprites.org/
- http://spritegen.website-performance.org/section/what-are-css-sprites
- http://ajaxian.com/archives/css-sprite-generator-released
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21673 | Sun Jun 06 23:23:00 MDT 2010 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/sparkle/component/build.xml
ADD /icefaces/scratchpads/sparkle/component/smartsprites/base.css MODIFY /icefaces/scratchpads/sparkle/component/build.properties |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21633 | Wed Jun 02 21:59:25 MDT 2010 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/sparkle/component/build.xml
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21477 | Tue May 25 21:52:52 MDT 2010 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/sparkle/component/build.xml
MODIFY /icefaces/scratchpads/sparkle/component/build.properties |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21476 | Tue May 25 21:12:56 MDT 2010 | art.zambrano | |
Files Changed | ||||
ADD
/icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.sprites/src/rime
DEL /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.sprites/sam ADD /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.sprites/src/sam DEL /icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.sprites/rime |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21475 | Tue May 25 21:10:05 MDT 2010 | art.zambrano | |
Files Changed | ||||
ADD
/icefaces/scratchpads/sparkle/component/resources/org.icefaces.component.sprites/src
|