Substance Extras pack – part II

June 24th, 2008 | 4 Comments »

The new Extras pack for Substance look-and-feel provides additional settings on top of the functionality available in the core library. The previous entry showed screenshots of color schemes, watermarks and skins from the Extras pack, and this entry will talk about button shapers, mixed color scheme and mixed gradient painters.

Additional button shapers can be found in the org.jvnet.substance.shaperpack package. The screenshot below shows the available button shapers.

The org.jvnet.substance.colorschemepack.MixColorScheme provides support for creating a color scheme based on more than one base color schemes. The org.jvnet.substance.painterpack.gradient.MixDelegateGradientPainter allows wrapping an existing gradient painter to support mixed color schemes. The sample screenshot from the Mango skin (note the painting of scroll bar thumbs, checkmarks of radio buttons and checkboxes and the top part of the selected tab):


Related posts:

  1. Substance Extras pack As specified in the roadmap for version 5.0 of Substance look-and-feel, a number of the...
  2. Substance theme pack updated In addition to about twenty core Substance themes, the theme pack plugin provides even more...
  3. Color scheme association kinds in Substance Color scheme association kinds in Substance look-and-feel are best illustrated by a simple example: This...
  4. Revisiting Jitterbug editor for Substance color schemes Jitterbug is a visual editor for creating and editing color schemes in Substance look-and-feel introduced...


4 Comments on “Substance Extras pack – part II”

  1. 1 Pedro Duque Vieira said at 8:12 am on June 26th, 2008:

    Hi Kirill

    Could you create a tutorial of how to create a custom color scheme bundle (one that extends SubstanceColorScheme) based on one arbitrary color.
    That would be great. =)

  2. 2 Kirill Grouchnikov said at 9:18 am on June 26th, 2008:

    Pedro,

    It doesn’t work that way. A color scheme should be a highly-tuned collection of colors to provide visually pleasing representation of a single control in a single state. A color scheme bundle should be a highly-tuned collection of color schemes to provide visually pleasing representaion of controls in a single decoration area.

    If you’re looking for a shortcut to start from a single color and have a complete skin created from that – i don’t have the answer you’re looking for.

    Thanks
    Kirill

  3. 3 Pedro Duque Vieira said at 6:51 am on June 27th, 2008:

    Ops. I miss wrote what I wanted.
    I wanted to create a color scheme based on one color, in my case a yellow color with specific RGB values.
    The thing is I have a skin that has the AquaColorScheme has it’s “main color scheme” and I wanted the buttons to have yellow background when selected and roolover (kind of like officeBlue2007Skin).
    I’ve played with SunsetColorScheme but can’t get quite the right yellow tone. Maybe I’m doing something wrong.

    Thanks. =)

  4. 4 Kirill Grouchnikov said at 7:38 am on June 27th, 2008:

    You can see the definition of the Office Blue 2007 skin and the color schemes that it is using for the different rollover / selected / pressed states. No magic there, just playing with different core color schemes and the SubstanceColorScheme APIs.

    Thanks
    Kirill