LibreOffice Module vcl (master) 1
|
#include <imivctl.hxx>
Public Member Functions | |
IcnCursor_Impl (SvxIconChoiceCtrl_Impl *pOwner) | |
~IcnCursor_Impl () | |
void | Clear () |
SvxIconChoiceCtrlEntry * | GoLeftRight (SvxIconChoiceCtrlEntry *, bool bRight) |
SvxIconChoiceCtrlEntry * | GoUpDown (SvxIconChoiceCtrlEntry *, bool bDown) |
SvxIconChoiceCtrlEntry * | GoPageUpDown (SvxIconChoiceCtrlEntry *, bool bDown) |
Private Member Functions | |
void | SetDeltas () |
void | ImplCreate () |
void | Create () |
sal_uInt16 | GetSortListPos (SvxIconChoiceCtrlEntryPtrVec &rList, tools::Long nValue, bool bVertical) |
SvxIconChoiceCtrlEntry * | SearchCol (sal_uInt16 nCol, sal_uInt16 nTop, sal_uInt16 nBottom, bool bDown, bool bSimple) |
SvxIconChoiceCtrlEntry * | SearchRow (sal_uInt16 nRow, sal_uInt16 nLeft, sal_uInt16 nRight, bool bRight, bool bSimple) |
Private Attributes | |
SvxIconChoiceCtrl_Impl * | pView |
std::unique_ptr< IconChoiceMap > | xColumns |
std::unique_ptr< IconChoiceMap > | xRows |
tools::Long | nCols |
tools::Long | nRows |
short | nDeltaWidth |
short | nDeltaHeight |
SvxIconChoiceCtrlEntry * | pCurEntry |
Definition at line 423 of file imivctl.hxx.
|
explicit |
Definition at line 23 of file imivctl2.cxx.
References nCols, nDeltaHeight, nDeltaWidth, nRows, pCurEntry, pOwner, and pView.
IcnCursor_Impl::~IcnCursor_Impl | ( | ) |
Definition at line 33 of file imivctl2.cxx.
void IcnCursor_Impl::Clear | ( | ) |
Definition at line 102 of file imivctl2.cxx.
References nDeltaHeight, nDeltaWidth, pCurEntry, xColumns, and xRows.
|
inlineprivate |
Definition at line 435 of file imivctl.hxx.
References ImplCreate(), and xColumns.
Referenced by GoLeftRight(), and GoUpDown().
|
private |
Definition at line 37 of file imivctl2.cxx.
References SvxIconChoiceCtrl_Impl::GetEntryBoundRect(), tools::Rectangle::Left(), nCount, nValue, pView, and tools::Rectangle::Top().
Referenced by ImplCreate().
SvxIconChoiceCtrlEntry * IcnCursor_Impl::GoLeftRight | ( | SvxIconChoiceCtrlEntry * | pCtrlEntry, |
bool | bRight | ||
) |
Definition at line 284 of file imivctl2.cxx.
References Create(), DBG_ASSERT, nCols, nRows, SvxIconChoiceCtrlEntry::nX, SvxIconChoiceCtrlEntry::nY, pCurEntry, SearchCol(), and SearchRow().
SvxIconChoiceCtrlEntry * IcnCursor_Impl::GoPageUpDown | ( | SvxIconChoiceCtrlEntry * | pStart, |
bool | bDown | ||
) |
Definition at line 332 of file imivctl2.cxx.
References SvxIconChoiceCtrl_Impl::aOutputSize, get(), SvxIconChoiceCtrl_Impl::GetEntryBoundRect(), SvxIconChoiceCtrl_Impl::GetEntryListPos(), GoUpDown(), Size::Height(), SvxIconChoiceCtrl_Impl::IsAutoArrange(), LONG_MAX, SvxIconChoiceCtrl_Impl::maEntries, SvxIconChoiceCtrl_Impl::nGridDX, SvxIconChoiceCtrl_Impl::nGridDY, nPos, SvxIconChoiceCtrl_Impl::nWinBits, pView, tools::Rectangle::Top(), WB_ALIGN_TOP, and Size::Width().
SvxIconChoiceCtrlEntry * IcnCursor_Impl::GoUpDown | ( | SvxIconChoiceCtrlEntry * | pCtrlEntry, |
bool | bDown | ||
) |
Definition at line 392 of file imivctl2.cxx.
References Create(), DBG_ASSERT, SvxIconChoiceCtrl_Impl::GetEntryListPos(), SvxIconChoiceCtrl_Impl::IsAutoArrange(), SvxIconChoiceCtrl_Impl::maEntries, nCols, nPos, nRows, SvxIconChoiceCtrl_Impl::nWinBits, SvxIconChoiceCtrlEntry::nX, SvxIconChoiceCtrlEntry::nY, pCurEntry, pView, SearchCol(), SearchRow(), and WB_ALIGN_TOP.
Referenced by GoPageUpDown().
|
private |
Definition at line 63 of file imivctl2.cxx.
References tools::Rectangle::Bottom(), SvxIconChoiceCtrl_Impl::CalcBmpRect(), SvxIconChoiceCtrl_Impl::CheckBoundingRects(), DBG_ASSERT, GetSortListPos(), tools::Rectangle::Left(), SvxIconChoiceCtrl_Impl::maEntries, nCols, nCount, nDeltaHeight, nDeltaWidth, nRows, SvxIconChoiceCtrlEntry::nX, SvxIconChoiceCtrlEntry::nY, pView, tools::Rectangle::Right(), SetDeltas(), tools::Rectangle::Top(), xColumns, and xRows.
Referenced by Create().
|
private |
Definition at line 114 of file imivctl2.cxx.
References DBG_ASSERT, SvxIconChoiceCtrl_Impl::GetEntryBoundRect(), LONG_MAX, nCount, SvxIconChoiceCtrlEntry::nY, pCurEntry, pView, tools::Rectangle::Top(), and xColumns.
Referenced by GoLeftRight(), and GoUpDown().
|
private |
Definition at line 190 of file imivctl2.cxx.
References DBG_ASSERT, SvxIconChoiceCtrl_Impl::GetEntryBoundRect(), tools::Rectangle::Left(), LONG_MAX, nCount, SvxIconChoiceCtrlEntry::nX, pCurEntry, pView, and xRows.
Referenced by GoLeftRight(), and GoUpDown().
|
private |
Definition at line 451 of file imivctl2.cxx.
References SvxIconChoiceCtrl_Impl::aVirtOutputSize, Size::Height(), nCols, nDeltaHeight, nDeltaWidth, SvxIconChoiceCtrl_Impl::nGridDX, SvxIconChoiceCtrl_Impl::nGridDY, nRows, pView, SAL_INFO, and Size::Width().
Referenced by ImplCreate().
|
private |
Definition at line 428 of file imivctl.hxx.
Referenced by GoLeftRight(), GoUpDown(), IcnCursor_Impl(), ImplCreate(), and SetDeltas().
|
private |
Definition at line 431 of file imivctl.hxx.
Referenced by Clear(), IcnCursor_Impl(), ImplCreate(), and SetDeltas().
|
private |
Definition at line 430 of file imivctl.hxx.
Referenced by Clear(), IcnCursor_Impl(), ImplCreate(), and SetDeltas().
|
private |
Definition at line 429 of file imivctl.hxx.
Referenced by GoLeftRight(), GoUpDown(), IcnCursor_Impl(), ImplCreate(), and SetDeltas().
|
private |
Definition at line 432 of file imivctl.hxx.
Referenced by Clear(), GoLeftRight(), GoUpDown(), IcnCursor_Impl(), SearchCol(), and SearchRow().
|
private |
Definition at line 425 of file imivctl.hxx.
Referenced by GetSortListPos(), GoPageUpDown(), GoUpDown(), IcnCursor_Impl(), ImplCreate(), SearchCol(), SearchRow(), and SetDeltas().
|
private |
Definition at line 426 of file imivctl.hxx.
Referenced by Clear(), Create(), ImplCreate(), and SearchCol().
|
private |
Definition at line 427 of file imivctl.hxx.
Referenced by Clear(), ImplCreate(), and SearchRow().