uiacceltk/hitchcock/coretoolkit/src/HuiFxRenderbuffer.cpp
changeset 0 15bf7259bb7c
equal deleted inserted replaced
-1:000000000000 0:15bf7259bb7c
       
     1 /*
       
     2 * Copyright (c) 2008 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 "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 
       
    20 #include "HuiFxRenderbuffer.h"
       
    21 
       
    22 EXPORT_C CHuiFxRenderbuffer::CHuiFxRenderbuffer()
       
    23     {
       
    24     }
       
    25 
       
    26 EXPORT_C void CHuiFxRenderbuffer::ConstructL(const TSize& aSize, TRenderBufferType aBufferType)
       
    27     {
       
    28     iSize = aSize;
       
    29     iType = aBufferType;
       
    30     }
       
    31 
       
    32 EXPORT_C CHuiFxRenderbuffer::~CHuiFxRenderbuffer()
       
    33     {
       
    34     }
       
    35 
       
    36 EXPORT_C const TSize& CHuiFxRenderbuffer::Size() const
       
    37     {
       
    38     return iSize;
       
    39     }
       
    40 
       
    41 EXPORT_C const TRenderBufferType& CHuiFxRenderbuffer::BufferType() const
       
    42     {
       
    43     return iType;
       
    44     }
       
    45 
       
    46 EXPORT_C const TPoint& CHuiFxRenderbuffer::Position() const
       
    47     {
       
    48     return iPosition;
       
    49     }
       
    50 
       
    51 EXPORT_C void CHuiFxRenderbuffer::SetPosition(TPoint aPosition)
       
    52     {
       
    53     iPosition = aPosition;
       
    54     }
       
    55 
       
    56 EXPORT_C void CHuiFxRenderbuffer::EnableBackground(TBool aEnable)
       
    57     {
       
    58     iBackgroundEnabled = aEnable;
       
    59     }
       
    60