1 /* 2 * Copyright 2010, Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef __MEDIA_ICONS_H 6 #define __MEDIA_ICONS_H 7 8 #include <Bitmap.h> 9 10 11 class BResources; 12 13 14 struct MediaIcons { 15 MediaIcons(); 16 17 BBitmap devicesIcon; 18 BBitmap mixerIcon; 19 BBitmap tvIcon; 20 BBitmap camIcon; 21 BBitmap micIcon; 22 BBitmap speakerIcon; 23 24 BRect IconRectAt(const BPoint& topLeft); 25 private: 26 27 static const BRect sBounds; 28 29 void _LoadBitmap(BResources* resources, int32 id, 30 BBitmap* bitmap); 31 }; 32 33 #endif 34