All the palette styles have been renamed to more meaningful monikers and extra custom styles added to allow easier development of custom themes.
Renamed Styles
As requested by several heavy users of the library as well as members of the forum, the names of palette styles have been revamped. This should make it much easier to remember which style is appropriate for use in any given situation. For example the Button1, Button2 and Button3 styles are now called ButtonStandalone, ButtonLowProfile and ButtonButtonSpec.
Custom Styles
Also in response to feedback from users is the addition of some custom styles. These styles are guaranteed to never be used as the default for any of the krypton controls. So you can modify the custom styles for personal use without fear it will corrupt the look of existing krypton controls. Examples of custom names are ButtonCustom1, ButtonCustom2 and LabelCustom1.
Table of new names
Here is a list of all the new names with the corresponding old name if it was present in the old naming scheme.
ButtonStandalone <- Button1
ButtonLowProfile <- Button2
ButtonButtonSpec <- Button3
ButtonCustom1
ButtonCustom2
ButtonCustom3
ControlClient <- Control1
ControlAlternate <- Control2
ControlCustom1
HeaderPrimary <- Header1
HeaderSecondary <- Header2
HeaderCustom1
HeaderCustom2
LabelTitle <- Label1
LabelNormal <- Label2
LabelCustom1
LabelCustom2
LabelCustom3
PanelClient <- Panel1
PanelAlternate <- Panel2
PanelCustom1
SeparatorLowProfile <- Separator1
SeparatorHighProfile <- Separator2
SeparatorCustom1
Upgrading Palettes
To support the palette changes the format of the palette xml files has been updated. This change means you cannot load a palette xml file into verison 1.2 of the toolkit that was saved using the existing version 1.1.
Obviously it is not acceptable that users of the toolkit have to create new palette definition files from scratch, not just this time around but anytime that the palette file format changes. So I have created an upgrade tool that takes in your existing version 1.1 xml file and converts it to the latest format.
As the palette files are just XML it was simple enough to create an XSL transformation than can be applied to the file to perform the necessary change in structure. The upgrade tool can be found and started from the Krypton Explorer application.
Krypton Explorer
When you install version 1.2 of the toolkit you will get a shortcut on your deskop that starts Krypton Explorer. This is the new name for what at the moment is currently called the Krypton Launcher.
The change in name reflects that it does more than just launch a few example applications. It provides links to resources, documentation and sample source code. It has been revampled to reflect the increasing number of examples and links that are part of the toolkit.