LibreOffice Module vcl (master) 1
|
#include <wall.hxx>
Public Member Functions | |
SAL_DLLPRIVATE void | ImplSetCachedBitmap (const BitmapEx &rBmp) const |
SAL_DLLPRIVATE const BitmapEx * | ImplGetCachedBitmap () const |
SAL_DLLPRIVATE void | ImplReleaseCachedBitmap () const |
Wallpaper () | |
Wallpaper (const Wallpaper &rWallpaper) | |
Wallpaper (Wallpaper &&rWallpaper) | |
Wallpaper (const Color &rColor) | |
Wallpaper (const BitmapEx &rBmpEx) | |
~Wallpaper () | |
void | SetColor (const Color &rColor) |
const Color & | GetColor () const |
void | SetStyle (WallpaperStyle eStyle) |
WallpaperStyle | GetStyle () const |
void | SetBitmap (const BitmapEx &rBitmap) |
const BitmapEx & | GetBitmap () const |
bool | IsBitmap () const |
void | SetGradient (const Gradient &rGradient) |
Gradient | GetGradient () const |
bool | IsGradient () const |
void | SetRect (const tools::Rectangle &rRect) |
const tools::Rectangle & | GetRect () const |
bool | IsRect () const |
bool | IsFixed () const |
bool | IsScrollable () const |
Wallpaper & | operator= (const Wallpaper &rWallpaper) |
Wallpaper & | operator= (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 | |
tools::Rectangle | maRect |
BitmapEx | maBitmap |
BitmapEx | maCache |
std::optional< Gradient > | mpGradient |
Color | maColor |
WallpaperStyle | meStyle |
Friends | |
SvStream & | ReadWallpaper (SvStream &rIStm, Wallpaper &rWallpaper) |
SvStream & | WriteWallpaper (SvStream &rOStm, const Wallpaper &rWallpaper) |
Wallpaper::Wallpaper | ( | ) |
Definition at line 118 of file wall.cxx.
References COL_TRANSPARENT(), maColor, and NONE.
|
default |
|
default |
Wallpaper::Wallpaper | ( | const Color & | rColor | ) |
|
explicit |
|
default |
const BitmapEx & Wallpaper::GetBitmap | ( | ) | const |
Definition at line 184 of file wall.cxx.
References maBitmap.
Referenced by TabPage::Draw(), Dialog::Draw(), OutputDevice::DrawBitmapWallpaper(), vcl::PDFWriterImpl::drawWallpaper(), GDIMetaFile::ImplExchangeColors(), OutputDevice::SetBackground(), and SvtIconChoiceCtrl::SetBackground().
|
inline |
Definition at line 71 of file wall.hxx.
References maColor.
Referenced by TabPage::Draw(), Dialog::Draw(), OutputDevice::DrawBitmapWallpaper(), OutputDevice::DrawColorWallpaper(), OutputDevice::DrawCtrlText(), DecorationView::DrawHighlightFrame(), vcl::PDFWriterImpl::drawWallpaper(), OutputDevice::GetBackgroundColor(), vcl::WindowOutputDevice::GetBackgroundColor(), vcl::Window::GetDisplayBackground(), OutputDevice::ImplDrawText(), GDIMetaFile::ImplExchangeColors(), Calendar::ImplFormat(), TextView::ImpPaint(), IconView::PaintEntry(), SvxIconChoiceCtrl_Impl::PaintEntry(), SvTreeListBox::PaintEntry1(), OutputDevice::SetBackground(), SvtIconChoiceCtrl::SetBackground(), SvxIconChoiceCtrl_Impl::ShowFocus(), SvInplaceEdit2::SvInplaceEdit2(), and WMFWriter::WriteRecords().
Gradient Wallpaper::GetGradient | ( | ) | const |
Definition at line 203 of file wall.cxx.
References ApplicationGradient, ImplGetApplicationGradient(), meStyle, and mpGradient.
Referenced by OutputDevice::DrawGradientWallpaper(), vcl::PDFWriterImpl::drawWallpaper(), and GDIMetaFile::ImplExchangeColors().
|
inline |
Definition at line 85 of file wall.hxx.
Referenced by OutputDevice::DrawBitmapWallpaper(), and vcl::PDFWriterImpl::drawWallpaper().
|
inline |
Definition at line 74 of file wall.hxx.
Referenced by OutputDevice::DrawBitmapWallpaper(), vcl::PDFWriterImpl::drawWallpaper(), OutputDevice::DrawWallpaper(), OutputDevice::SetBackground(), and SvtIconChoiceCtrl::SetBackground().
|
staticprivate |
Definition at line 218 of file wall.cxx.
References Application::GetSettings(), Gradient::SetAngle(), Gradient::SetEndColor(), Gradient::SetStartColor(), and Gradient::SetStyle().
Referenced by GetGradient(), and SetStyle().
const BitmapEx * Wallpaper::ImplGetCachedBitmap | ( | ) | const |
Definition at line 146 of file wall.cxx.
References BitmapEx::IsEmpty(), and maCache.
Referenced by OutputDevice::DrawBitmapWallpaper().
void Wallpaper::ImplReleaseCachedBitmap | ( | ) | const |
Definition at line 151 of file wall.cxx.
References maCache, and BitmapEx::SetEmpty().
Referenced by OutputDevice::DrawBitmapWallpaper().
void Wallpaper::ImplSetCachedBitmap | ( | const BitmapEx & | rBmp | ) | const |
Definition at line 141 of file wall.cxx.
References maCache.
Referenced by OutputDevice::DrawBitmapWallpaper().
bool Wallpaper::IsBitmap | ( | ) | const |
Definition at line 189 of file wall.cxx.
References BitmapEx::IsEmpty(), and maBitmap.
Referenced by PaintHelper::DoPaint(), TabPage::Draw(), Dialog::Draw(), DecorationView::DrawHighlightFrame(), vcl::PDFWriterImpl::drawWallpaper(), OutputDevice::DrawWallpaper(), vcl::Window::GetDisplayBackground(), ComboBox::GetDisplayBackground(), GDIMetaFile::ImplExchangeColors(), OutputDevice::SetBackground(), SvtIconChoiceCtrl::SetBackground(), and vcl::Window::UpdateSettings().
|
inline |
Definition at line 98 of file wall.hxx.
References COL_TRANSPARENT(), and NONE.
Referenced by SvtIconChoiceCtrl::SetBackground().
bool Wallpaper::IsFixed | ( | ) | const |
Definition at line 237 of file wall.cxx.
References BitmapEx::IsEmpty(), maBitmap, meStyle, mpGradient, and NONE.
bool Wallpaper::IsGradient | ( | ) | const |
Definition at line 213 of file wall.cxx.
References mpGradient.
Referenced by OutputDevice::DrawBitmapWallpaper(), DecorationView::DrawHighlightFrame(), vcl::PDFWriterImpl::drawWallpaper(), OutputDevice::DrawWallpaper(), vcl::Window::GetDisplayBackground(), ComboBox::GetDisplayBackground(), GDIMetaFile::ImplExchangeColors(), OutputDevice::SetBackground(), and vcl::Window::UpdateSettings().
bool Wallpaper::IsRect | ( | ) | const |
Definition at line 232 of file wall.cxx.
References tools::Rectangle::IsEmpty(), and maRect.
Referenced by OutputDevice::DrawBitmapWallpaper(), and vcl::PDFWriterImpl::drawWallpaper().
bool Wallpaper::IsScrollable | ( | ) | const |
Definition at line 245 of file wall.cxx.
References BitmapEx::IsEmpty(), maBitmap, meStyle, mpGradient, NONE, and Tile.
Referenced by SvxIconChoiceCtrl_Impl::MakeVisible(), and SvtIconChoiceCtrl::SetBackground().
|
inline |
Definition at line 95 of file wall.hxx.
References operator==().
bool Wallpaper::operator== | ( | const Wallpaper & | rWallpaper | ) | const |
Definition at line 261 of file wall.cxx.
References maBitmap, maColor, maRect, meStyle, and mpGradient.
Referenced by operator!=().
void Wallpaper::SetBitmap | ( | const BitmapEx & | rBitmap | ) |
Definition at line 175 of file wall.cxx.
References ApplicationGradient, maBitmap, maCache, meStyle, NONE, BitmapEx::SetEmpty(), and Tile.
Referenced by GDIMetaFile::ImplExchangeColors().
void Wallpaper::SetColor | ( | const Color & | rColor | ) |
Definition at line 156 of file wall.cxx.
References ApplicationGradient, maCache, maColor, meStyle, NONE, BitmapEx::SetEmpty(), and Tile.
Referenced by MenuBarWindow::ApplySettings(), GDIMetaFile::ImplExchangeColors(), IconView::PaintEntry(), SvTreeListBox::PaintEntry1(), and SvtIconChoiceCtrl::SetBackground().
void Wallpaper::SetGradient | ( | const Gradient & | rGradient | ) |
Definition at line 194 of file wall.cxx.
References ApplicationGradient, maCache, meStyle, mpGradient, NONE, BitmapEx::SetEmpty(), and Tile.
Referenced by GDIMetaFile::ImplExchangeColors(), and SetStyle().
|
inline |
Definition at line 84 of file wall.hxx.
Referenced by ImplBorderWindow::Resize(), and SvtIconChoiceCtrl::SetBackground().
void Wallpaper::SetStyle | ( | WallpaperStyle | eStyle | ) |
Definition at line 165 of file wall.cxx.
References ApplicationGradient, ImplGetApplicationGradient(), meStyle, and SetGradient().
Referenced by MenuBarWindow::ApplySettings(), ImplBorderWindow::Resize(), SvtIconChoiceCtrl::SetBackground(), and NotebookBar::UpdateBackground().
|
private |
Definition at line 108 of file wall.hxx.
Referenced by GetBitmap(), IsBitmap(), IsFixed(), IsScrollable(), operator==(), SetBitmap(), and Wallpaper().
|
mutableprivate |
Definition at line 109 of file wall.hxx.
Referenced by ImplGetCachedBitmap(), ImplReleaseCachedBitmap(), ImplSetCachedBitmap(), SetBitmap(), SetColor(), and SetGradient().
|
private |
Definition at line 111 of file wall.hxx.
Referenced by operator==(), SetColor(), and Wallpaper().
|
private |
Definition at line 107 of file wall.hxx.
Referenced by IsRect(), and operator==().
|
private |
Definition at line 112 of file wall.hxx.
Referenced by GetGradient(), IsFixed(), IsScrollable(), operator==(), SetBitmap(), SetColor(), SetGradient(), SetStyle(), and Wallpaper().
|
private |
Definition at line 110 of file wall.hxx.
Referenced by GetGradient(), IsFixed(), IsGradient(), IsScrollable(), operator==(), and SetGradient().