2 * Copyright 2013-2014, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
11 #include "SharedBitmap.h"
14 class RatingView
: public BView
{
16 RatingView(const char* name
);
17 virtual ~RatingView();
19 virtual void AttachedToWindow();
20 virtual void Draw(BRect updateRect
);
22 virtual BSize
MinSize();
23 virtual BSize
PreferredSize();
24 virtual BSize
MaxSize();
26 void SetRating(float rating
);
30 SharedBitmap fStarBitmap
;
35 #endif // RATING_VIEW_H