xref: /haiku/src/servers/app/ServerConfig.h (revision 2a2e7ad562841be14b2d1f8ad870780f32be2b1f)
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_FONT_SIZE 12.0f
31 
32 #define DEFAULT_PLAIN_FONT_FAMILY "Noto Sans"
33 #define DEFAULT_PLAIN_FONT_STYLE "Regular"
34 
35 #define FALLBACK_PLAIN_FONT_FAMILY "Noto Sans Thai"
36 #define FALLBACK_PLAIN_FONT_STYLE "Regular"
37 
38 #define DEFAULT_BOLD_FONT_FAMILY "Noto Sans"
39 #define DEFAULT_BOLD_FONT_STYLE "Bold"
40 
41 #define FALLBACK_BOLD_FONT_FAMILY "Noto Sans Thai"
42 #define FALLBACK_BOLD_FONT_STYLE "Bold"
43 
44 #define DEFAULT_FIXED_FONT_FAMILY "Noto Sans Mono"
45 #define DEFAULT_FIXED_FONT_STYLE "Regular"
46 
47 #define FALLBACK_FIXED_FONT_FAMILY "Noto Sans Thai"
48 #define FALLBACK_FIXED_FONT_STYLE "Regular"
49 
50 // This is the port capacity for all monitoring objects - ServerApps
51 // and ServerWindows
52 #define DEFAULT_MONITOR_PORT_SIZE 50
53 
54 #endif	/* _APPSERVER_CONFIG_H */
55