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
|
2004-01-12 01:08:53 +03:00
|
|
|
#define TEST_MODE
|
2003-07-14 00:56:00 +04:00
|
|
|
|
|
|
|
// The ViewDriver is a BView/BWindow combination. Plenty of functionality,
|
|
|
|
// but dog-slow.
|
|
|
|
#define VIEWDRIVER 0
|
|
|
|
|
|
|
|
// The ScreenDriver utilizes a BWindowScreen to directly access the video
|
|
|
|
// hardware.
|
|
|
|
#define SCREENDRIVER 1
|
|
|
|
|
|
|
|
// The SecondDriver allows the server to make use of a second video card while
|
|
|
|
// still running as a regular BeOS application. You could say it's training
|
|
|
|
// wheels for the HWDriver
|
|
|
|
#define SECONDDRIVER 2
|
|
|
|
|
|
|
|
// The HWDriver is the real thing - loads all the graphics hardware and
|
|
|
|
// literally takes over the system as the app_server is supposed to. This
|
|
|
|
// one can be used only when the app_server is running as *the* app_server
|
|
|
|
// and not in testing mode like the other drivers are for.
|
|
|
|
#define HWDRIVER 3
|
|
|
|
|
|
|
|
// Display driver to be used by the server.
|
2004-01-12 01:08:53 +03:00
|
|
|
#define DISPLAYDRIVER VIEWDRIVER
|
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
|
|
|
|
//#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.
|
|
|
|
// Comment this out if DISPLAYDRIVER is defined as HWDRIVER.
|
2004-01-12 01:08:53 +03:00
|
|
|
#define ENABLE_INPUT_SERVER_EMULATION
|
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-01-13 03:06:29 +03:00
|
|
|
#define SERVER_SIGNATURE "application/x-vnd.OpenBeOS-app-server"
|
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"
|
|
|
|
|
|
|
|
// 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.
|
|
|
|
#define DEFAULT_PLAIN_FONT_FAMILY "Swis721 BT"
|
|
|
|
#define DEFAULT_PLAIN_FONT_STYLE "Roman"
|
|
|
|
#define DEFAULT_PLAIN_FONT_SIZE 12
|
|
|
|
#define DEFAULT_BOLD_FONT_FAMILY "Swis721 BT"
|
|
|
|
#define DEFAULT_BOLD_FONT_STYLE "Bold"
|
|
|
|
#define DEFAULT_BOLD_FONT_SIZE 12
|
|
|
|
#define DEFAULT_FIXED_FONT_FAMILY "Courier10 BT"
|
|
|
|
#define DEFAULT_FIXED_FONT_STYLE "Roman"
|
|
|
|
#define DEFAULT_FIXED_FONT_SIZE 12
|
|
|
|
|
|
|
|
// This is the port capacity for all monitoring objects - ServerApps
|
|
|
|
// and ServerWindows
|
|
|
|
#define DEFAULT_MONITOR_PORT_SIZE 30
|
|
|
|
|
|
|
|
#endif
|