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 // Uncomment this if the DisplayDriver should only rely on drawing functions implemented 12 // in software even though hardware-accelerated functions are available 13 // NOTE: everything is software right now (since DisplayDriverPainter) 14 //#define DISABLE_HARDWARE_ACCELERATION 15 16 // Define this for a quick hack to test some of the drawing functions 17 //#define DISPLAYDRIVER_TEST_HACK 18 19 // Define this if you want the display driver to emulate the input server. 20 #if TEST_MODE 21 # define ENABLE_INPUT_SERVER_EMULATION 22 #endif 23 24 // This is the application signature of our app_server when running as a 25 // regular application. When running as the app_server, this is not used. 26 #define SERVER_SIGNATURE "application/x-vnd.haiku-app-server" 27 28 // Folder for additional window decorators 29 #define DECORATORS_DIR "/boot/home/config/add-ons/decorators/" 30 31 // These definitions provide the server something to use for default 32 // system fonts. 33 # define DEFAULT_PLAIN_FONT_FAMILY "Bitstream Vera Sans" 34 # define FALLBACK_PLAIN_FONT_FAMILY "Swis721 BT" 35 # define DEFAULT_PLAIN_FONT_STYLE "Roman" 36 # define DEFAULT_PLAIN_FONT_SIZE 12.0f 37 # define DEFAULT_BOLD_FONT_FAMILY "Bitstream Vera Sans" 38 # define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT" 39 # define DEFAULT_BOLD_FONT_STYLE "Bold" 40 # define DEFAULT_BOLD_FONT_SIZE 12.0f 41 # define DEFAULT_FIXED_FONT_FAMILY "Bitstream Vera Sans Mono" 42 # define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT" 43 # define DEFAULT_FIXED_FONT_STYLE "Roman" 44 # define DEFAULT_FIXED_FONT_SIZE 12.0f 45 // This is the port capacity for all monitoring objects - ServerApps 46 // and ServerWindows 47 #define DEFAULT_MONITOR_PORT_SIZE 30 48 49 #endif /* _APPSERVER_CONFIG_H */ 50