equal
deleted
inserted
replaced
172 if (iExtBitmapFile) |
172 if (iExtBitmapFile) |
173 layer->iExtBitmapFile = iExtBitmapFile->AllocL(); |
173 layer->iExtBitmapFile = iExtBitmapFile->AllocL(); |
174 else |
174 else |
175 layer->iExtBitmapFile = NULL; |
175 layer->iExtBitmapFile = NULL; |
176 layer->iOpacity = iOpacity; |
176 layer->iOpacity = iOpacity; |
|
177 layer->iOpaqueHint = iOpaqueHint; |
177 return layer; |
178 return layer; |
178 } |
179 } |
179 EXPORT_C void CHuiFxVisualLayer::SetExtRect( TRect * /*aExtRect*/ ) |
180 EXPORT_C void CHuiFxVisualLayer::SetExtRect( TRect * /*aExtRect*/ ) |
180 { |
181 { |
181 // not needed.. |
182 // not needed.. |
444 } |
445 } |
445 void CHuiFxVisualLayer::FxmlVisualInputs(RArray<THuiFxVisualSrcType> &aArray) |
446 void CHuiFxVisualLayer::FxmlVisualInputs(RArray<THuiFxVisualSrcType> &aArray) |
446 { |
447 { |
447 aArray.Append(iSrcType); |
448 aArray.Append(iSrcType); |
448 } |
449 } |
449 |
450 |
|
451 TBool CHuiFxVisualLayer::FxmlUsesOpaqueHint() const |
|
452 { |
|
453 return iOpaqueHint; |
|
454 } |
|
455 |
|
456 void CHuiFxVisualLayer::SetFxmlUsesOpaqueHint(TBool aValue) |
|
457 { |
|
458 iOpaqueHint = aValue; |
|
459 } |
|
460 |
450 TBool CHuiFxVisualLayer::IsSemitransparent() const |
461 TBool CHuiFxVisualLayer::IsSemitransparent() const |
451 { |
462 { |
452 if (iOpacity < 1.f) |
463 if (iOpacity < 1.f) |
453 { |
464 { |
454 return ETrue; |
465 return ETrue; |