MouseCoordsLabelCallback::MouseCoordsLabelCallback( LabelControl* label, Formatter* formatter ) : _label ( label ), _formatter( formatter ) { #if 0 if ( !formatter ) { LatLongFormatter* formatter = new LatLongFormatter( LatLongFormatter::FORMAT_DECIMAL_DEGREES ); formatter->setPrecision( 5 ); _formatter = formatter; } #endif }