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