* @param control the owner of this theme
*/
protected void initDefaultFontBridges( final CControl control ){
putFontBridgeFactory( TitleFont.KIND_TITLE_FONT, new FontBridgeFactory(){
public FontBridge create( FontManager manager ) {
TitleFontTransmitter transmitter = new TitleFontTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putFontBridgeFactory( TitleFont.KIND_FLAP_BUTTON_FONT, new FontBridgeFactory(){
public FontBridge create( FontManager manager ) {
ButtonFontTransmitter transmitter = new ButtonFontTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
putFontBridgeFactory( TabFont.KIND_TAB_FONT, new FontBridgeFactory(){
public FontBridge create( FontManager manager ) {
TabFontTransmitter transmitter = new TabFontTransmitter( manager );
transmitter.setControl( control );
return transmitter;
}
});
}