webengine/wmlengine/src/lmgr/include/BoxRender.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef BOX_RENDER_H
       
    18 #define BOX_RENDER_H
       
    19 
       
    20 #include "nw_gdi_utils.h"
       
    21 #include "nw_lmgr_box.h"
       
    22 #include "nw_lmgr_rootbox.h"
       
    23 
       
    24 #include "BrsrStatusCodes.h"
       
    25 
       
    26 #ifdef __cplusplus
       
    27 extern "C" 
       
    28 {
       
    29 #endif /* __cplusplus */
       
    30 
       
    31 #define NO_CHILDREN 0
       
    32 #define DRAW_CHILDREN 1
       
    33 #define NOT_DRAW_CHILDREN 2
       
    34 
       
    35 TBrowserStatusCode
       
    36 BoxRender_Render (   NW_LMgr_Box_t* box,
       
    37                      CGDIDeviceContext* deviceContext,
       
    38                      NW_GDI_Rectangle_t* clipRect,
       
    39                      NW_LMgr_Box_t* currentBox,
       
    40                      NW_Uint8 flags, 
       
    41                      NW_Bool hasFocus,
       
    42                      NW_LMgr_RootBox_t* rootBox );
       
    43 
       
    44 #ifdef __cplusplus
       
    45 } // extern "C" {
       
    46 #endif /* __cplusplus */
       
    47 
       
    48 #endif