/* Copyright 1998 Acorn Computers Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /*---------------------------------------------------------------------------*/ /* File: h.defines */ /* Purpose: Various #defines used by interactive help */ /* Author: Richard Leggett */ /* History: 05-Jan-98: RML: Created. */ /*---------------------------------------------------------------------------*/ /* Current version */ #define TaskName "Help" #include "VersionNum" #define Version Module_MajorVersion " (" Module_ApplicationDate ")" /* Compile with support for Choices file? */ #define UseChoicesFile 1 /* New WIMP messages */ #define Wimp_MHelpEnable 0x504 #define HelpEnable_Disable 1 #define HelpEnable_ReadSettings 2 #define MaxDelay 500 /* Delay between help requests (cs) */ #define DelayBetweenChecks 10 /* CMOS Double click cancel distance byte */ #define WimpDoubleClickMove 22 /* Menu item gadget IDs */ #define MenuItemQuit 0 #define MenuItemInfo 1 #define MenuItemSuspend 3 /* Pointer width/height */ #define PointerWidth 22 #define PointerHeight 44 /* Size of drop shadow */ #define DropShadowSize 8 /* Options */ #define Option_HideCommon 1u<<0 #define Option_DropShadow 1u<<1 #define Option_Repeat 1u<<2 /* Strings in the config file */ #define ConfigFile ".Help.Config" #define FontConfig "Font" #define DelayConfig "Delay" #define SizeConfig "Size" #define StillConfig "Still distance" #define CommonConfig "Hide common" #define ShadowConfig "Drop shadow" #define RepeatConfig "Repeat message" #define TimeoutConfig "Timeout" #define Yes "Yes" /* Defaults */ #define DefaultFontsize 10 #define DefaultFont "Homerton.Bold.Oblique" #define DefaultFontSize 10 #define DefaultDelay 50 #define DefaultTimeout 0 #define DefaultOptions Option_DropShadow