HaikuDepot: notify work status from main window
[haiku.git] / src / apps / gradients / GradientsView.h
blobb319e720c01d9e2110f95d27d7f66ae391cf6875
1 /*
2 * Copyright (c) 2008-2009, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Authors:
6 * Artur Wyszynski <harakash@gmail.com>
7 */
10 #include <View.h>
11 #include <Gradient.h>
14 class GradientsView : public BView {
15 public:
16 GradientsView(const BRect &r);
17 virtual ~GradientsView(void);
19 virtual void Draw(BRect update);
20 void DrawLinear(BRect update);
21 void DrawRadial(BRect update);
22 void DrawRadialFocus(BRect update);
23 void DrawDiamond(BRect update);
24 void DrawConic(BRect update);
25 void SetType(BGradient::Type type);
27 private:
28 BGradient::Type fType;