OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
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 #ifndef SkWidget_DEFINED | 8 #ifndef SkWidget_DEFINED |
9 #define SkWidget_DEFINED | 9 #define SkWidget_DEFINED |
10 | 10 |
11 #include "SkBitmap.h" | 11 #include "SkBitmap.h" |
12 #include "SkDOM.h" | 12 #include "SkDOM.h" |
13 #include "SkPaint.h" | 13 #include "SkPaint.h" |
14 #include "SkString.h" | 14 #include "SkString.h" |
15 #include "SkTDArray.h" | |
16 #include "SkTextBox.h" | 15 #include "SkTextBox.h" |
17 #include "SkView.h" | 16 #include "SkView.h" |
18 | 17 |
19 class SkEvent; | 18 class SkEvent; |
20 class SkInterpolator; | 19 class SkInterpolator; |
21 class SkShader; | 20 class SkShader; |
22 | 21 |
23 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
24 | 23 |
25 class SkWidget : public SkView { | 24 class SkWidget : public SkView { |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 | 402 |
404 int logicalToVisualIndex(int index) const { return index; } | 403 int logicalToVisualIndex(int index) const { return index; } |
405 void invalSelection(); | 404 void invalSelection(); |
406 bool getCellRect(int index, SkRect*) const; | 405 bool getCellRect(int index, SkRect*) const; |
407 void ensureSelectionIsVisible(); | 406 void ensureSelectionIsVisible(); |
408 | 407 |
409 typedef SkView INHERITED; | 408 typedef SkView INHERITED; |
410 }; | 409 }; |
411 | 410 |
412 #endif | 411 #endif |
OLD | NEW |