LibreOffice Module sd (master) 1
|
Public Member Functions | |
CustomAnimationListEntryItem (OUString aDescription, CustomAnimationEffectPtr pEffect) | |
const CustomAnimationEffectPtr & | getEffect () const |
Size | GetSize (const vcl::RenderContext &rRenderContext) |
void | Paint (vcl::RenderContext &rRenderContext, const ::tools::Rectangle &rRect, bool bSelected) |
void | PaintEffect (vcl::RenderContext &rRenderContext, const ::tools::Rectangle &rRect, bool bSelected) |
void | PaintTrigger (vcl::RenderContext &rRenderContext, const ::tools::Rectangle &rRect) |
Static Public Attributes | |
static const ::tools::Long | nIconWidth = 19 |
static const ::tools::Long | nItemMinHeight = 38 |
Private Attributes | |
OUString | msDescription |
OUString | msEffectName |
CustomAnimationEffectPtr | mpEffect |
Definition at line 228 of file CustomAnimationList.cxx.
sd::CustomAnimationListEntryItem::CustomAnimationListEntryItem | ( | OUString | aDescription, |
CustomAnimationEffectPtr | pEffect | ||
) |
Definition at line 250 of file CustomAnimationList.cxx.
References sd::CustomAnimationPresets::getCustomAnimationPresets(), mpEffect, msEffectName, and SdResId().
|
inline |
Definition at line 233 of file CustomAnimationList.cxx.
References mpEffect.
Referenced by sd::CustomAnimationList::ExecuteDrop(), sd::CustomAnimationList::getSelection(), sd::IMPL_LINK(), sd::CustomAnimationList::isExpanded(), sd::CustomAnimationList::isVisible(), sd::CustomAnimationList::select(), sd::selectShape(), and sd::CustomAnimationList::update().
Size sd::CustomAnimationListEntryItem::GetSize | ( | const vcl::RenderContext & | rRenderContext | ) |
Definition at line 295 of file CustomAnimationList.cxx.
References OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), Size::Height(), msDescription, msEffectName, nIconWidth, nItemMinHeight, and Size::setHeight().
Referenced by sd::IMPL_STATIC_LINK().
void sd::CustomAnimationListEntryItem::Paint | ( | vcl::RenderContext & | rRenderContext, |
const ::tools::Rectangle & | rRect, | ||
bool | bSelected | ||
) |
Definition at line 419 of file CustomAnimationList.cxx.
References mpEffect, PaintEffect(), and PaintTrigger().
Referenced by sd::IMPL_STATIC_LINK().
void sd::CustomAnimationListEntryItem::PaintEffect | ( | vcl::RenderContext & | rRenderContext, |
const ::tools::Rectangle & | rRect, | ||
bool | bSelected | ||
) |
Definition at line 342 of file CustomAnimationList.cxx.
References Point::AdjustX(), Point::AdjustY(), OutputDevice::DrawImage(), OutputDevice::DrawText(), StyleSettings::GetDialogTextColor(), OutputDevice::GetEllipsisString(), StyleSettings::GetHighlightTextColor(), Application::GetSettings(), Image::GetSizePixel(), AllSettings::GetStyleSettings(), OutputDevice::GetTextHeight(), Size::Height(), mpEffect, msDescription, msEffectName, nIconWidth, OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::SetTextColor(), and vcl::TEXTCOLOR.
Referenced by Paint().
void sd::CustomAnimationListEntryItem::PaintTrigger | ( | vcl::RenderContext & | rRenderContext, |
const ::tools::Rectangle & | rRect | ||
) |
Definition at line 307 of file CustomAnimationList.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), OutputDevice::DrawPixel(), OutputDevice::DrawRect(), OutputDevice::DrawText(), StyleSettings::GetDialogColor(), OutputDevice::GetEllipsisString(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), OutputDevice::GetTextHeight(), tools::Rectangle::GetWidth(), StyleSettings::GetWindowColor(), Size::Height(), tools::Rectangle::Left(), OutputDevice::LogicToPixel(), msDescription, OutputDevice::Pop(), OutputDevice::Push(), tools::Rectangle::Right(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Width.
Referenced by Paint().
|
private |
Definition at line 243 of file CustomAnimationList.cxx.
Referenced by CustomAnimationListEntryItem(), getEffect(), Paint(), and PaintEffect().
|
private |
Definition at line 241 of file CustomAnimationList.cxx.
Referenced by GetSize(), PaintEffect(), and PaintTrigger().
|
private |
Definition at line 242 of file CustomAnimationList.cxx.
Referenced by CustomAnimationListEntryItem(), GetSize(), and PaintEffect().
|
static |
Definition at line 246 of file CustomAnimationList.cxx.
Referenced by GetSize(), sd::IMPL_STATIC_LINK(), and PaintEffect().
|
static |
Definition at line 247 of file CustomAnimationList.cxx.
Referenced by GetSize(), and sd::IMPL_STATIC_LINK().