phoneuis/BubbleManager/Src/BMBubbleSkinBitmap.cpp
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Bubble skinned bitmap.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include    "BMBubbleSkinBitmap.h"
       
    21 #include    <fbs.h>
       
    22 
       
    23 // CONSTANTS
       
    24 
       
    25 // ========================= MEMBER FUNCTIONS ================================
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // CBubbleSkinBitmap::CBubbleSkinBitmap()
       
    29 // Default constructor
       
    30 // 
       
    31 // ---------------------------------------------------------------------------
       
    32 //
       
    33 CBubbleSkinBitmap::CBubbleSkinBitmap() /* : iItemId( KAknsIIDNone ) */
       
    34     {
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // CBubbleSkinBitmap::~CBubbleSkinBitmap()
       
    39 // Destructor
       
    40 // 
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 CBubbleSkinBitmap::~CBubbleSkinBitmap()
       
    44     {
       
    45     delete iSkinnedBitmap;
       
    46     delete iSkinnedMask;
       
    47     }
       
    48 
       
    49 /*
       
    50 // ---------------------------------------------------------------------------
       
    51 // CBubbleSkinBitmap::SetSkinnedBitmap
       
    52 // ---------------------------------------------------------------------------
       
    53 //
       
    54 void CBubbleSkinBitmap::SetBitmapSkinItemID( const TAknsItemID& aItemID )
       
    55     {
       
    56     iItemId = aItemID;
       
    57     }
       
    58 
       
    59 // ---------------------------------------------------------------------------
       
    60 // CBubbleSkinBitmap::SetSkinnedBitmap
       
    61 // ---------------------------------------------------------------------------
       
    62 //
       
    63 TAknsItemID CBubbleSkinBitmap::BitmapSkinItemID() const
       
    64     {
       
    65     return iItemId;
       
    66     }
       
    67 */
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // CBubbleSkinBitmap::SetSkinnedBitmap
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 void CBubbleSkinBitmap::SetSkinnedBitmap( CFbsBitmap* aSkinnedBitmap )
       
    74     {
       
    75     iSkinnedBitmap = aSkinnedBitmap;
       
    76     }
       
    77 
       
    78 // ---------------------------------------------------------------------------
       
    79 // CBubbleSkinBitmap::SkinnedBitmap
       
    80 // ---------------------------------------------------------------------------
       
    81 //
       
    82 CFbsBitmap* CBubbleSkinBitmap::SkinnedBitmap() const
       
    83     {
       
    84     return iSkinnedBitmap;
       
    85     }
       
    86 
       
    87 // ---------------------------------------------------------------------------
       
    88 // CBubbleSkinBitmap::SetSkinnedMask
       
    89 // ---------------------------------------------------------------------------
       
    90 //
       
    91 void CBubbleSkinBitmap::SetSkinnedMask( CFbsBitmap* aSkinnedMask )
       
    92     {
       
    93     iSkinnedMask = aSkinnedMask;
       
    94     }
       
    95 
       
    96 // ---------------------------------------------------------------------------
       
    97 // CBubbleSkinBitmap::SkinnedBitmapMask
       
    98 // ---------------------------------------------------------------------------
       
    99 //
       
   100 CFbsBitmap* CBubbleSkinBitmap::SkinnedMask() const
       
   101     {
       
   102     return iSkinnedMask;
       
   103     }
       
   104 
       
   105 // ---------------------------------------------------------------------------
       
   106 // CBubbleSkinBitmap::SetBitmapIndex
       
   107 // ---------------------------------------------------------------------------
       
   108 //
       
   109 void CBubbleSkinBitmap::SetBitmapIndex( const TInt& aBitmapIndex )
       
   110     {
       
   111     iBitmapIndex = aBitmapIndex;
       
   112     }
       
   113 
       
   114 // ---------------------------------------------------------------------------
       
   115 // CBubbleSkinBitmap::BitmapIndex
       
   116 // ---------------------------------------------------------------------------
       
   117 //
       
   118 TInt CBubbleSkinBitmap::BitmapIndex() const
       
   119     {
       
   120     return iBitmapIndex;
       
   121     }
       
   122 
       
   123 // End of File