1 /* 2 * Copyright 2020-2024, Andrew Lindesay <apl@lindesay.co.nz>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef RATING_UTILS_H 6 #define RATING_UTILS_H 7 8 9 #include <Referenceable.h> 10 11 12 class BView; 13 class BBitmap; 14 15 16 class RatingUtils { 17 public: 18 static void Draw(BView* target, BPoint at, float value, 19 const BBitmap* star); 20 static void Draw(BView* target, BPoint at, float value); 21 }; 22 23 24 #endif // RATING_UTILS_H 25