OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
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 #ifndef SkView_DEFINED | 10 #ifndef SkView_DEFINED |
11 #define SkView_DEFINED | 11 #define SkView_DEFINED |
12 | 12 |
13 #include "SkEventSink.h" | 13 #include "SkEventSink.h" |
14 #include "SkRect.h" | 14 #include "SkRect.h" |
15 #include "SkDOM.h" | 15 #include "SkDOM.h" |
16 #include "SkTDict.h" | 16 #include "../private/SkTDict.h" |
17 #include "SkMatrix.h" | 17 #include "SkMatrix.h" |
18 #include "SkMetaData.h" | 18 #include "SkMetaData.h" |
19 | 19 |
20 class SkCanvas; | 20 class SkCanvas; |
21 class SkLayerView; | 21 class SkLayerView; |
22 | 22 |
23 /** \class SkView | 23 /** \class SkView |
24 | 24 |
25 SkView is the base class for screen management. All widgets and controls inh
erit | 25 SkView is the base class for screen management. All widgets and controls inh
erit |
26 from SkView. | 26 from SkView. |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 friend class SkLayerView; | 396 friend class SkLayerView; |
397 | 397 |
398 bool setFocusView(SkView* fvOrNull); | 398 bool setFocusView(SkView* fvOrNull); |
399 SkView* acceptFocus(FocusDirection); | 399 SkView* acceptFocus(FocusDirection); |
400 void detachFromParent_NoLayout(); | 400 void detachFromParent_NoLayout(); |
401 /** Compute the matrix to transform view-local coordinates into global ones
*/ | 401 /** Compute the matrix to transform view-local coordinates into global ones
*/ |
402 void localToGlobal(SkMatrix* matrix) const; | 402 void localToGlobal(SkMatrix* matrix) const; |
403 }; | 403 }; |
404 | 404 |
405 #endif | 405 #endif |
OLD | NEW |