uidesigner/com.nokia.sdt.series60.componentlibrary/components/statuspane/StatusPaneCaption_visual.js
changeset 0 fb279309251b
equal deleted inserted replaced
-1:000000000000 0:fb279309251b
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 include("../implLibrary.js")
       
    20 include("../renderLibrary.js")
       
    21 include("../srcgenLibrary.js")
       
    22 include("titleLibrary.js")
       
    23 
       
    24 function StatusPaneCaptionVisual() {
       
    25 }
       
    26 
       
    27 StatusPaneCaptionVisual.prototype.draw = function(instance, laf, graphics) {
       
    28 	var properties = instance.properties;
       
    29 	
       
    30 	drawTitleText(instance, laf, graphics, properties.longCaption);
       
    31 }
       
    32 
       
    33 setupCommonDirectLabelEditing(StatusPaneCaptionVisual.prototype, "longCaption",
       
    34 	null,	
       
    35 	function(instance, laf) { return laf.getFont("titleFont"); 
       
    36 	}
       
    37 )