After a short diversion by other tasks I am back at the helm and adding the Office 2007 look and feel to the Krypton components.

I only have another few days of work before I am on my annual vacation for two weeks but that should be enough to get a decent chunk completed. I have started by adding three palettes to the library that are used for the Blue, Silver and Black color schemes of Office 2007.

For comparison here is a picture of the different button states using the existing Professional – Office 2003 and Professional – System palettes.

The next picture shows the new Blue and Silver color schemes (I have implemented the Black color scheme it is so similar to the Silver that it is not presented here). Note that all the screen shots here are reduced in quality by converting to .gif and the real images are much better.

The above is for the Standalone button style. The Navigator button style that will be used in the Krypton Navigator stack modes has the following appearance.

The implementation takes two color values and then performs the drawing based on those values. I could have implemented it much quicker by just using bitmaps and stretching them to fit the area. But that would not have worked well for very large button sizes and also would prevent you from supplying your own color values to get an alternative color scheme but with the same glass affect.

I started with the KryptonButton because it was the control with the largest number of states and so one of the most difficult to get right. The other controls should be quicker and easier to setup.

Leave a Reply