* @param control the controller for which this theme will be used
*/
private void init( final CControl control ){
putColorBridgeFactory( TabColor.KIND_TAB_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
BasicTabTransmitter transmitter = new BasicTabTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putColorBridgeFactory( TitleColor.KIND_TITLE_COLOR, new ColorBridgeFactory(){
public ColorBridge create( ColorManager manager ) {
BasicTitleTransmitter transmitter = new BasicTitleTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putColorBridgeFactory( TitleColor.KIND_FLAP_BUTTON_COLOR, new ColorBridgeFactory(){
public ColorBridge create(ColorManager manager) {
BasicButtonTitleTransmitter transmitter = new BasicButtonTitleTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
initDefaultFontBridges( control );
}