2003-07-14 00:56:00 +04:00
|
|
|
#ifndef _APPSERVER_CONFIG_H
|
|
|
|
#define _APPSERVER_CONFIG_H
|
|
|
|
|
|
|
|
// This is defined to place the server in test mode, which modifies certain things like
|
|
|
|
// system keyboard shortcuts. Note that it is possible, though senseless, to place it in
|
|
|
|
// regular mode and still use a display driver which depends on the R5 app_server
|
2005-03-29 23:49:55 +04:00
|
|
|
#ifndef TEST_MODE
|
2005-11-13 18:40:21 +03:00
|
|
|
#define TEST_MODE 0
|
2005-03-29 23:49:55 +04:00
|
|
|
#endif
|
2003-07-14 00:56:00 +04:00
|
|
|
|
|
|
|
// Uncomment this if the DisplayDriver should only rely on drawing functions implemented
|
|
|
|
// in software even though hardware-accelerated functions are available
|
2005-04-18 22:48:19 +04:00
|
|
|
// NOTE: everything is software right now (since DisplayDriverPainter)
|
2003-07-14 00:56:00 +04:00
|
|
|
//#define DISABLE_HARDWARE_ACCELERATION
|
|
|
|
|
|
|
|
// Define this for a quick hack to test some of the drawing functions
|
|
|
|
//#define DISPLAYDRIVER_TEST_HACK
|
|
|
|
|
|
|
|
// Define this if you want the display driver to emulate the input server.
|
2005-04-18 22:48:19 +04:00
|
|
|
#if TEST_MODE
|
2005-03-31 23:29:57 +04:00
|
|
|
# define ENABLE_INPUT_SERVER_EMULATION
|
|
|
|
#endif
|
2003-07-14 00:56:00 +04:00
|
|
|
|
|
|
|
// This is the application signature of our app_server when running as a
|
|
|
|
// regular application. When running as the app_server, this is not used.
|
2004-09-21 02:46:37 +04:00
|
|
|
#define SERVER_SIGNATURE "application/x-vnd.haiku-app-server"
|
2003-07-14 00:56:00 +04:00
|
|
|
|
2005-03-31 23:29:57 +04:00
|
|
|
// ToDo: use find_directory() instead of absolute path names!
|
2003-07-14 00:56:00 +04:00
|
|
|
// Directory for all app_server-related settings. Must include ending slash.
|
|
|
|
#define SERVER_SETTINGS_DIR "/boot/home/config/settings/app_server/"
|
|
|
|
|
|
|
|
// Flattened list of usable fonts maintained by the server. The file is a
|
|
|
|
// flattened BMessage which is used for caching the names when obtained
|
|
|
|
// by the various font functions.
|
|
|
|
#define SERVER_FONT_LIST "/boot/home/config/settings/app_server/fontlist"
|
|
|
|
|
2004-06-26 06:13:58 +04:00
|
|
|
// Flattened list of BMessages containing data for each workspace
|
|
|
|
#define WORKSPACE_DATA_LIST "/boot/home/config/settings/app_server/workspace_settings"
|
|
|
|
|
2003-07-14 00:56:00 +04:00
|
|
|
// folder used to keep saved color sets for the UI - tab color, etc.
|
|
|
|
#define COLOR_SET_DIR "/boot/home/config/settings/color_sets/"
|
|
|
|
|
2003-07-25 19:44:59 +04:00
|
|
|
// folder used to keep saved cursor sets for the system
|
|
|
|
#define CURSOR_SET_DIR "/boot/home/config/settings/cursor_sets/"
|
|
|
|
|
2003-07-14 00:56:00 +04:00
|
|
|
// name of the file containing the current UI color settings
|
|
|
|
#define COLOR_SETTINGS_NAME "system_colors"
|
|
|
|
|
2003-07-25 19:44:59 +04:00
|
|
|
// name of the file containing the current system cursor settings
|
|
|
|
#define CURSOR_SETTINGS_NAME "system_cursors"
|
|
|
|
|
2003-07-14 00:56:00 +04:00
|
|
|
// name of the file containing the config data for the desktop
|
|
|
|
#define WORKSPACE_SETTINGS_NAME "workspace_data"
|
|
|
|
|
|
|
|
// Folder for additional window decorators
|
|
|
|
#define DECORATORS_DIR "/boot/home/config/add-ons/decorators/"
|
|
|
|
|
|
|
|
// These definitions provide the server something to use for default
|
|
|
|
// system fonts.
|
2005-04-12 17:15:38 +04:00
|
|
|
# define DEFAULT_PLAIN_FONT_FAMILY "Bitstream Vera Sans"
|
|
|
|
# define FALLBACK_PLAIN_FONT_FAMILY "Swis721 BT"
|
|
|
|
# define DEFAULT_PLAIN_FONT_STYLE "Roman"
|
2005-11-03 20:03:36 +03:00
|
|
|
# define DEFAULT_PLAIN_FONT_SIZE 12.0f
|
2005-04-12 17:15:38 +04:00
|
|
|
# define DEFAULT_BOLD_FONT_FAMILY "Bitstream Vera Sans"
|
|
|
|
# define FALLBACK_BOLD_FONT_FAMILY "Swis721 BT"
|
|
|
|
# define DEFAULT_BOLD_FONT_STYLE "Bold"
|
2005-11-03 20:03:36 +03:00
|
|
|
# define DEFAULT_BOLD_FONT_SIZE 12.0f
|
2005-04-12 17:15:38 +04:00
|
|
|
# define DEFAULT_FIXED_FONT_FAMILY "Bitstream Vera Sans Mono"
|
|
|
|
# define FALLBACK_FIXED_FONT_FAMILY "Courier10 BT"
|
|
|
|
# define DEFAULT_FIXED_FONT_STYLE "Roman"
|
2005-11-03 20:03:36 +03:00
|
|
|
# define DEFAULT_FIXED_FONT_SIZE 12.0f
|
2003-07-14 00:56:00 +04:00
|
|
|
// This is the port capacity for all monitoring objects - ServerApps
|
|
|
|
// and ServerWindows
|
|
|
|
#define DEFAULT_MONITOR_PORT_SIZE 30
|
|
|
|
|
2005-03-31 23:29:57 +04:00
|
|
|
#endif /* _APPSERVER_CONFIG_H */
|