# SpatialFear.SFWindow

Spatial Fear
Name: SFWindow
Description: Abstract base class for Spatial Fear output windows.
Author: Markus Nuebel

Extends:
Modifiers: abstract
Source code

    SpatialFear.SFWindow

%%

## Constants

%function_comment% | constScreenMaxX | = | 1280
%function_comment% | constScreenMaxY | = | 1024

## Variables

%function_comment% |  |  | bool | m_bVisible
%function_comment% |  |  | int | m_fAspectRatio
%function_comment% |  |  | float | m_fCloseSoundVol
%function_comment% |  |  | float | m_fHUDScale
%function_comment% |  |  | SFFontInfo | m_Fonts
%function_comment% |  |  | float | m_fOpenSoundVol
%function_comment% |  |  | float | m_fVHUDScale
%function_comment% |  |  | float | m_fXStep
%function_comment% |  |  | float | m_fYStep
%function_comment% |  |  | int | m_nBkgTopOffset
%function_comment% |  |  | int | m_nBorderSize
%function_comment% |  |  | int | m_nBorderSizeScaled
%function_comment% |  |  | int | m_nHeight
%function_comment% |  |  | int | m_nHeightScaled
%function_comment% |  |  | int | m_nSlideSteps
%function_comment% |  |  | int | m_nSlideTime
%function_comment% |  |  | EState | m_nState
%function_comment% |  |  | int | m_nStepCur
%function_comment% |  |  | int | m_nTimerInterval
%function_comment% |  |  | int | m_nWidth
%function_comment% |  |  | int | m_nWidthScaled
%function_comment% |  |  | Pawn | m_oPawnOwner
%function_comment% |  |  | Sound | m_sndClose
%function_comment% |  |  | Sound | m_sndOpen
%function_comment% |  |  | Texture | m_texBkg
%function_comment% |  |  | SFWindow | m_wndParent
%function_comment% |  |  | int | m_X
%function_comment% |  |  | float | m_XCur
%function_comment% |  |  | float | m_XCurScaled
%function_comment% |  |  | int | m_Y
%function_comment% |  |  | float | m_YCur
%function_comment% |  |  | float | m_YCurScaled

## Enums

%function_comment% | ESlideDir |  | SLIDE_Up, SLIDE_Down, SLIDE_Left, SLIDE_Right,
%function_comment% | EState |  | SLIDE_In, SLIDE_Out, In, Out,

## Structs

%function_comment% | Region | { var() int X; var() int Y; var() int W; var() int H; };

## Functions

|  |  | DrawClippedActor (Canvas C, float XB, float YB, float X, float Y, Actor A, bool WireFrame, rotator RotOffset, vector LocOffset)
|  |  | hide ()
|  |  | init (float fHUDScale, int X, int Y, int nWidth, int nHeight, optional Pawn Owner, optional string strText, optional SFWindow wndParent)
|  | bool | isVisible ()
|  |  | prepareCanvas (Canvas C)
|  |  | render (Canvas C, float fHUDScale)
|  |  | renderBackground (Canvas C)
|  |  | renderForeground (Canvas C)
|  |  | setParent (SFWindow oParent)
|  |  | setPos (int X, int Y)
|  |  | show ()
|  |  | slideIn (ESlideDir slide)
|  |  | terminate ()
|  |  | Timer ()
|  | String | TrimSpaces (String strText)

## Default properties

    {
         m_nSlideTime=1000
         m_fOpenSoundVol=2.000000
         m_fCloseSoundVol=2.000000
    }

class file time: 12/7/2003 3:58:24 PM - creation time: 12/7/2003 4:03:43 PM
Created with UnCodeX