xref: /haiku/src/preferences/input/InputIcons.h (revision ed257f056fa6ee436d3eec8fd306cd4950fe5530)
1*ed257f05SPreetpal Kaur /*
2*ed257f05SPreetpal Kaur  * Copyright 2020, Haiku, Inc. All rights reserved.
3*ed257f05SPreetpal Kaur  * Distributed under the terms of the MIT License.
4*ed257f05SPreetpal Kaur  */
5*ed257f05SPreetpal Kaur #ifndef __INPUT_ICONS_H
6*ed257f05SPreetpal Kaur #define __INPUT_ICONS_H
7*ed257f05SPreetpal Kaur 
8*ed257f05SPreetpal Kaur 
9*ed257f05SPreetpal Kaur #include <Bitmap.h>
10*ed257f05SPreetpal Kaur 
11*ed257f05SPreetpal Kaur 
12*ed257f05SPreetpal Kaur class BResources;
13*ed257f05SPreetpal Kaur 
14*ed257f05SPreetpal Kaur 
15*ed257f05SPreetpal Kaur struct InputIcons {
16*ed257f05SPreetpal Kaur 								InputIcons();
17*ed257f05SPreetpal Kaur 
18*ed257f05SPreetpal Kaur 			BBitmap				mouseIcon;
19*ed257f05SPreetpal Kaur 			BBitmap				touchpadIcon;
20*ed257f05SPreetpal Kaur 			BBitmap				keyboardIcon;
21*ed257f05SPreetpal Kaur 
22*ed257f05SPreetpal Kaur 	static	BRect				IconRectAt(const BPoint& topLeft);
23*ed257f05SPreetpal Kaur 
24*ed257f05SPreetpal Kaur 	static	const BRect			sBounds;
25*ed257f05SPreetpal Kaur 
26*ed257f05SPreetpal Kaur private:
27*ed257f05SPreetpal Kaur 
28*ed257f05SPreetpal Kaur 			void				_LoadBitmap(BResources* resources);
29*ed257f05SPreetpal Kaur };
30*ed257f05SPreetpal Kaur 
31*ed257f05SPreetpal Kaur #endif
32*ed257f05SPreetpal Kaur 
33