/dports/games/manaplus/manaplus-2.1.3.17/src/unittests/resources/dye/ |
H A D | dyepalette.cc | 100 REQUIRE(palette.mColors.size() == 1); in PRAGMA48() 110 REQUIRE(palette.mColors.size() == 1); in PRAGMA48() 120 REQUIRE(palette.mColors.size() == 2); in PRAGMA48() 135 REQUIRE(palette.mColors.size() == 2); in PRAGMA48() 150 REQUIRE(palette.mColors.size() == 1); in PRAGMA48() 160 REQUIRE(palette.mColors.size() == 1); in PRAGMA48() 170 REQUIRE(palette.mColors.size() == 2); in PRAGMA48() 185 REQUIRE(palette.mColors.size() == 1); in PRAGMA48() 195 REQUIRE(palette.mColors.size() == 2); in PRAGMA48() 210 REQUIRE(palette.mColors.size() == 1); in PRAGMA48() [all …]
|
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/ |
H A D | userpalette.h | 64 return mColors[CAST_SIZE(type)].committedColor; in getCommittedColor() 76 { return mColors[CAST_SIZE(type)].testColor; } in getTestColor() 86 { mColors[CAST_SIZE(type)].testColor = color; } in setTestColor() 111 { mColors[CAST_SIZE(type)].delay = delay; } in setGradientDelay() 119 { return CAST_S32(mColors.size()); } in getNumberOfElements() 164 if (CAST_SIZE(type) >= mColors.size()) in getColor() 168 CAST_U32(mColors.size())); in getColor() 171 Color* col = &mColors[CAST_SIZE(type)].color; in getColor() 187 { return mColors[CAST_SIZE(type)].grad; } in getGradientType() 198 { return mColors[CAST_SIZE(type)].delay; } in getGradientDelay() [all …]
|
H A D | userpalette.cpp | 133 mColors[CAST_SIZE(UserColorId::PC)] = ColorElem(); in UserPalette() 504 FOR_EACH (Colors::const_iterator, col, mColors) in ~UserPalette() 529 Color &color = mColors[CAST_SIZE(type)].color; in setColor() 567 return mColors[i].text; in getElementAt() 572 FOR_EACH (Colors::iterator, i, mColors) in commit() 585 FOR_EACH (Colors::iterator, i, mColors) in rollback() 613 return mColors[i].type; in getColorTypeAt() 645 mColors[CAST_SIZE(type)].set(CAST_S32(type), in addColor() 647 mColors[CAST_SIZE(type)].text = text; in addColor() 663 mColors[CAST_SIZE(type)] = ColorElem(); in addLabel() [all …]
|
/dports/deskutils/birdtray/birdtray-1.9.0/src/ |
H A D | modelaccounttree.cpp | 18 mColors.push_back(settings->mFolderNotificationColors[path]); in ModelAccountTree() 106 painter->fillRect(option.rect.marginsRemoved(QMargins(1, 1, 1, 1)), mColors[index.row()]); in paint() 121 beginInsertRows( QModelIndex(), mColors.size(), mColors.size() + 1 ); in addAccount() 124 mColors.push_back( color ); in addAccount() 135 mColors[ idx.row() ] = color; in editAccount() 143 color = mColors[ idx.row() ]; in getAccount() 150 mColors.removeAt( idx.row() ); in removeAccount() 156 if (mColors.isEmpty()) { in clear() 159 beginRemoveRows( QModelIndex(), 0, mColors.size() - 1 ); in clear() 161 mColors.clear(); in clear() [all …]
|
/dports/cad/openctm/OpenCTM-1.0.3/tools/ |
H A D | off.cpp | 126 aMesh->mColors.resize(numVertices); in Import_OFF() 130 ParseVeretex(line, &aMesh->mVertices[i], &aMesh->mColors[i]); in Import_OFF() 135 Vector4 firstColor = aMesh->mColors[0]; in Import_OFF() 138 if((aMesh->mColors[i].x != firstColor.x) || (aMesh->mColors[i].y != firstColor.y) || in Import_OFF() 139 (aMesh->mColors[i].z != firstColor.z) || (aMesh->mColors[i].w != firstColor.w)) in Import_OFF() 146 aMesh->mColors.clear(); in Import_OFF() 239 …f << " " << aMesh->mColors[i].x << " " << aMesh->mColors[i].y << " " << aMesh->mColors[i].z << " "… in Export_OFF()
|
/dports/games/openmw/openmw-openmw-0.47.0/components/debug/ |
H A D | debugging.hpp | 84 mColors[Error] = Red; in Tee() 85 mColors[Warning] = Yellow; in Tee() 86 mColors[Info] = Reset; in Tee() 87 mColors[Verbose] = DarkGray; in Tee() 88 mColors[Debug] = DarkGray; in Tee() 89 mColors[NoLevel] = Reset; in Tee() 99 out2 << "\033[0;" << mColors[debugLevel] << "m"; in writeImpl() 133 std::map<Level, int> mColors; member in Debug::Tee
|
/dports/games/manaplus/manaplus-2.1.3.17/src/resources/dye/ |
H A D | dyepalette_replaceacolor.cpp | 43 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in PRAGMA48() 44 const size_t sz = mColors.size(); in PRAGMA48() 57 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in PRAGMA48() 103 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceAColorSse2() 104 const size_t sz = mColors.size(); in replaceAColorSse2() 118 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceAColorSse2() 144 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceAColorSse2() 174 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceAColorAvx2() 175 const size_t sz = mColors.size(); in replaceAColorAvx2() 189 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceAColorAvx2() [all …]
|
H A D | dyepalette_replaceaoglcolor.cpp | 45 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in PRAGMA48() 46 const size_t sz = mColors.size(); in PRAGMA48() 59 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in PRAGMA48() 106 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceAOGLColorSse2() 107 const size_t sz = mColors.size(); in replaceAOGLColorSse2() 123 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceAOGLColorSse2() 148 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceAOGLColorSse2() 186 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceAOGLColorAvx2() 187 const size_t sz = mColors.size(); in replaceAOGLColorAvx2() 203 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceAOGLColorAvx2() [all …]
|
H A D | dyepalette_replacescolor.cpp | 43 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in PRAGMA48() 44 const size_t sz = mColors.size(); in PRAGMA48() 62 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in PRAGMA48() 104 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceSColorSse2() 105 const size_t sz = mColors.size(); in replaceSColorSse2() 120 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceSColorSse2() 152 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceSColorSse2() 185 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceSColorAvx2() 186 const size_t sz = mColors.size(); in replaceSColorAvx2() 201 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceSColorAvx2() [all …]
|
H A D | dyepalette_replacesoglcolor.cpp | 45 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in PRAGMA48() 46 const size_t sz = mColors.size(); in PRAGMA48() 64 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in PRAGMA48() 106 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceSOGLColorSse2() 107 const size_t sz = mColors.size(); in replaceSOGLColorSse2() 124 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceSOGLColorSse2() 155 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceSOGLColorSse2() 188 STD_VECTOR<DyeColor>::const_iterator it_end = mColors.end(); in replaceSOGLColorAvx2() 189 const size_t sz = mColors.size(); in replaceSOGLColorAvx2() 206 STD_VECTOR<DyeColor>::const_iterator it = mColors.begin(); in replaceSOGLColorAvx2() [all …]
|
H A D | dyepalette.cpp | 70 mColors() in DyePalette() 84 mColors.push_back(color); in DyePalette() 109 mColors.push_back(color2); in DyePalette() 115 mColors.push_back(color2); in DyePalette() 163 const int last = CAST_S32(mColors.size()); in getColor() 177 const DyeColor &colorJ = mColors[j]; in getColor() 194 const DyeColor &colorI = mColors[i - 1]; in getColor() 214 if (mColors.empty()) in getColor() 224 intensity *= static_cast<double>(mColors.size() - 1); in getColor() 229 const DyeColor &colorI = mColors[i]; in getColor() [all …]
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/ |
H A D | qgscolorramp.cpp | 343 if ( mColors.empty() ) in value() 514 , mColors( colors ) in QgsColorBrewerColorRamp() 840 if ( mColors.isEmpty() ) in QgsPresetSchemeColorRamp() 845 : mColors( colors ) in QgsPresetSchemeColorRamp() 848 if ( mColors.isEmpty() ) in QgsPresetSchemeColorRamp() 873 l.reserve( mColors.count() ); in colors() 876 l << mColors.at( i ).first; in colors() 883 if ( mColors.empty() ) in value() 915 mColors = tmpColors; in invert() 937 return mColors.count(); in count() [all …]
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwrender/ |
H A D | bulletdebugdraw.cpp | 35 mColors = new osg::Vec4Array; in createGeometry() 41 mGeometry->setColorArray(mColors); in createGeometry() 80 mColors->clear(); in step() 86 mColors->dirty(); in step() 95 mColors->push_back({1,1,1,1}); in drawLine() 96 mColors->push_back({1,1,1,1}); in drawLine() 113 mColors->push_back({1,0,0,1}); in showCollisions() 114 mColors->push_back({1,0,0,1}); in showCollisions()
|
/dports/graphics/qgis/qgis-3.22.3/src/core/ |
H A D | qgscolorramp.cpp | 350 if ( mColors.empty() ) in value() 523 , mColors( colors ) in QgsColorBrewerColorRamp() 849 if ( mColors.isEmpty() ) in QgsPresetSchemeColorRamp() 854 : mColors( colors ) in QgsPresetSchemeColorRamp() 857 if ( mColors.isEmpty() ) in QgsPresetSchemeColorRamp() 882 l.reserve( mColors.count() ); in colors() 885 l << mColors.at( i ).first; in colors() 892 if ( mColors.empty() ) in value() 924 mColors = tmpColors; in invert() 946 return mColors.count(); in count() [all …]
|
/dports/misc/dartsim/dart-6.11.1/dart/gui/osg/render/ |
H A D | PointCloudShapeNode.cpp | 98 mColors = new ::osg::Vec4Array(1); in SquareDrawable() 129 setColorArray(mColors); in updateColor() 148 mColors = new ::osg::Vec4Array(1); in CircleDrawable() 190 setColorArray(mColors); in updateColor() 490 mColors = new ::osg::Vec4Array; in refresh() 534 mColors->resize(1); in refresh() 536 mColors->at(0).set( in refresh() 545 mColors->resize(1); in refresh() 547 mColors->at(0).set( in refresh() 556 mColors->resize(colors.size()); in refresh() [all …]
|
/dports/editors/texmacs/TeXmacs-1.99.4-src/src/Plugins/Pdf/PDFWriter/ |
H A D | InputPredictorTIFFSubStream.cpp | 59 …while(mReadColorsCount > (LongBufferSizeType)(mReadColorsIndex - mColors) && readBytes < inBufferS… in Read() 68 …if(mSourceStream->Read(mRowBuffer,(mColumns*mColors*mBitsPerComponent)/8) != (mColumns*mColors*mBi… in Read() 76 …while(mReadColorsCount > (LongBufferSizeType)(mReadColorsIndex - mColors) && readBytes < inBufferS… in Read() 96 mColors = inColors; in Assign() 176 for(i = mColors; i < mReadColorsCount; ++i) in DecodeBufferToColors() 177 mReadColors[i] = (mReadColors[i] + mReadColors[i-mColors]) & mBitMask; in DecodeBufferToColors()
|
/dports/graphics/reactphysics3d/reactphysics3d-0.8.0/testbed/opengl-framework/src/ |
H A D | Mesh.h | 64 std::vector<Color> mColors; variable 287 return mColors[i]; in getVertexColor() 295 if (mColors.size() != mVertices.size()) { in setVertexColor() 298 mColors = std::vector<Color>(mVertices.size()); in setVertexColor() 301 mColors[i] = color; in setVertexColor() 309 if (mColors.size() != mVertices.size()) { in setColorToAllVertices() 312 mColors = std::vector<Color>(mVertices.size()); in setColorToAllVertices() 316 mColors[v] = color; in setColorToAllVertices() 349 return mColors.size() == mVertices.size(); in hasColors() 381 return &(mColors[0]); in getColorsPointer()
|
/dports/games/stuntrally/stuntrally-2.6.1/source/btOgre/ |
H A D | DynamicLines.cpp | 183 mColors.push_back(colStart); in addLine() 184 mColors.push_back(colEnd); in addLine() 192 mColors.push_back(col); in addLine() 193 mColors.push_back(col); in addLine() 201 mColors.clear(); in clear() 267 …VertexElement::convertColourValue(Ogre::ColourValue(mColors[i].r, mColors[i].g, mColors[i].b, mCol… in fillHardwareBuffers()
|
/dports/games/manaplus/manaplus-2.1.3.17/src/resources/db/ |
H A D | palettedb.cpp | 37 std::map<std::string, DyeColor> mColors; variable 96 mColors[name] = DyeColor(CAST_U8(r), in loadPalette() 106 mColors.clear(); in unload() 112 mColors.find(name); in getColor() 113 if (it != mColors.end()) in getColor()
|
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/models/ |
H A D | colormodel.cpp | 33 mColors() in ColorModel() 55 if (i >= CAST_S32(mColors.size()) || i < 0) in getColorAt() 56 return &mColors[0]; in getColorAt() 58 return &mColors[CAST_SIZE(i)]; in getColorAt() 65 mColors.push_back(ColorPair(color1, color2)); in add()
|
/dports/graphics/qgis/qgis-3.22.3/src/gui/ |
H A D | qgscolorswatchgrid.cpp | 82 mColors = mScheme->fetchColors( mContext, mBaseColor ); in refreshColors() 117 if ( colorIdx >= 0 && colorIdx < mColors.length() ) in updateTooltip() 119 const QColor color = mColors.at( colorIdx ).first; in updateTooltip() 122 const QString colorName = mColors.at( colorIdx ).second; in updateTooltip() 141 p.setBrush( QBrush( mColors.at( colorIdx ).first ) ); in updateTooltip() 199 if ( box >= 0 && box < mColors.length() && event->button() == Qt::LeftButton ) in mouseReleaseEvent() 202 emit colorChanged( mColors.at( box ).first ); in mouseReleaseEvent() 240 if ( box < mColors.length() ) in keyPressEvent() 253 emit colorChanged( mColors.at( mCurrentFocusBox ).first ); in keyPressEvent() 303 QgsNamedColorList::const_iterator colorIt = mColors.constBegin(); in draw() [all …]
|
/dports/devel/upp/upp/bazaar/plugin/assimp/include/assimp/ |
H A D | mesh.h | 456 C_STRUCT aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS]; member 483 , mColors() in aiAnimMesh() 493 mColors[a] = nullptr; in aiAnimMesh() 507 delete [] mColors[a]; in ~aiAnimMesh() 534 return pIndex >= AI_MAX_NUMBER_OF_COLOR_SETS ? false : mColors[pIndex] != nullptr; in HasVertexColors() 665 C_STRUCT aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS]; member 752 , mColors() in aiMesh() 769 mColors[a] = nullptr; in aiMesh() 783 delete [] mColors[a]; in ~aiMesh() 834 return mColors[pIndex] != nullptr && mNumVertices > 0; in HasVertexColors() [all …]
|
/dports/devel/godot/godot-3.2.3-stable/thirdparty/assimp/include/assimp/ |
H A D | mesh.h | 456 C_STRUCT aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS]; member 483 , mColors() in aiAnimMesh() 493 mColors[a] = nullptr; in aiAnimMesh() 507 delete [] mColors[a]; in ~aiAnimMesh() 534 return pIndex >= AI_MAX_NUMBER_OF_COLOR_SETS ? false : mColors[pIndex] != nullptr; in HasVertexColors() 665 C_STRUCT aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS]; member 752 , mColors() in aiMesh() 769 mColors[a] = nullptr; in aiMesh() 783 delete [] mColors[a]; in ~aiMesh() 834 return mColors[pIndex] != nullptr && mNumVertices > 0; in HasVertexColors() [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/thirdparty/assimp/include/assimp/ |
H A D | mesh.h | 456 C_STRUCT aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS]; member 483 , mColors() in aiAnimMesh() 493 mColors[a] = nullptr; in aiAnimMesh() 507 delete [] mColors[a]; in ~aiAnimMesh() 534 return pIndex >= AI_MAX_NUMBER_OF_COLOR_SETS ? false : mColors[pIndex] != nullptr; in HasVertexColors() 665 C_STRUCT aiColor4D* mColors[AI_MAX_NUMBER_OF_COLOR_SETS]; member 752 , mColors() in aiMesh() 769 mColors[a] = nullptr; in aiMesh() 783 delete [] mColors[a]; in ~aiMesh() 834 return mColors[pIndex] != nullptr && mNumVertices > 0; in HasVertexColors() [all …]
|
/dports/games/manaplus/manaplus-2.1.3.17/src/gui/widgets/ |
H A D | staticbrowserbox.cpp | 569 selColor[0] = mColors[0][ColorName::BLACK]; in updateHeight() 570 selColor[1] = mColors[1][ColorName::BLACK]; in updateHeight() 573 selColor[0] = mColors[0][ColorName::RED]; in updateHeight() 574 selColor[1] = mColors[1][ColorName::RED]; in updateHeight() 577 selColor[0] = mColors[0][ColorName::GREEN]; in updateHeight() 581 selColor[0] = mColors[0][ColorName::BLUE]; in updateHeight() 582 selColor[1] = mColors[1][ColorName::BLUE]; in updateHeight() 593 selColor[0] = mColors[0][ColorName::PINK]; in updateHeight() 594 selColor[1] = mColors[1][ColorName::PINK]; in updateHeight() 601 selColor[0] = mColors[0][ColorName::GRAY]; in updateHeight() [all …]
|