/* * Copyright 2020, Andrew Lindesay . * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef RATING_UTILS_H #define RATING_UTILS_H #include #include "SharedBitmap.h" class BView; class BBitmap; class RatingUtils { public: static void Draw(BView* target, BPoint at, float value, const BBitmap* star); static void Draw(BView* target, BPoint at, float value); private: static BReference sStarBlueBitmap; static BReference sStarGrayBitmap; }; #endif // RATING_UTILS_H