Lines Matching refs:pItem
1295 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemBits() local
1297 if ( pItem ) in GetItemBits()
1298 return pItem->mnBits; in GetItemBits()
1320 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemData() local
1322 if ( pItem ) in GetItemData()
1323 return pItem->mpUserData; in GetItemData()
1336 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in SetItemImage() local
1340 Size aOldSize = pItem->maImage.GetSizePixel(); in SetItemImage()
1341 pItem->maImage = rImage; in SetItemImage()
1342 if ( aOldSize != pItem->maImage.GetSizePixel() ) in SetItemImage()
1348 pItem->maImage = rImage; in SetItemImage()
1387 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in SetItemImageAngle() local
1388 Size aOldSize = pItem->maImage.GetSizePixel(); in SetItemImageAngle()
1390 long nDeltaAngle = (nAngle10 - pItem->mnImageAngle) % 3600; in SetItemImageAngle()
1394 pItem->mnImageAngle = nAngle10; in SetItemImageAngle()
1395 if( nDeltaAngle && !!pItem->maImage ) in SetItemImageAngle()
1397 pItem->maImage = ImplRotImage( pItem->maImage, nDeltaAngle ); in SetItemImageAngle()
1398 if( !!pItem->maHighImage ) in SetItemImageAngle()
1399 pItem->maHighImage = ImplRotImage( pItem->maHighImage, nDeltaAngle ); in SetItemImageAngle()
1404 if ( aOldSize != pItem->maImage.GetSizePixel() ) in SetItemImageAngle()
1430 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in SetItemImageMirrorMode() local
1432 if( ( pItem->mbMirrorMode && ! bMirror ) || in SetItemImageMirrorMode()
1433 ( ! pItem->mbMirrorMode && bMirror ) in SetItemImageMirrorMode()
1436 pItem->mbMirrorMode = bMirror ? true : false; in SetItemImageMirrorMode()
1437 if( !!pItem->maImage ) in SetItemImageMirrorMode()
1439 pItem->maImage = ImplMirrorImage( pItem->maImage ); in SetItemImageMirrorMode()
1440 if( !!pItem->maHighImage ) in SetItemImageMirrorMode()
1441 pItem->maHighImage = ImplMirrorImage( pItem->maHighImage ); in SetItemImageMirrorMode()
1454 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemImage() local
1456 if ( pItem ) in GetItemImage()
1457 return pItem->maImage; in GetItemImage()
1466 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemImageAngle() local
1468 if ( pItem ) in GetItemImageAngle()
1469 return pItem->mnImageAngle; in GetItemImageAngle()
1478 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemImageMirrorMode() local
1480 if ( pItem ) in GetItemImageMirrorMode()
1481 return pItem->mbMirrorMode; in GetItemImageMirrorMode()
1490 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetItemHighImage() local
1491 if ( pItem ) in SetItemHighImage()
1493 DBG_ASSERT( (pItem->maImage.GetSizePixel() == rImage.GetSizePixel()) || in SetItemHighImage()
1495 pItem->maHighImage = rImage; in SetItemHighImage()
1503 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemHighImage() local
1505 if ( pItem ) in GetItemHighImage()
1506 return pItem->maHighImage; in GetItemHighImage()
1519 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in SetItemText() local
1522 ((meButtonType != BUTTON_SYMBOL) || !pItem->maImage) ) in SetItemText()
1524 long nOldWidth = GetCtrlTextWidth( pItem->maText ); in SetItemText()
1525 pItem->maText = ImplConvertMenuString( rText ); in SetItemText()
1527 if ( nOldWidth != GetCtrlTextWidth( pItem->maText ) ) in SetItemText()
1533 pItem->maText = ImplConvertMenuString( rText ); in SetItemText()
1547 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemText() local
1549 if ( pItem ) in GetItemText()
1550 return pItem->maText; in GetItemText()
1563 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in SetItemWindow() local
1564 pItem->mpWindow = pNewWindow; in SetItemWindow()
1576 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemWindow() local
1578 if ( pItem ) in GetItemWindow()
1579 return pItem->mpWindow; in GetItemWindow()
1691 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in SetItemState() local
1694 if ( pItem->meState != eState ) in SetItemState()
1697 if ( (eState == STATE_CHECK) && (pItem->mnBits & TIB_AUTOCHECK) && in SetItemState()
1698 (pItem->mnBits & TIB_RADIOCHECK) ) in SetItemState()
1733 pItem->meState = eState; in SetItemState()
1751 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemState() local
1753 if ( pItem ) in GetItemState()
1754 return pItem->meState; in GetItemState()
1767 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in EnableItem() local
1770 if ( pItem->mbEnabled != bEnable ) in EnableItem()
1772 pItem->mbEnabled = bEnable; in EnableItem()
1775 if ( pItem->mpWindow ) in EnableItem()
1776 pItem->mpWindow->Enable( pItem->mbEnabled ); in EnableItem()
1795 ImplToolItem* pItem = ImplGetItem( nItemId ); in IsItemEnabled() local
1797 if ( pItem ) in IsItemEnabled()
1798 return pItem->mbEnabled; in IsItemEnabled()
1812 ImplToolItem* pItem = &mpData->m_aItems[nPos]; in ShowItem() local
1813 if ( pItem->mbVisible != bVisible ) in ShowItem()
1815 pItem->mbVisible = bVisible; in ShowItem()
1825 ImplToolItem* pItem = ImplGetItem( nItemId ); in IsItemVisible() local
1827 if ( pItem ) in IsItemVisible()
1828 return pItem->mbVisible; in IsItemVisible()
1840 ImplToolItem* pItem = ImplGetItem( nItemId ); in IsItemReallyVisible() local
1842 if ( pItem && pItem->mbVisible && in IsItemReallyVisible()
1843 !pItem->maRect.IsEmpty() && aRect.IsOver( pItem->maRect ) ) in IsItemReallyVisible()
1855 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetItemCommand() local
1857 if ( pItem ) in SetItemCommand()
1858 pItem->maCommandStr = rCommand; in SetItemCommand()
1865 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetItemCommand() local
1867 if ( pItem ) in GetItemCommand()
1868 return pItem->maCommandStr; in GetItemCommand()
1877 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetQuickHelpText() local
1879 if ( pItem ) in SetQuickHelpText()
1880 pItem->maQuickHelpText = rText; in SetQuickHelpText()
1887 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetQuickHelpText() local
1889 if ( pItem ) in GetQuickHelpText()
1890 return pItem->maQuickHelpText; in GetQuickHelpText()
1899 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetHelpText() local
1901 if ( pItem ) in SetHelpText()
1902 pItem->maHelpText = rText; in SetHelpText()
1916 ImplToolItem* pItem = ImplGetItem( nItemId ); in SetHelpId() local
1918 if ( pItem ) in SetHelpId()
1919 pItem->maHelpId = rHelpId; in SetHelpId()
1928 ImplToolItem* pItem = ImplGetItem( nItemId ); in GetHelpId() local
1930 if ( pItem ) in GetHelpId()
1932 if ( pItem->maHelpId.getLength() ) in GetHelpId()
1933 aRet = pItem->maHelpId; in GetHelpId()
1935 aRet = ::rtl::OUStringToOString( pItem->maCommandStr, RTL_TEXTENCODING_UTF8 ); in GetHelpId()
2009 ImplToolItem* pItem = &mpData->m_aItems[i]; in ImplFillLayoutData() local
2012 if ( !pItem->maRect.IsEmpty() ) in ImplFillLayoutData()