home *** CD-ROM | disk | FTP | other *** search
- //
- // The Fusion Library Interface for DOS
- // Version 1.06c
- // Copyright (C) 1990, 1991, 1992
- // Software Dimensions
- //
- // BlazeClass
- //
-
- #ifndef __BCPLUSPLUS__
- #pragma inline
- #endif
-
- #include "fli.h"
-
- #ifdef __BCPLUSPLUS__
- #pragma hdrstop
- #endif
-
- #define I asm
-
- #ifndef MK_FP
- #define MK_FP(seg,ofs) ((void _seg *)(seg) + (void near *)(ofs))
- #endif
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // Do you want to shadow dialogs, pull/pop down menus?
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- int FusionShadowing=0;
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // Initialize the static class members
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- void far *BlazeClass::VIDEO=0;
- int BlazeClass::ScreenHeight=25;
- int BlazeClass::ScreenWidth=80;
- int BlazeClass::QuickWidth=0;
- int BlazeClass::Intense=0;
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // BlazeClass()
- //
- // Constructor for BlazeClass
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- BlazeClass::BlazeClass()
- {
- Color=7;
- Scrolling=1;
- X=0;
- Y=0;
- Center=0;
- FlushRight=0;
- WinX=0;
- WinY=0;
- Clip=0;
- Intense=0;
-
- TopLeft='┌';
- TopCenter='─';
- TopRight='┐';
- CenterLeft='│';
- CenterFill=' ';
- CenterRight='│';
- BottomLeft='└';
- BottomCenter='─';
- BottomRight='┘';
-
- I int 11h
- VIDEO=OUTPUT=((_AX&48)==48)?(char far *)0xb0000000L:(char far *)0xb8000000L;
-
- ScreenHeight=(*(char far *)MK_FP(0x40,0x84))+1;
- ScreenHeight=(ScreenHeight==1)?25:ScreenHeight;
-
- _AH=0x0f;
- I int 10h
- ScreenWidth=_AH;
-
- QuickWidth=ScreenWidth*2;
-
- WinWide=ScreenWidth;
- WinHigh=ScreenHeight;
- }
-
- char FUSION_COPYRIGHT_SIGNATURE[] = "Fusion (c) Software Dimensions";
-
-