eudora-mac/globals.c

1 line
17 KiB
C
Raw Normal View History

2018-05-23 09:59:15 +00:00
/* Copyright (c) 2017, Computer History Museum All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Computer History Museum nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* Copyright (c) 1990-1992 by the University of Illinois Board of Trustees */ #pragma segment Main /********************************************************************** * Global variables for POP mail **********************************************************************/ int FontID; /* font parameters */ int FontSize; int FixedID; /* fixed font parameters */ int FixedSize; int FontWidth; /* width of average char in font */ int FontLead; int FontDescent; int FontAscent; Boolean Done; /* set to True when we're done processing */ Boolean DontTranslate; /* don't use translation tables */ Boolean FontIsFixed; /* is font fixed-width? */ short InBG; /* whether or not we're in the background */ Boolean NoSaves; /* don't prompt user to save documents */ Boolean SFWTC; /* Somebody Fooled With The Cursor */ Boolean ScrapFull; /* is there stuff on the scrap? */ Boolean UseCTB; /* are we using the CTB? */ Boolean Offline; /* are we Offline (don't send or check)? */ Boolean Stationery; /* Stationery on Save As? */ Boolean AmQuitting; /* are we quitting? */ Boolean WrapWrong; /* wrap the wrong way */ Boolean HasHelp; /* do we have balloon help? */ Boolean HasPM; /* Do we have the process manager? */ Boolean NewTables; /* using new translation table scheme */ Boolean LockCode; /* lock all code resources? */ Boolean CantLock; /* the above failed */ Boolean Toshiba; /* toshiba hard drive? */ Boolean LooseTrans; /* is there a translator with loose morals? */ Boolean QTMoviesInited; /* has QuickTime been initialized for playing movies? */ BoxCountHandle BoxCount;/* list of mailboxes for find */ XfUndoHandle XfUndoH; /* for undoing transfers */ GrafPtr InsurancePort; /* a port for use when no others are available */ #if TARGET_RT_MAC_CFM ICMPReport ICMPMessage; /* the last such report */ #endif MessHandle MessList; /* list of open messages */ MyWindow *HandyMyWindow;/* spare private window record */ RgnHandle MousePen; /* a pen for the mouse */ Boolean TBTurnedOnBalloons; /* the toolbar forced balloon help on */ Byte NewLine[4]; /* current newline string */ Byte CheckOnIdle; /* check next time we're idle? */ Str15 Type2SelString; /* current type-2-select string */ uLong Type2SelTicks; /* ticks for last key for type-2-select */ short DragSumNum; /* sumNum for finishing a drag */ TOCHandle DragTOCFrom; /* window drag came