| 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 "PictureRenderer.h" | 9 #include "PictureRenderer.h" |
| 10 #include "SkPictureData.h" | |
| 11 #include "SkPicturePlayback.h" | |
| 12 #include "SkPictureRecord.h" | |
| 13 #include <QListWidgetItem> | 10 #include <QListWidgetItem> |
| 14 #include <QtGui> | 11 #include <QtGui> |
| 15 | 12 |
| 16 #if defined(SK_BUILD_FOR_WIN32) | 13 #if defined(SK_BUILD_FOR_WIN32) |
| 17 #include "SysTimer_windows.h" | 14 #include "SysTimer_windows.h" |
| 18 #elif defined(SK_BUILD_FOR_MAC) | 15 #elif defined(SK_BUILD_FOR_MAC) |
| 19 #include "SysTimer_mach.h" | 16 #include "SysTimer_mach.h" |
| 20 #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) | 17 #elif defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_ANDROID) |
| 21 #include "SysTimer_posix.h" | 18 #include "SysTimer_posix.h" |
| 22 #else | 19 #else |
| (...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 fCanvasWidget.drawTo(fPausedRow); | 849 fCanvasWidget.drawTo(fPausedRow); |
| 853 } else { | 850 } else { |
| 854 fCanvasWidget.drawTo(fListWidget.currentRow()); | 851 fCanvasWidget.drawTo(fListWidget.currentRow()); |
| 855 } | 852 } |
| 856 } | 853 } |
| 857 | 854 |
| 858 void SkDebuggerGUI::updateHit(int newHit) { | 855 void SkDebuggerGUI::updateHit(int newHit) { |
| 859 fCommandHitBox.setText(QString::number(newHit)); | 856 fCommandHitBox.setText(QString::number(newHit)); |
| 860 } | 857 } |
| 861 | 858 |
| OLD | NEW |