Commits

Takeshi Nakazato authored cc1b51fcc38
CAS-12085 add flag to identify which canvas should be processed

Added a flag to identify which canvas should be flagged/unflagged. Panels marked as "flag" is colored by yellow.
No tags

code/graphics/GenericPlotter/PlotCanvas.cc

Modified
150 150 }
151 151 return regions;
152 152 }
153 153
154 154 void PlotCanvas::clearSelectedRects(){
155 155 if ( !m_standardTools.null()){
156 156 m_standardTools->clearSelectedRects();
157 157 }
158 158 }
159 159
160 +bool PlotCanvas::isMarkedForFlag() {
161 + return (!m_standardTools.null()) ? m_standardTools->isMarkedForFlag() : false;
162 +}
163 +
164 +bool PlotCanvas::isMarkedForUnflag() {
165 + return (!m_standardTools.null()) ? m_standardTools->isMarkedForUnflag() : false;
166 +}
167 +
160 168 bool PlotCanvas::hasThreadedDrawing() const {
161 169 PlotFactory* f = implementationFactory();
162 170 bool ret = f != NULL && f->canvasHasThreadedDrawing();
163 171 delete f;
164 172 return ret;
165 173 }
166 174
167 175 bool PlotCanvas::hasCachedLayerDrawing() const {
168 176 PlotFactory* f = implementationFactory();
169 177 bool ret = f != NULL && f->canvasHasCachedLayerDrawing();

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut