| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "SkDebuggerGUI.h" | 8 #include "SkDebuggerGUI.h" |
| 9 #include "SkPictureData.h" | 9 #include "SkPicture.h" |
| 10 #include "SkPicturePlayback.h" | |
| 11 #include "SkPictureRecord.h" | |
| 12 #include <QListWidgetItem> | 10 #include <QListWidgetItem> |
| 13 #include <QtGui> | 11 #include <QtGui> |
| 14 #include "sk_tool_utils.h" | 12 #include "sk_tool_utils.h" |
| 15 | 13 |
| 16 SkDebuggerGUI::SkDebuggerGUI(QWidget *parent) : | 14 SkDebuggerGUI::SkDebuggerGUI(QWidget *parent) : |
| 17 QMainWindow(parent) | 15 QMainWindow(parent) |
| 18 , fCentralSplitter(this) | 16 , fCentralSplitter(this) |
| 19 , fStatusBar(this) | 17 , fStatusBar(this) |
| 20 , fToolBar(this) | 18 , fToolBar(this) |
| 21 , fActionOpen(this) | 19 , fActionOpen(this) |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 fCanvasWidget.drawTo(fPausedRow); | 769 fCanvasWidget.drawTo(fPausedRow); |
| 772 } else { | 770 } else { |
| 773 fCanvasWidget.drawTo(fListWidget.currentRow()); | 771 fCanvasWidget.drawTo(fListWidget.currentRow()); |
| 774 } | 772 } |
| 775 } | 773 } |
| 776 | 774 |
| 777 void SkDebuggerGUI::updateHit(int newHit) { | 775 void SkDebuggerGUI::updateHit(int newHit) { |
| 778 fCommandHitBox.setText(QString::number(newHit)); | 776 fCommandHitBox.setText(QString::number(newHit)); |
| 779 } | 777 } |
| 780 | 778 |
| OLD | NEW |