Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: debugger/QT/SkSettingsWidget.cpp

Issue 282283002: add pathops to debugger (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: make getAllowSimplifyClip const Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « debugger/QT/SkSettingsWidget.h ('k') | debugger/SkDebugger.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "SkSettingsWidget.h" 10 #include "SkSettingsWidget.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 // Canvas 50 // Canvas
51 fCanvasToggle.setText("Render Targets"); 51 fCanvasToggle.setText("Render Targets");
52 fCanvasFrame.setFrameShape(QFrame::StyledPanel); 52 fCanvasFrame.setFrameShape(QFrame::StyledPanel);
53 fCanvasFrame.setFrameShadow(QFrame::Raised); 53 fCanvasFrame.setFrameShadow(QFrame::Raised);
54 54
55 fRasterLabel.setText("Raster: "); 55 fRasterLabel.setText("Raster: ");
56 fRasterLabel.setMinimumWidth(178); 56 fRasterLabel.setMinimumWidth(178);
57 fRasterLabel.setMaximumWidth(178); 57 fRasterLabel.setMaximumWidth(178);
58 58
59 fPathOpsLabel.setText("PathOps: ");
60 fPathOpsLabel.setMinimumWidth(178);
61 fPathOpsLabel.setMaximumWidth(178);
62
59 fRasterCheckBox.setChecked(true); 63 fRasterCheckBox.setChecked(true);
60 64
61 fOverdrawVizLabel.setText(" Overdraw Viz: "); 65 fOverdrawVizLabel.setText(" Overdraw Viz: ");
62 fOverdrawVizLabel.setMinimumWidth(178); 66 fOverdrawVizLabel.setMinimumWidth(178);
63 fOverdrawVizLabel.setMaximumWidth(178); 67 fOverdrawVizLabel.setMaximumWidth(178);
64 68
65 fMegaVizLabel.setText(" Mega Viz: "); 69 fMegaVizLabel.setText(" Mega Viz: ");
66 fMegaVizLabel.setMinimumWidth(178); 70 fMegaVizLabel.setMinimumWidth(178);
67 fMegaVizLabel.setMaximumWidth(178); 71 fMegaVizLabel.setMaximumWidth(178);
68 72
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 109
106 fFilterLayout.addWidget(&fFilterCombo); 110 fFilterLayout.addWidget(&fFilterCombo);
107 fFilterButtonGroup.setLayout(&fFilterLayout); 111 fFilterButtonGroup.setLayout(&fFilterLayout);
108 112
109 connect(&fFilterCombo, SIGNAL(activated(int)), this, 113 connect(&fFilterCombo, SIGNAL(activated(int)), this,
110 SIGNAL(texFilterSettingsChanged())); 114 SIGNAL(texFilterSettingsChanged()));
111 } 115 }
112 116
113 fRasterLayout.addWidget(&fRasterLabel); 117 fRasterLayout.addWidget(&fRasterLabel);
114 fRasterLayout.addWidget(&fRasterCheckBox); 118 fRasterLayout.addWidget(&fRasterCheckBox);
119 fRasterLayout.addWidget(&fPathOpsLabel);
120 fRasterLayout.addWidget(&fPathOpsCheckBox);
115 121
116 fVizLayout.addWidget(&fOverdrawVizLabel); 122 fVizLayout.addWidget(&fOverdrawVizLabel);
117 fVizLayout.addWidget(&fOverdrawVizCheckBox); 123 fVizLayout.addWidget(&fOverdrawVizCheckBox);
118 fVizLayout.addWidget(&fMegaVizLabel); 124 fVizLayout.addWidget(&fMegaVizLabel);
119 fVizLayout.addWidget(&fMegaVizCheckBox); 125 fVizLayout.addWidget(&fMegaVizCheckBox);
120 126
121 #if SK_SUPPORT_GPU 127 #if SK_SUPPORT_GPU
122 fGLLayout.addWidget(&fGLLabel); 128 fGLLayout.addWidget(&fGLLabel);
123 fGLLayout.addWidget(&fGLCheckBox); 129 fGLLayout.addWidget(&fGLCheckBox);
124 #endif 130 #endif
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 fCurrentCommandBox.setText(QString::number(newCommand)); 208 fCurrentCommandBox.setText(QString::number(newCommand));
203 } 209 }
204 210
205 void SkSettingsWidget::updateHit(int newHit) { 211 void SkSettingsWidget::updateHit(int newHit) {
206 fCommandHitBox.setText(QString::number(newHit)); 212 fCommandHitBox.setText(QString::number(newHit));
207 } 213 }
208 214
209 void SkSettingsWidget::setZoomText(float scale) { 215 void SkSettingsWidget::setZoomText(float scale) {
210 fZoomBox.setText(QString::number(scale*100, 'f', 0).append("%")); 216 fZoomBox.setText(QString::number(scale*100, 'f', 0).append("%"));
211 } 217 }
OLDNEW
« no previous file with comments | « debugger/QT/SkSettingsWidget.h ('k') | debugger/SkDebugger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698