xref: /haiku/src/kits/app/AppDefs.cpp (revision 0b2dbe7d46ee888392907c60131b7f7652314175)
1 /*
2  * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include <AppDefs.h>
8 #include <SupportDefs.h>
9 
10 
11 const uint8 B_HAND_CURSOR[] = {
12 	16,		// size (width/height)
13 	1,		// depth
14 	2, 2,	// hot-spot coordinates
15 
16 	// image mask
17 	0x0, 0x0, 0x0, 0x0, 0x38, 0x0, 0x24, 0x0, 0x24, 0x0, 0x13, 0xe0, 0x12, 0x5c, 0x9, 0x2a,
18 	0x8, 0x1, 0x3c, 0x1, 0x4c, 0x1, 0x42, 0x1, 0x30, 0x1, 0xc, 0x1, 0x2, 0x0, 0x1, 0x0,
19 
20 	// transparency mask
21 	0x0, 0x0, 0x0, 0x0, 0x38, 0x0, 0x3c, 0x0, 0x3c, 0x0, 0x1f, 0xe0, 0x1f, 0xfc, 0xf, 0xfe,
22 	0xf, 0xff, 0x3f, 0xff, 0x7f, 0xff, 0x7f, 0xff, 0x3f, 0xff, 0xf, 0xff, 0x3, 0xfe, 0x1, 0xf8,
23 };
24 
25 const uint8 B_I_BEAM_CURSOR[] = {
26 	16,		// size (width/height)
27 	1,		// depth
28 	5, 8,	// hot-spot coordinates
29 
30 	// image mask
31 	0x6, 0xc0, 0x3, 0x80, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0,
32 	0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x3, 0x80, 0x6, 0xc0,
33 
34 	// transparency mask
35 	0xf, 0xc0, 0x7, 0x80, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0,
36 	0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x7, 0x80, 0xf, 0xc0,
37 };
38 
39 
40 // ToDo: find a better home for these (what's wrong with libmedia.so?)
41 // ToDo: implement shutdown|launch_media_server()
42 
43 status_t
44 shutdown_media_server(bigtime_t timeout,
45 	bool (*progress)(int stage, const char * message, void * cookie),
46 	void * cookie)
47 {
48 	return B_OK;
49 }
50 
51 
52 status_t
53 launch_media_server(uint32 flags)
54 {
55 	return B_ERROR;
56 }
57 
58