usb_ecm: Use the current configuration instead of a fixed one.
[haiku.git] / src / preferences / media / MediaIcons.h
blob1c8eb8c909cdbc738e82b0369067d121af87f0a1
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
8 #include <Bitmap.h>
11 class BResources;
14 struct MediaIcons {
15 MediaIcons();
17 struct IconSet {
18 IconSet();
20 BBitmap inputIcon;
21 BBitmap outputIcon;
25 BBitmap devicesIcon;
26 BBitmap mixerIcon;
28 IconSet audioIcons;
29 IconSet videoIcons;
31 static BRect IconRectAt(const BPoint& topLeft);
33 static const BRect sBounds;
35 private:
37 void _LoadBitmap(BResources* resources, int32 id,
38 BBitmap* bitmap);
41 #endif