Unit Globals
Description
Original documentation:
v1.1 sept 1993
Made a start at cleaning up all these globals, but still a lot to do. I have removed a
couple of dozen variables which were just wasting memory, and moved others to
local variable status. For the most part, they need to be made into parameters or
file-scoped variables with unit initializer; this is too much work for now.
Uses
Overview
Classes, Interfaces, Objects and Records
Types
Constants
Variables
Description
Types
CursorList = ARRAY[iBeamCursor..BlankCursor] OF CursHandle; |
|
SwellType = (...); |
Values
|
HorizPos = (...); |
Values
-
LeftThird:
-
MidThird:
-
RightThird:
|
VertPos = (...); |
Values
-
TopRung:
-
MidRung:
-
BottomRung:
|
chromosome = ARRAY[1..9] OF Integer; |
|
CompletenessType = (...); |
Values
|
SpokesType = (...); |
Values
-
NorthOnly:
-
NSouth:
-
Radial:
|
PartOfBox = (...); |
Values
-
MainPart:
-
MovePart:
-
GoAwayPart:
-
AnyPart:
|
PointArray = ARRAY[1..4] OF Point; |
|
mode = (...); |
Values
-
preliminary:
-
breeding:
-
albuming:
-
phyloging:
-
killing:
-
moving:
-
detaching:
-
randoming:
-
engineering:
-
drifting:
-
highlighting:
-
PlayingBack:
-
triangling:
-
sweeping:
|
Constants
MaxAlbum = 100; |
v1.1 was set to 15, but turbo version said 100
|
MaxBoxes = 100; |
v1.1 was set to 50
|
PicSizeMax = 4095; |
Height of the GeneBoxes, in pixels
|
MenuCnt = 8; |
*** Menu Constants ***
|
ApplMenu = 1000; |
Menu Constant
|
FileMenu = 1001; |
Menu Constant
|
LoadAlbumItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
LoadFossilsItem = 2; |
v1.1 added these menu item constants. Life is too hard without them
|
SaveBiomorphItem = 3; |
v1.1 added these menu item constants. Life is too hard without them
|
SaveFossilsItem = 4; |
v1.1 added these menu item constants. Life is too hard without them
|
SaveAlbumItem = 5; |
v1.1 added these menu item constants. Life is too hard without them
|
CloseAlbumItem = 6; |
v1.1 added these menu item constants. Life is too hard without them
|
QuitItem = 7; |
v1.1 added these menu item constants. Life is too hard without them
|
EditMenu = 1002; |
Menu Constant
|
UndoItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
CutItem = 3; |
v1.1 added these menu item constants. Life is too hard without them
|
Copyitem = 4; |
v1.1 added these menu item constants. Life is too hard without them
|
PasteItem = 5; |
v1.1 added these menu item constants. Life is too hard without them
|
ClearItem = 6; |
v1.1 added these menu item constants. Life is too hard without them
|
HighlightBiomItem = 8; |
v1.1 added these menu item constants. Life is too hard without them
|
AddBiomItem = 9; |
v1.1 added these menu item constants. Life is too hard without them
|
ShowAlbumItem = 10; |
v1.1 added these menu item constants. Life is too hard without them
|
OperMenu = 1004; |
Menu Constant
|
BreedItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
DriftItem = 2; |
v1.1 added these menu item constants. Life is too hard without them
|
EngineeringItem = 3; |
v1.1 added these menu item constants. Life is too hard without them
|
HopeMonsterItem = 4; |
v1.1 added these menu item constants. Life is too hard without them
|
InitFossRecItem = 5; |
v1.1 added these menu item constants. Life is too hard without them
|
PlayFossilItem = 6; |
v1.1 added these menu item constants. Life is too hard without them
|
RecordFossilItem = 7; |
v1.1 added these menu item constants. Life is too hard without them
|
TriangleItem = 8; |
v1.1 added these menu item constants. Life is too hard without them
|
BoxMenu = 1005; |
Menu Constant
|
MoreRowsItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
FewerRowsItem = 2; |
v1.1 added these menu item constants. Life is too hard without them
|
MoreColumnsItem = 3; |
v1.1 added these menu item constants. Life is too hard without them
|
FewerColumnsItem = 4; |
v1.1 added these menu item constants. Life is too hard without them
|
ThickerPenItem = 5; |
v1.1 added these menu item constants. Life is too hard without them
|
ThinnerPenItem = 6; |
v1.1 added these menu item constants. Life is too hard without them
|
DriftSweepItem = 7; |
v1.1 added these menu item constants. Life is too hard without them
|
TriangleTopItem = 8; |
v1.1 added these menu item constants. Life is too hard without them
|
TriangleLeftItem = 9; |
v1.1 added these menu item constants. Life is too hard without them
|
TriangleRightItem = 10; |
v1.1 added these menu item constants. Life is too hard without them
|
HideWindowItem = 12; |
v1.1 added these menu item constants. Life is too hard without them
|
MutationMenu = 1006; |
Menu Constant
|
PedigreeMenu = 1007; |
Menu Constant
|
DisplayPedigreeItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
DrawOutItem = 3; |
v1.1 added these menu item constants. Life is too hard without them
|
NoMirrorsItem = 4; |
v1.1 added these menu item constants. Life is too hard without them
|
SingleMirrorItem = 5; |
v1.1 added these menu item constants. Life is too hard without them
|
DoubleMirrorItem = 6; |
v1.1 added these menu item constants. Life is too hard without them
|
MoveItem = 8; |
v1.1 added these menu item constants. Life is too hard without them
|
DetachItem = 9; |
v1.1 added these menu item constants. Life is too hard without them
|
KillItem = 10; |
v1.1 added these menu item constants. Life is too hard without them
|
HelpMenu = 3238; |
Menu Constant
|
HelpCurrentItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
HelpMiscItem = 2; |
v1.1 added these menu item constants. Life is too hard without them
|
SpecMenu = 21537; |
Menu Constant
|
ClosePlaybackItem = 1; |
v1.1 added these menu item constants. Life is too hard without them
|
BreedCurrentItem = 2; |
v1.1 added these menu item constants. Life is too hard without them
|
QuitPlaybackItem = 3; |
v1.1 added these menu item constants. Life is too hard without them
|
AM = 1; |
index into MenuList for Apple Menu
|
FM = 2; |
index into File Menu
|
OM = 4; |
index into Operation Menu
|
BM = 5; |
index into Boxes Menu
|
MM = 6; |
index into Mutations Menu
|
HM = 8; |
W for Window Menu
|
PascalKind = 32700; |
windowKind of pascal windows
|
MainID = 1000; |
resource ID for MainWindow
|
AboutID = 1000; |
resource ID for dialog box
|
Text1ID = 1000; |
resource IDs for 'About...' text
|
SaveFossilString = 11609; |
|
SaveBiomorphString = 3866; |
|
kAlertStringsID = 128; |
new STR# IDs for alerts - v1.1
|
leftCursID = 135; |
CURSORS > made these contiguous numbers so that they can be read in a loop and checked - Alun
|
BCount = 256; |
****Added for v1.1****
|
Variables
theEvent: EventRecord; |
event passed from operating system
|
TV: Integer; |
location of text
|
TH: Integer; |
location of text
|
DragArea: Rect; |
defines area where window can be dragged in
|
GrowArea: Rect; |
defines area to which a window's size can change
|
ScreenArea: Rect; |
defines screen dimensions
|
ScreenPort: GrafPtr; |
pointer to entire screen
|
AlbumBitMap: ARRAY[0..4] OF BitMap; |
|
hideInBackGround: Boolean; |
added v1.1 if TRUE hide our windows when switched out. Toggled by menu
|
DefaultVolume: Str255; |
name of disk we are running on
|
dirID: LongInt; |
Folder ID for fossil file and app
|
defaultDir: LongInt; |
Folder ID for fossil file and app
|
fileName: Str63; |
name of fossil file, normally 'Fossil History'
|
volRefNum: Integer; |
volRefNum is volume containing fossil file, DefaultVolNum contains app
|
DefaultVolNum: Integer; |
volRefNum is volume containing fossil file, DefaultVolNum contains app
|
Slides: Integer; |
fileNum of fossil file
|
SizeOfPerson: LongInt; |
Record size for saving to files.
|
RememberSpecial: integer; |
|
GeneBox: ARRAY[1..16] OF Rect; |
|
WarningHasBeenGiven: Boolean; |
|
DocumentMessage: Integer; |
|
PBoxNo: ARRAY[1..4] OF Integer; |
|
SomethingToRestore: Boolean; |
|
AlreadyTriangling: Boolean; |
|
gSystem: tSystem; |
v1.1 A record of info on the capabilities of the current system
|
Generated by PasDoc 0.14.0.
|