Home
last modified time | relevance | path

Searched refs:checkRect (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sci/graphics/
H A Dcompare.cpp91 if (curRect.right > checkRect.left && in canBeHereCheckRectList()
92 curRect.left < checkRect.right && in canBeHereCheckRectList()
93 curRect.bottom > checkRect.top && in canBeHereCheckRectList()
94 curRect.top < checkRect.bottom) in canBeHereCheckRectList()
132 Common::Rect checkRect; in kernelCanBeHere() local
136 checkRect.top = readSelectorValue(_segMan, curObject, SELECTOR(brTop)); in kernelCanBeHere()
142 …kCan(t)BeHere - invalid rect %d, %d -> %d, %d", checkRect.left, checkRect.top, checkRect.right, ch… in kernelCanBeHere()
146 Common::Rect adjustedRect = _coordAdjuster->onControl(checkRect); in kernelCanBeHere()
165 Common::Rect checkRect; in kernelCantBeHere32() local
173 checkRect.top = readSelectorValue(_segMan, curObject, SELECTOR(brTop)); in kernelCantBeHere32()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/sci/graphics/
H A Dcompare.cpp91 if (curRect.right > checkRect.left && in canBeHereCheckRectList()
92 curRect.left < checkRect.right && in canBeHereCheckRectList()
93 curRect.bottom > checkRect.top && in canBeHereCheckRectList()
94 curRect.top < checkRect.bottom) in canBeHereCheckRectList()
132 Common::Rect checkRect; in kernelCanBeHere() local
136 checkRect.top = readSelectorValue(_segMan, curObject, SELECTOR(brTop)); in kernelCanBeHere()
142 …kCan(t)BeHere - invalid rect %d, %d -> %d, %d", checkRect.left, checkRect.top, checkRect.right, ch… in kernelCanBeHere()
146 Common::Rect adjustedRect = _coordAdjuster->onControl(checkRect); in kernelCanBeHere()
165 Common::Rect checkRect; in kernelCantBeHere32() local
173 checkRect.top = readSelectorValue(_segMan, curObject, SELECTOR(brTop)); in kernelCantBeHere32()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/jpeg/
H A DJpegReaderTest.cxx119 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), nMaxDelta)); in testReadRGB()
120 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0xff, 0x00, 0x00), nMaxDelta)); in testReadRGB()
121 CPPUNIT_ASSERT(checkRect(aBitmap, 2, 8, 8, Color(0x00, 0xff, 0x00), nMaxDelta)); in testReadRGB()
122 CPPUNIT_ASSERT(checkRect(aBitmap, 3, 8, 8, Color(0x00, 0x00, 0xff), nMaxDelta)); in testReadRGB()
138 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), nMaxDelta)); in testReadGray()
139 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0x36, 0x36, 0x36), nMaxDelta)); in testReadGray()
140 CPPUNIT_ASSERT(checkRect(aBitmap, 2, 8, 8, Color(0xb6, 0xb6, 0xb6), nMaxDelta)); in testReadGray()
155 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), maxDelta)); in testReadCMYK()
156 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0xff, 0x00, 0x00), maxDelta)); in testReadCMYK()
157 CPPUNIT_ASSERT(checkRect(aBitmap, 2, 8, 8, Color(0x00, 0xff, 0x00), maxDelta)); in testReadCMYK()
[all …]
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/
H A DCGUICheckBox.cpp137 core::rect<s32> checkRect(AbsoluteRect.UpperLeftCorner.X, in draw() local
141 checkRect.LowerRightCorner.X = checkRect.UpperLeftCorner.X + height; in draw()
142 checkRect.LowerRightCorner.Y = checkRect.UpperLeftCorner.Y + height; in draw()
148 false, true, checkRect, &AbsoluteClippingRect); in draw()
152 skin->drawIcon(this, EGDI_CHECK_BOX_CHECKED, checkRect.getCenter(), in draw()
157 checkRect = AbsoluteRect; in draw()
158 checkRect.UpperLeftCorner.X += height + 5; in draw()
163 font->draw(Text.c_str(), checkRect, in draw()
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/
H A DCGUICheckBox.cpp134 core::rect<s32> checkRect(AbsoluteRect.UpperLeftCorner.X, in draw() local
138 checkRect.LowerRightCorner.X = checkRect.UpperLeftCorner.X + height; in draw()
139 checkRect.LowerRightCorner.Y = checkRect.UpperLeftCorner.Y + height; in draw()
145 false, true, checkRect, &AbsoluteClippingRect); in draw()
149 skin->drawIcon(this, EGDI_CHECK_BOX_CHECKED, checkRect.getCenter(), in draw()
154 checkRect = AbsoluteRect; in draw()
155 checkRect.UpperLeftCorner.X += height + 5; in draw()
160 font->draw(Text.c_str(), checkRect, in draw()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/jpeg/
H A DJpegReaderTest.cxx54 static bool checkRect(Bitmap& rBitmap, int aLayerNumber, tools::Long nAreaHeight, in checkRect() function
126 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), nMaxDelta)); in testReadRGB()
127 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0xff, 0x00, 0x00), nMaxDelta)); in testReadRGB()
128 CPPUNIT_ASSERT(checkRect(aBitmap, 2, 8, 8, Color(0x00, 0xff, 0x00), nMaxDelta)); in testReadRGB()
129 CPPUNIT_ASSERT(checkRect(aBitmap, 3, 8, 8, Color(0x00, 0x00, 0xff), nMaxDelta)); in testReadRGB()
146 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), nMaxDelta)); in testReadGray()
147 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0x36, 0x36, 0x36), nMaxDelta)); in testReadGray()
163 CPPUNIT_ASSERT(checkRect(aBitmap, 0, 8, 8, Color(0xff, 0xff, 0xff), maxDelta)); in testReadCMYK()
164 CPPUNIT_ASSERT(checkRect(aBitmap, 1, 8, 8, Color(0xff, 0x00, 0x00), maxDelta)); in testReadCMYK()
165 CPPUNIT_ASSERT(checkRect(aBitmap, 2, 8, 8, Color(0x00, 0xff, 0x00), maxDelta)); in testReadCMYK()
[all …]
/dports/games/dhewm3/dhewm3-1.5.1/neo/tools/common/PropTree/
H A DPropTreeItemCheck.cpp68 checkRect.left = m_rc.left; in BEGIN_MESSAGE_MAP()
69 checkRect.top = m_rc.top + ((m_rc.bottom - m_rc.top)/2)-CHECK_BOX_SIZE/2; in BEGIN_MESSAGE_MAP()
70 checkRect.right = checkRect.left + CHECK_BOX_SIZE; in BEGIN_MESSAGE_MAP()
71 checkRect.bottom = checkRect.top + CHECK_BOX_SIZE; in BEGIN_MESSAGE_MAP()
74 …pDC->DrawFrameControl(&checkRect, DFC_BUTTON, DFCS_BUTTONCHECK | DFCS_FLAT |(checkState ? DFCS_CHE… in BEGIN_MESSAGE_MAP()
/dports/x11-themes/Kvantum/Kvantum-0.20.2/Kvantum/style/
H A DviewItems.cpp137 const bool hasCheck = checkRect->isValid(); in viewItemLayout()
178 h = qMax(checkRect->height(), in viewItemLayout()
198 check.setRect(x+w-checkRect->width(), y, checkRect->width(), h); in viewItemLayout()
205 check.setRect(x+w-checkMargin-checkRect->width(), y, checkRect->width(), h); in viewItemLayout()
218 cw = checkRect->width(); in viewItemLayout()
266 checkRect->width(), in viewItemLayout()
295 checkRect->width(), in viewItemLayout()
327 checkRect->width(), in viewItemLayout()
356 checkRect->width(), in viewItemLayout()
603 *checkRect = check; in viewItemLayout()
[all …]
/dports/astro/kstars/kstars-3.5.6/kstars/tools/
H A Davtplotwidget.cpp42 QRect checkRect(leftPadding(), topPadding(), pixRect().width(), pixRect().height()); in mouseMoveEvent() local
46 if (!checkRect.contains(e->x(), e->y())) in mouseMoveEvent()
48 if (e->x() < checkRect.left()) in mouseMoveEvent()
49 Xcursor = checkRect.left(); in mouseMoveEvent()
50 if (e->x() > checkRect.right()) in mouseMoveEvent()
51 Xcursor = checkRect.right(); in mouseMoveEvent()
52 if (e->y() < checkRect.top()) in mouseMoveEvent()
53 Ycursor = checkRect.top(); in mouseMoveEvent()
54 if (e->y() > checkRect.bottom()) in mouseMoveEvent()
55 Ycursor = checkRect.bottom(); in mouseMoveEvent()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/net/qt5-network/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/x11-toolkits/qt5-widgets/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/devel/qt5-qmake/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/devel/qt5-concurrent/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]
/dports/devel/qt5-buildtools/kde-qtbase-5.15.2p263/src/widgets/itemviews/
H A Dqitemdelegate.cpp167 if (!checkRect.isNull()) in textLayoutBounds()
433 QRect checkRect; in paint() local
438 checkRect = doCheck(opt, opt.rect, value); in paint()
456 drawCheck(painter, opt, checkRect, checkState); in paint()
483 QRect checkRect = rect(option, index, Qt::CheckStateRole); in sizeHint() local
488 return (decorationRect|displayRect|checkRect).size(); in sizeHint()
593 doLayout(opt, &checkRect, &pixmapRect, &textRect, false); in updateEditorGeometry()
835 Q_ASSERT(checkRect && pixmapRect && textRect); in doLayout()
839 const bool hasCheck = checkRect->isValid(); in doLayout()
879 cw = checkRect->width() + 2 * checkMargin; in doLayout()
[all …]

12345678910>>...12