Lines Matching refs:mpImplWallpaper

195 	if ( mpImplWallpaper->mnRefCount != 1 )  in ImplMakeUnique()
197 if ( mpImplWallpaper->mnRefCount ) in ImplMakeUnique()
198 mpImplWallpaper->mnRefCount--; in ImplMakeUnique()
199 mpImplWallpaper = new ImplWallpaper( *(mpImplWallpaper) ); in ImplMakeUnique()
203 mpImplWallpaper->ImplReleaseCachedBitmap(); in ImplMakeUnique()
215 mpImplWallpaper = &aStaticImplWallpaper; in Wallpaper()
224 DBG_ASSERT( rWallpaper.mpImplWallpaper->mnRefCount < 0xFFFFFFFE, "Wallpaper: RefCount overflow" ); in Wallpaper()
227 mpImplWallpaper = rWallpaper.mpImplWallpaper; in Wallpaper()
229 if ( mpImplWallpaper->mnRefCount ) in Wallpaper()
230 mpImplWallpaper->mnRefCount++; in Wallpaper()
239 mpImplWallpaper = new ImplWallpaper; in Wallpaper()
240 mpImplWallpaper->maColor = rColor; in Wallpaper()
241 mpImplWallpaper->meStyle = WALLPAPER_TILE; in Wallpaper()
250 mpImplWallpaper = new ImplWallpaper; in Wallpaper()
251 mpImplWallpaper->mpBitmap = new BitmapEx( rBmpEx ); in Wallpaper()
252 mpImplWallpaper->meStyle = WALLPAPER_TILE; in Wallpaper()
261 mpImplWallpaper = new ImplWallpaper; in Wallpaper()
262 mpImplWallpaper->mpGradient = new Gradient( rGradient ); in Wallpaper()
263 mpImplWallpaper->meStyle = WALLPAPER_TILE; in Wallpaper()
274 if ( mpImplWallpaper->mnRefCount ) in ~Wallpaper()
276 if ( mpImplWallpaper->mnRefCount == 1 ) in ~Wallpaper()
277 delete mpImplWallpaper; in ~Wallpaper()
279 mpImplWallpaper->mnRefCount--; in ~Wallpaper()
290 mpImplWallpaper->maColor = rColor; in SetColor()
292 …if( WALLPAPER_NULL == mpImplWallpaper->meStyle || WALLPAPER_APPLICATIONGRADIENT == mpImplWallpaper in SetColor()
293 mpImplWallpaper->meStyle = WALLPAPER_TILE; in SetColor()
302 return mpImplWallpaper->maColor; in GetColor()
318 mpImplWallpaper->meStyle = eStyle; in SetStyle()
327 return mpImplWallpaper->meStyle; in GetStyle()
338 if ( mpImplWallpaper->mpBitmap ) in SetBitmap()
341 delete mpImplWallpaper->mpBitmap; in SetBitmap()
342 mpImplWallpaper->mpBitmap = NULL; in SetBitmap()
348 if ( mpImplWallpaper->mpBitmap ) in SetBitmap()
349 *(mpImplWallpaper->mpBitmap) = rBitmap; in SetBitmap()
351 mpImplWallpaper->mpBitmap = new BitmapEx( rBitmap ); in SetBitmap()
354 …if( WALLPAPER_NULL == mpImplWallpaper->meStyle || WALLPAPER_APPLICATIONGRADIENT == mpImplWallpaper in SetBitmap()
355 mpImplWallpaper->meStyle = WALLPAPER_TILE; in SetBitmap()
364 if ( mpImplWallpaper->mpBitmap ) in SetBitmap()
367 delete mpImplWallpaper->mpBitmap; in SetBitmap()
368 mpImplWallpaper->mpBitmap = NULL; in SetBitmap()
378 if ( mpImplWallpaper->mpBitmap ) in GetBitmap()
379 return *(mpImplWallpaper->mpBitmap); in GetBitmap()
393 return (mpImplWallpaper->mpBitmap != 0); in IsBitmap()
405 if ( mpImplWallpaper->mpGradient ) in SetGradient()
406 *(mpImplWallpaper->mpGradient) = rGradient; in SetGradient()
408 mpImplWallpaper->mpGradient = new Gradient( rGradient ); in SetGradient()
410 …if( WALLPAPER_NULL == mpImplWallpaper->meStyle || WALLPAPER_APPLICATIONGRADIENT == mpImplWallpaper in SetGradient()
411 mpImplWallpaper->meStyle = WALLPAPER_TILE; in SetGradient()
420 if ( mpImplWallpaper->mpGradient ) in SetGradient()
423 delete mpImplWallpaper->mpGradient; in SetGradient()
424 mpImplWallpaper->mpGradient = NULL; in SetGradient()
434 if( WALLPAPER_APPLICATIONGRADIENT == mpImplWallpaper->meStyle ) in GetGradient()
436 else if ( mpImplWallpaper->mpGradient ) in GetGradient()
437 return *(mpImplWallpaper->mpGradient); in GetGradient()
451 return (mpImplWallpaper->mpGradient != 0); in IsGradient()
481 if ( mpImplWallpaper->mpRect ) in SetRect()
483 delete mpImplWallpaper->mpRect; in SetRect()
484 mpImplWallpaper->mpRect = NULL; in SetRect()
489 if ( mpImplWallpaper->mpRect ) in SetRect()
490 *(mpImplWallpaper->mpRect) = rRect; in SetRect()
492 mpImplWallpaper->mpRect = new Rectangle( rRect ); in SetRect()
502 if ( mpImplWallpaper->mpRect ) in SetRect()
505 delete mpImplWallpaper->mpRect; in SetRect()
506 mpImplWallpaper->mpRect = NULL; in SetRect()
516 if ( mpImplWallpaper->mpRect ) in GetRect()
517 return *(mpImplWallpaper->mpRect); in GetRect()
531 return (mpImplWallpaper->mpRect != 0); in IsRect()
539 if ( mpImplWallpaper->meStyle == WALLPAPER_NULL ) in IsFixed()
542 return (!mpImplWallpaper->mpBitmap && !mpImplWallpaper->mpGradient); in IsFixed()
549 if ( mpImplWallpaper->meStyle == WALLPAPER_NULL ) in IsScrollable()
551 else if ( !mpImplWallpaper->mpBitmap && !mpImplWallpaper->mpGradient ) in IsScrollable()
553 else if ( mpImplWallpaper->mpBitmap ) in IsScrollable()
554 return (mpImplWallpaper->meStyle == WALLPAPER_TILE); in IsScrollable()
565 DBG_ASSERT( rWallpaper.mpImplWallpaper->mnRefCount < 0xFFFFFFFE, "Wallpaper: RefCount overflow" ); in operator =()
568 if ( rWallpaper.mpImplWallpaper->mnRefCount ) in operator =()
569 rWallpaper.mpImplWallpaper->mnRefCount++; in operator =()
573 if ( mpImplWallpaper->mnRefCount ) in operator =()
575 if ( mpImplWallpaper->mnRefCount == 1 ) in operator =()
576 delete mpImplWallpaper; in operator =()
578 mpImplWallpaper->mnRefCount--; in operator =()
581 mpImplWallpaper = rWallpaper.mpImplWallpaper; in operator =()
593 if ( mpImplWallpaper == rWallpaper.mpImplWallpaper ) in operator ==()
596 if ( ( mpImplWallpaper->meStyle != rWallpaper.mpImplWallpaper->meStyle ) || in operator ==()
597 ( mpImplWallpaper->maColor != rWallpaper.mpImplWallpaper->maColor ) ) in operator ==()
600 if ( mpImplWallpaper->mpRect != rWallpaper.mpImplWallpaper->mpRect in operator ==()
601 && ( !mpImplWallpaper->mpRect in operator ==()
602 || !rWallpaper.mpImplWallpaper->mpRect in operator ==()
603 || *(mpImplWallpaper->mpRect) != *(rWallpaper.mpImplWallpaper->mpRect) ) ) in operator ==()
606 if ( mpImplWallpaper->mpBitmap != rWallpaper.mpImplWallpaper->mpBitmap in operator ==()
607 && ( !mpImplWallpaper->mpBitmap in operator ==()
608 || !rWallpaper.mpImplWallpaper->mpBitmap in operator ==()
609 || *(mpImplWallpaper->mpBitmap) != *(rWallpaper.mpImplWallpaper->mpBitmap) ) ) in operator ==()
612 if ( mpImplWallpaper->mpGradient != rWallpaper.mpImplWallpaper->mpGradient in operator ==()
613 && ( !mpImplWallpaper->mpGradient in operator ==()
614 || !rWallpaper.mpImplWallpaper->mpGradient in operator ==()
615 || *(mpImplWallpaper->mpGradient) != *(rWallpaper.mpImplWallpaper->mpGradient) ) ) in operator ==()
626 return( rIStm >> *rWallpaper.mpImplWallpaper ); in operator >>()
633 return( rOStm << *rWallpaper.mpImplWallpaper ); in operator <<()