Lines Matching defs:docPalette
602 SwatchPage *docPalette = new SwatchPage();
604 docPalette->_name = "Auto";
605 docPalettes[0] = docPalette;
903 SwatchPage *docPalette = new SwatchPage();
904 docPalette->_name = "Auto";
905 docPalettes[document] = docPalette;
972 SwatchPage *docPalette = (docPalettes.find(document) != docPalettes.end()) ? docPalettes[document] : 0;
973 if (docPalette) {
988 docPalette->_colors.swap(tmpColors);
997 if (curr == docPalette) {
1007 SwatchPage *docPalette = (docPalettes.find(document) != docPalettes.end()) ? docPalettes[document] : 0;
1008 if (docPalette && !DocTrack::queueUpdateIfNeeded(document) ) {
1014 if ( tmpColors.size() != docPalette->_colors.size() ) {
1017 int cap = std::min(docPalette->_colors.size(), tmpColors.size());
1020 ColorItem *oldColor = &docPalette->_colors[i];
1058 SwatchPage *docPalette = (docPalettes.find(_currentDocument) != docPalettes.end()) ? docPalettes[_currentDocument] : 0;
1059 if ( docPalette ) {
1129 for ( boost::ptr_vector<ColorItem>::iterator it = docPalette->_colors.begin(); it != docPalette->_colors.end(); ++it ) {