LibreOffice Module vcl (master) 1
|
#include <svlbitm.hxx>
Public Member Functions | |
SvLBoxContextBmp (const Image &aBmp1, const Image &aBmp2, bool bExpanded) | |
SvLBoxContextBmp () | |
virtual | ~SvLBoxContextBmp () override |
virtual SvLBoxItemType | GetType () const override |
virtual void | InitViewData (SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr) override |
virtual void | Paint (const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry) override |
virtual std::unique_ptr< SvLBoxItem > | Clone (SvLBoxItem const *pSource) const override |
void | SetModeImages (const Image &rBitmap1, const Image &rBitmap2) |
void | SetBitmap1 (const Image &rImage) |
void | SetBitmap2 (const Image &rImage) |
const Image & | GetBitmap1 () const |
const Image & | GetBitmap2 () const |
Public Member Functions inherited from SvLBoxItem | |
SvLBoxItem () | |
virtual | ~SvLBoxItem () |
virtual SvLBoxItemType | GetType () const =0 |
virtual int | CalcWidth (const SvTreeListBox *pView) const |
int | GetWidth (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const |
int | GetWidth (const SvTreeListBox *pView, const SvViewDataEntry *pData, sal_uInt16 nItemPos) const |
int | GetHeight (const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const |
void | Enable (bool bEnabled) |
bool | isEnable () const |
virtual void | Paint (const Point &rPos, SvTreeListBox &rOutDev, vcl::RenderContext &rRenderContext, const SvViewDataEntry *pView, const SvTreeListEntry &rEntry)=0 |
virtual void | InitViewData (SvTreeListBox *pView, SvTreeListEntry *pEntry, SvViewDataItem *pViewData=nullptr)=0 |
virtual std::unique_ptr< SvLBoxItem > | Clone (SvLBoxItem const *pSource) const =0 |
Private Member Functions | |
Image & | implGetImageStore (bool bFirst) |
Private Attributes | |
std::unique_ptr< SvLBoxContextBmp_Impl > | m_pImpl |
Additional Inherited Members | |
Static Public Member Functions inherited from SvLBoxItem | |
static int | GetHeight (const SvViewDataEntry *pData, sal_uInt16 nItemPos) |
Protected Attributes inherited from SvLBoxItem | |
bool | mbDisabled |
Definition at line 232 of file svlbitm.hxx.
Definition at line 465 of file svlbitm.cxx.
References m_pImpl, m_pImpl, and SetModeImages().
SvLBoxContextBmp::SvLBoxContextBmp | ( | ) |
Definition at line 474 of file svlbitm.cxx.
|
overridevirtual |
Definition at line 480 of file svlbitm.cxx.
|
overridevirtual |
|
inline |
Definition at line 275 of file svlbitm.hxx.
References implGetImageStore().
Referenced by SvTreeListBox::CloneEntry(), extractPngString(), SvTreeListBox::GetCollapsedEntryBmp(), lcl_DumpEntryAndSiblings(), SvTreeListBox::ModelNotification(), and SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry().
|
inline |
Definition at line 281 of file svlbitm.hxx.
References implGetImageStore().
Referenced by SvTreeListBox::CloneEntry(), SvTreeListBox::GetExpandedEntryBmp(), lcl_DumpEntryAndSiblings(), SvTreeListBox::ModelNotification(), and SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry().
|
overridevirtual |
|
private |
Definition at line 495 of file svlbitm.cxx.
References m_pImpl.
Referenced by GetBitmap1(), GetBitmap2(), Paint(), SetBitmap1(), and SetBitmap2().
|
overridevirtual |
Implements SvLBoxItem.
Definition at line 502 of file svlbitm.cxx.
References SvTreeListBox::GetViewDataItem(), Size::Height(), m_pImpl, SvViewDataItem::mnHeight, SvViewDataItem::mnWidth, and Size::Width().
|
overridevirtual |
Implements SvLBoxItem.
Definition at line 512 of file svlbitm.cxx.
References Disable, OutputDevice::DrawImage(), SvTreeListEntry::GetFlags(), implGetImageStore(), vcl::Window::IsEnabled(), SvViewDataEntry::IsExpanded(), m_pImpl, SvLBoxItem::mbDisabled, NONE, SemiTransparent, and SEMITRANSPARENT.
|
inline |
Definition at line 265 of file svlbitm.hxx.
References implGetImageStore().
Referenced by SvTreeListBox::SetCollapsedEntryBmp().
|
inline |
Definition at line 270 of file svlbitm.hxx.
References implGetImageStore().
Referenced by SvTreeListBox::SetExpandedEntryBmp().
|
private |
Definition at line 234 of file svlbitm.hxx.
Referenced by Clone(), implGetImageStore(), InitViewData(), Paint(), SetModeImages(), and SvLBoxContextBmp().