2 * Copyright (c) 2008-2009, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
6 * Artur Wyszynski <harakash@gmail.com>
14 class GradientsView
: public BView
{
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
);
28 BGradient::Type fType
;