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

Side by Side Diff: include/views/animated/SkBorderView.h

Issue 1745813002: remove unused view files (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « include/views/SkStackViewLayout.h ('k') | include/views/animated/SkImageView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 /*
3 * Copyright 2006 The Android Open Source Project
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
9
10 #ifndef SkBorderView_DEFINED
11 #define SkBorderView_DEFINED
12
13 #include "SkView.h"
14 #include "SkWidgetViews.h"
15 #include "SkAnimator.h"
16
17 class SkBorderView : public SkWidgetView {
18 public:
19 SkBorderView();
20 ~SkBorderView();
21 void setSkin(const char skin[]);
22 SkScalar getLeft() const { return fLeft; }
23 SkScalar getRight() const { return fRight; }
24 SkScalar getTop() const { return fTop; }
25 SkScalar getBottom() const { return fBottom; }
26 protected:
27 //overrides
28 virtual void onInflate(const SkDOM& dom, const SkDOM::Node* node);
29 virtual void onSizeChange();
30 virtual void onDraw(SkCanvas* canvas);
31 virtual bool onEvent(const SkEvent& evt);
32 private:
33 SkAnimator fAnim;
34 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
35 SkRect fMargin;
36
37 typedef SkWidgetView INHERITED;
38 };
39
40 #endif
OLDNEW
« no previous file with comments | « include/views/SkStackViewLayout.h ('k') | include/views/animated/SkImageView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698