LibreOffice Module vcl (master)  1
Public Types | Public Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
Wallpaper Class Reference

#include <wall.hxx>

Collaboration diagram for Wallpaper:
[legend]

Public Types

typedef o3tl::cow_wrapper< ImplWallpaperImplType
 

Public Member Functions

SAL_DLLPRIVATE void ImplSetCachedBitmap (BitmapEx &rBmp) const
 
SAL_DLLPRIVATE const BitmapExImplGetCachedBitmap () const
 
SAL_DLLPRIVATE void ImplReleaseCachedBitmap () const
 
 Wallpaper ()
 
 Wallpaper (const Wallpaper &rWallpaper)
 
 Wallpaper (Wallpaper &&rWallpaper)
 
 Wallpaper (const Color &rColor)
 
 Wallpaper (const BitmapEx &rBmpEx)
 
 Wallpaper (const Gradient &rGradient)
 
 ~Wallpaper ()
 
void SetColor (const Color &rColor)
 
const ColorGetColor () const
 
void SetStyle (WallpaperStyle eStyle)
 
WallpaperStyle GetStyle () const
 
void SetBitmap (const BitmapEx &rBitmap)
 
BitmapEx GetBitmap () const
 
bool IsBitmap () const
 
void SetGradient (const Gradient &rGradient)
 
Gradient GetGradient () const
 
bool IsGradient () const
 
void SetRect (const tools::Rectangle &rRect)
 
tools::Rectangle GetRect () const
 
bool IsRect () const
 
bool IsFixed () const
 
bool IsScrollable () const
 
Wallpaperoperator= (const Wallpaper &rWallpaper)
 
Wallpaperoperator= (Wallpaper &&rWallpaper)
 
bool operator== (const Wallpaper &rWallpaper) const
 
bool operator!= (const Wallpaper &rWallpaper) const
 
bool IsEmpty () const
 

Static Private Member Functions

static SAL_DLLPRIVATE Gradient ImplGetApplicationGradient ()
 

Private Attributes

ImplType mpImplWallpaper
 

Friends

VCL_DLLPUBLIC SvStreamReadWallpaper (SvStream &rIStm, Wallpaper &rWallpaper)
 
VCL_DLLPUBLIC SvStreamWriteWallpaper (SvStream &rOStm, const Wallpaper &rWallpaper)
 

Detailed Description

Definition at line 50 of file wall.hxx.

Member Typedef Documentation

Definition at line 53 of file wall.hxx.

Constructor & Destructor Documentation

Wallpaper::Wallpaper ( )

Definition at line 144 of file wall.cxx.

References get().

Wallpaper::Wallpaper ( const Wallpaper rWallpaper)
default
Wallpaper::Wallpaper ( Wallpaper &&  rWallpaper)
default
Wallpaper::Wallpaper ( const Color rColor)

Definition at line 152 of file wall.cxx.

References ImplWallpaper::maColor, ImplWallpaper::meStyle, mpImplWallpaper, and Tile.

Wallpaper::Wallpaper ( const BitmapEx rBmpEx)
explicit

Definition at line 158 of file wall.cxx.

References ImplWallpaper::meStyle, ImplWallpaper::mpBitmap, mpImplWallpaper, and Tile.

Wallpaper::Wallpaper ( const Gradient rGradient)

Definition at line 164 of file wall.cxx.

References ImplWallpaper::meStyle, ImplWallpaper::mpGradient, mpImplWallpaper, and Tile.

Wallpaper::~Wallpaper ( )
default

Member Function Documentation

BitmapEx Wallpaper::GetBitmap ( ) const
const Color & Wallpaper::GetColor ( ) const
Gradient Wallpaper::GetGradient ( ) const
tools::Rectangle Wallpaper::GetRect ( ) const
WallpaperStyle Wallpaper::GetStyle ( ) const
Gradient Wallpaper::ImplGetApplicationGradient ( )
staticprivate
const BitmapEx * Wallpaper::ImplGetCachedBitmap ( ) const

Definition at line 180 of file wall.cxx.

References ImplWallpaper::mpCache, and mpImplWallpaper.

Referenced by OutputDevice::DrawBitmapWallpaper().

void Wallpaper::ImplReleaseCachedBitmap ( ) const
void Wallpaper::ImplSetCachedBitmap ( BitmapEx rBmp) const
bool Wallpaper::IsBitmap ( ) const
bool Wallpaper::IsEmpty ( ) const
inline

Definition at line 101 of file wall.hxx.

References COL_TRANSPARENT(), and NONE.

Referenced by SvtIconChoiceCtrl::SetBackground().

bool Wallpaper::IsFixed ( ) const
bool Wallpaper::IsGradient ( ) const
bool Wallpaper::IsRect ( ) const
bool Wallpaper::IsScrollable ( ) const
bool Wallpaper::operator!= ( const Wallpaper rWallpaper) const
inline

Definition at line 98 of file wall.hxx.

References operator==().

Wallpaper & Wallpaper::operator= ( const Wallpaper rWallpaper)
default
Wallpaper & Wallpaper::operator= ( Wallpaper &&  rWallpaper)
default
bool Wallpaper::operator== ( const Wallpaper rWallpaper) const

Definition at line 346 of file wall.cxx.

References mpImplWallpaper, and o3tl::cow_wrapper< T, MTPolicy >::same_object().

Referenced by operator!=().

void Wallpaper::SetBitmap ( const BitmapEx rBitmap)
void Wallpaper::SetColor ( const Color rColor)
void Wallpaper::SetGradient ( const Gradient rGradient)
void Wallpaper::SetRect ( const tools::Rectangle rRect)
void Wallpaper::SetStyle ( WallpaperStyle  eStyle)

Friends And Related Function Documentation

VCL_DLLPUBLIC SvStream& ReadWallpaper ( SvStream rIStm,
Wallpaper rWallpaper 
)
friend

Definition at line 351 of file wall.cxx.

VCL_DLLPUBLIC SvStream& WriteWallpaper ( SvStream rOStm,
const Wallpaper rWallpaper 
)
friend

Definition at line 356 of file wall.cxx.

Member Data Documentation

ImplType Wallpaper::mpImplWallpaper
private

The documentation for this class was generated from the following files: