C# Class EasyVoiceEditorWindow.SpacingInfo, RoverGame

This is a helper class/struct to manage all the sizing and spacing values for the window
Mostrar archivo Open project: Stumpstump/RoverGame

Public Properties

Property Type Description
fileNameTextWidth float
speakerNamePopupWidth float
speechTextWidth float
totalWidth int

Public Methods

Method Description
GetControlsRect ( ) : Rect
GetDeleteButtonRect ( ) : Rect
GetDeleteCancelButtonRect ( ) : Rect
GetDeleteConfirmButtonRect ( ) : Rect
GetDragControlRect ( ) : Rect
GetFileNameClipButtonRect ( ) : Rect
GetFileNameClipFieldRect ( ) : Rect
GetFileNameClipPlayRect ( ) : Rect
GetFileNameTextRect ( ) : Rect
GetFlagControlRect ( ) : Rect
GetFooterRect ( ) : Rect
GetHeaderRect ( ) : Rect
GetIssueBoxRect ( int issueStringHeight ) : Rect
GetLineRect ( float lineOffsetTop ) : Rect
GetLineY ( int lineIndex ) : float
GetNoLinesMessageRect ( ) : Rect
GetScrollBoxContentRect ( int lineCount, Rect scrollBoxLayoutRect ) : Rect
GetScrollBoxLayoutRect ( int issueStringHeight ) : Rect
GetSpeakerNameButtonRect ( ) : Rect
GetSpeakerNamePopupRect ( ) : Rect
GetSpeakerNameTextRect ( ) : Rect
GetSpeechTextRect ( ) : Rect
SpacingInfo ( int givenAvailableWidth, int givenAvailableHeight ) : System

Method Details

GetControlsRect() public method

public GetControlsRect ( ) : Rect
return Rect

GetDeleteButtonRect() public method

public GetDeleteButtonRect ( ) : Rect
return Rect

GetDeleteCancelButtonRect() public method

public GetDeleteCancelButtonRect ( ) : Rect
return Rect

GetDeleteConfirmButtonRect() public method

public GetDeleteConfirmButtonRect ( ) : Rect
return Rect

GetDragControlRect() public method

public GetDragControlRect ( ) : Rect
return Rect

GetFileNameClipButtonRect() public method

public GetFileNameClipButtonRect ( ) : Rect
return Rect

GetFileNameClipFieldRect() public method

public GetFileNameClipFieldRect ( ) : Rect
return Rect

GetFileNameClipPlayRect() public method

public GetFileNameClipPlayRect ( ) : Rect
return Rect

GetFileNameTextRect() public method

public GetFileNameTextRect ( ) : Rect
return Rect

GetFlagControlRect() public method

public GetFlagControlRect ( ) : Rect
return Rect

GetFooterRect() public method

public GetFooterRect ( ) : Rect
return Rect

GetHeaderRect() public method

public GetHeaderRect ( ) : Rect
return Rect

GetIssueBoxRect() public method

public GetIssueBoxRect ( int issueStringHeight ) : Rect
issueStringHeight int
return Rect

GetLineRect() public method

public GetLineRect ( float lineOffsetTop ) : Rect
lineOffsetTop float
return Rect

GetLineY() public static method

public static GetLineY ( int lineIndex ) : float
lineIndex int
return float

GetNoLinesMessageRect() public method

public GetNoLinesMessageRect ( ) : Rect
return Rect

GetScrollBoxContentRect() public method

public GetScrollBoxContentRect ( int lineCount, Rect scrollBoxLayoutRect ) : Rect
lineCount int
scrollBoxLayoutRect Rect
return Rect

GetScrollBoxLayoutRect() public method

public GetScrollBoxLayoutRect ( int issueStringHeight ) : Rect
issueStringHeight int
return Rect

GetSpeakerNameButtonRect() public method

public GetSpeakerNameButtonRect ( ) : Rect
return Rect

GetSpeakerNamePopupRect() public method

public GetSpeakerNamePopupRect ( ) : Rect
return Rect

GetSpeakerNameTextRect() public method

public GetSpeakerNameTextRect ( ) : Rect
return Rect

GetSpeechTextRect() public method

public GetSpeechTextRect ( ) : Rect
return Rect

SpacingInfo() public method

public SpacingInfo ( int givenAvailableWidth, int givenAvailableHeight ) : System
givenAvailableWidth int
givenAvailableHeight int
return System

Property Details

fileNameTextWidth public_oe property

public float fileNameTextWidth
return float

speakerNamePopupWidth public_oe property

public float speakerNamePopupWidth
return float

speechTextWidth public_oe property

public float speechTextWidth
return float

totalWidth public_oe property

public int totalWidth
return int