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 struct IconSet { 18 IconSet(); 19 20 BBitmap inputIcon; 21 BBitmap outputIcon; 22 }; 23 24 25 BBitmap devicesIcon; 26 BBitmap mixerIcon; 27 28 IconSet audioIcons; 29 IconSet videoIcons; 30 31 static BRect IconRectAt(const BPoint& topLeft); 32 33 static const BRect sBounds; 34 35 private: 36 37 void _LoadBitmap(BResources* resources, int32 id, 38 BBitmap* bitmap); 39 }; 40 41 #endif 42