xref: /haiku/src/servers/app/ServerConfig.h (revision 2b76973fa2401f7a5edf68e6470f3d3210cbcff3)
1 /*
2  * Copyright 2001-2008, Haiku.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _APPSERVER_CONFIG_H
6 #define _APPSERVER_CONFIG_H
7 
8 // This is defined to place the server in test mode, which modifies certain things like
9 // system keyboard shortcuts. Note that it is possible, though senseless, to place it in
10 // regular mode and still use a display driver which depends on the R5 app_server
11 #ifndef TEST_MODE
12 #	define TEST_MODE 0
13 #endif
14 
15 // Define this if you want the display driver to emulate the input server.
16 #if TEST_MODE
17 #	define ENABLE_INPUT_SERVER_EMULATION
18 //#	define USE_DIRECT_WINDOW_TEST_MODE
19 #endif
20 
21 // This is the application signature of our app_server when running as a
22 // regular application. When running as the app_server, this is not used.
23 #define SERVER_SIGNATURE "application/x-vnd.haiku-app-server"
24 
25 // Folder for additional window decorators
26 #define DECORATORS_DIR "/boot/home/config/add-ons/decorators/"
27 
28 // These definitions provide the server something to use for default
29 // system fonts.
30 #define DEFAULT_PLAIN_FONT_FAMILY "DejaVu Sans"
31 #define FALLBACK_PLAIN_FONT_FAMILY "Swis721 BT"
32 #define DEFAULT_PLAIN_FONT_STYLE "Book"
33 #define DEFAULT_PLAIN_FONT_SIZE 12.0f
34 #define DEFAULT_BOLD_FONT_FAMILY "DejaVu Sans"
35 #define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT"
36 #define DEFAULT_BOLD_FONT_STYLE "Bold"
37 #define DEFAULT_BOLD_FONT_SIZE 12.0f
38 #define DEFAULT_FIXED_FONT_FAMILY "DejaVu Sans Mono"
39 #define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT"
40 #define DEFAULT_FIXED_FONT_STYLE "Book"
41 #define DEFAULT_FIXED_FONT_SIZE 12.0f
42 
43 // This is the port capacity for all monitoring objects - ServerApps
44 // and ServerWindows
45 #define DEFAULT_MONITOR_PORT_SIZE 50
46 
47 #endif	/* _APPSERVER_CONFIG_H */
48