C# 클래스 Gum.Wireframe.GraphicalUiElement

상속: IRenderable, IPositionedSizedObject, IVisible
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChildrenUpdatingParentLayoutCalls int
IsAllLayoutSuspended bool
ShowLineRectangles bool
UpdateLayoutCallCount int

Private Properties

프로퍼티 타입 설명
AddChildren void
AddContainedRenderableToManagers void
AdjustOffsetsByOrigin void
AdjustOffsetsByUnits void
AdjustParentOriginOffsetsByUnits void
AssignSourceFileOnSprite bool
CustomAddChildren void
CustomAddToManagers void
CustomRemoveFromManagers void
GetDimensionFromEdges float
GetIfParentStacks bool
GetIfShouldCallUpdateOnParent bool
GetParentDimensions void
GetParentOffsets void
GetRequiredParentHeight float
GetRequiredParentWidth float
GetWhatToStackAfter IPositionedSizedObject
IRenderable void
IRenderable void
IRenderableIpso void
IsAllLayoutAbsolute bool
IsComponentOrInstanceOfComponent bool
ResumeLayoutNoUpdateRecursive void
SetPropertyOnRenderable void
TryAdjustOffsetsByParentLayoutType void
TryHandleCursorActivity bool
TrySetPropertyOnText bool
TrySetValueOnThis bool
UpdateDimensions void
UpdateHeight void
UpdateLayerScissor void
UpdatePosition void
UpdatePosition void
UpdateTextureCoordinatesDimensionBased void
UpdateTextureCoordinatesNotDimensionBased void
UpdateToFontValues void
UpdateWidth void

공개 메소드들

메소드 설명
Activity ( FlatRedBall camera ) : void
AddCategory ( DataTypes category ) : void
AddExposedVariable ( string variableName, string underlyingVariable ) : void
AddStates ( List list ) : void
AddToManagers ( ) : void
AddToManagers ( SystemManagers managers, Layer layer ) : void
ApplyState ( DataTypes state ) : void
ApplyState ( List variableSaveValues ) : void
ApplyState ( string name ) : void
ApplyState ( string categoryName, string stateName ) : void
AssignReferences ( ) : void
CallClick ( ) : void
CallLosePush ( ) : void
CallRollOff ( ) : void
CallRollOn ( ) : void
CallRollOver ( ) : void
CloseWindow ( ) : void
Destroy ( ) : void
FlatRedBall ( string stateName ) : void
GetChildByName ( string name ) : IPositionedSizedObject
GetGraphicalUiElementByName ( string name ) : GraphicalUiElement
GetIfDimensionsDependOnChildren ( ) : bool
GetParentOffsets ( float &parentOriginOffsetX, float &parentOriginOffsetY ) : void
GetParentVisibility ( ) : bool
GetUsedTextures ( List listToFill ) : void
GraphicalUiElement ( ) : System
GraphicalUiElement ( IRenderable containedObject, GraphicalUiElement whatContainsThis ) : System
HasCursorOver ( Cursor cursor ) : bool
InterpolateBetween ( Gum first, Gum second, float interpolationValue ) : void
InterpolateTo ( Gum first, Gum second, double secondsToTake, FlatRedBall interpolationType, FlatRedBall easing ) : FlatRedBall.Glue.StateInterpolation.Tweener
IsExposedVariable ( string variableName ) : bool
IsPointOnWindow ( float x, float y ) : bool
MoveToFrbLayer ( FlatRedBall layer, FlatRedBall containingScreen ) : void
MoveToFrbLayer ( FlatRedBall frbLayer, global gumLayer ) : void
MoveToLayer ( Layer layer ) : void
OnDragging ( ) : void
OnLosingFocus ( ) : void
OnResize ( ) : void
OnResizeEnd ( ) : void
OverlapsWindow ( IWindow otherWindow ) : bool
RemoveFromManagers ( ) : void
ResumeLayout ( bool recursive = false ) : void
SetContainedObject ( IRenderable containedObject ) : void
SetGueValues ( IVariableFinder rvf ) : void
SetProperty ( string propertyName, object value ) : void
SetScaleTL ( float newScaleX, float newScaleY ) : void
SetScaleTL ( float newScaleX, float newScaleY, bool keepTopLeftStatic ) : void
StopAnimations ( ) : void
SuspendLayout ( bool recursive = false ) : void
TestCollision ( Cursor cursor ) : void
ToString ( ) : string
UpdateDependencies ( ) : void
UpdateLayout ( ) : void
UpdateLayout ( bool updateParent, bool updateChildren ) : void
UpdateLayout ( bool updateParent, int childrenUpdateDepth ) : void

보호된 메소드들

메소드 설명
CallCustomInitialize ( ) : void

비공개 메소드들

메소드 설명
AddChildren ( SystemManagers managers, Layer layer ) : void
AddContainedRenderableToManagers ( SystemManagers managers, Layer layer ) : void
AdjustOffsetsByOrigin ( float &unitOffsetX, float &unitOffsetY ) : void
AdjustOffsetsByUnits ( float parentWidth, float parentHeight, float &unitOffsetX, float &unitOffsetY ) : void
AdjustParentOriginOffsetsByUnits ( float parentWidth, float parentHeight, float &unitOffsetX, float &unitOffsetY, bool &wasHandledX, bool &wasHandledY ) : void
AssignSourceFileOnSprite ( object value, Sprite sprite ) : bool
CustomAddChildren ( ) : void
CustomAddToManagers ( ) : void
CustomRemoveFromManagers ( ) : void
GetDimensionFromEdges ( float smallEdge, float bigEdge, GeneralUnitType units ) : float
GetIfParentStacks ( ) : bool
GetIfShouldCallUpdateOnParent ( ) : bool
GetParentDimensions ( float &parentWidth, float &parentHeight ) : void
GetParentOffsets ( bool canWrap, bool shouldWrap, float parentWidth, float parentHeight, float &parentOriginOffsetX, float &parentOriginOffsetY, bool &wasHandledX, bool &wasHandledY ) : void
GetRequiredParentHeight ( ) : float
GetRequiredParentWidth ( ) : float
GetWhatToStackAfter ( bool canWrap, bool shouldWrap, float &whatToStackAfterX, float &whatToStackAfterY ) : IPositionedSizedObject
IRenderable ( ) : void
IRenderable ( SpriteRenderer spriteRenderer, SystemManagers managers ) : void
IRenderableIpso ( IRenderableIpso parent ) : void
IsAllLayoutAbsolute ( ) : bool
IsComponentOrInstanceOfComponent ( ) : bool
ResumeLayoutNoUpdateRecursive ( ) : void
SetPropertyOnRenderable ( string propertyName, object value ) : void
TryAdjustOffsetsByParentLayoutType ( bool canWrap, bool shouldWrap, float &unitOffsetX, float &unitOffsetY, bool &wasHandledX, bool &wasHandledY ) : void
TryHandleCursorActivity ( Cursor cursor ) : bool

Tries to handle cursor activity. If this returns true, then either this element or one of its children handled the activity.

This method will always allow children to handle the activity first, as children draw in front of their parents. Only components can have UI elements. Standard elements such as Sprites or Containers cannot themselves handle the activity, but they do give their children the opportunity to handle activity. This is because components (such as buttons) may be part of a container for stacking or other organization. Ultimately this hierarchical logic exists because only the top-most parent is added to the GuiManager, and it is responsible for giving its children the opportunity to perform cursor-related input.

TrySetPropertyOnText ( string propertyName, object value ) : bool
TrySetValueOnThis ( string propertyName, object value ) : bool
UpdateDimensions ( float parentWidth, float parentHeight ) : void
UpdateHeight ( float parentHeight ) : void
UpdateLayerScissor ( ) : void
UpdatePosition ( float parentWidth, float parentHeight ) : void
UpdatePosition ( float parentWidth, float parentHeight, bool wrap ) : void
UpdateTextureCoordinatesDimensionBased ( ) : void
UpdateTextureCoordinatesNotDimensionBased ( ) : void
UpdateToFontValues ( ) : void
UpdateWidth ( float parentWidth ) : void

메소드 상세

Activity() 공개 메소드

public Activity ( FlatRedBall camera ) : void
camera FlatRedBall
리턴 void

AddCategory() 공개 메소드

public AddCategory ( DataTypes category ) : void
category DataTypes
리턴 void

AddExposedVariable() 공개 메소드

public AddExposedVariable ( string variableName, string underlyingVariable ) : void
variableName string
underlyingVariable string
리턴 void

AddStates() 공개 메소드

public AddStates ( List list ) : void
list List
리턴 void

AddToManagers() 공개 메소드

public AddToManagers ( ) : void
리턴 void

AddToManagers() 공개 메소드

public AddToManagers ( SystemManagers managers, Layer layer ) : void
managers RenderingLibrary.SystemManagers
layer RenderingLibrary.Graphics.Layer
리턴 void

ApplyState() 공개 메소드

public ApplyState ( DataTypes state ) : void
state DataTypes
리턴 void

ApplyState() 공개 메소드

public ApplyState ( List variableSaveValues ) : void
variableSaveValues List
리턴 void

ApplyState() 공개 메소드

public ApplyState ( string name ) : void
name string
리턴 void

ApplyState() 공개 메소드

public ApplyState ( string categoryName, string stateName ) : void
categoryName string
stateName string
리턴 void

AssignReferences() 공개 메소드

public AssignReferences ( ) : void
리턴 void

CallClick() 공개 메소드

public CallClick ( ) : void
리턴 void

CallCustomInitialize() 보호된 메소드

protected CallCustomInitialize ( ) : void
리턴 void

CallLosePush() 공개 메소드

public CallLosePush ( ) : void
리턴 void

CallRollOff() 공개 메소드

public CallRollOff ( ) : void
리턴 void

CallRollOn() 공개 메소드

public CallRollOn ( ) : void
리턴 void

CallRollOver() 공개 메소드

public CallRollOver ( ) : void
리턴 void

CloseWindow() 공개 메소드

public CloseWindow ( ) : void
리턴 void

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

FlatRedBall() 공개 메소드

public FlatRedBall ( string stateName ) : void
stateName string
리턴 void

GetChildByName() 공개 메소드

public GetChildByName ( string name ) : IPositionedSizedObject
name string
리턴 IPositionedSizedObject

GetGraphicalUiElementByName() 공개 메소드

public GetGraphicalUiElementByName ( string name ) : GraphicalUiElement
name string
리턴 GraphicalUiElement

GetIfDimensionsDependOnChildren() 공개 메소드

public GetIfDimensionsDependOnChildren ( ) : bool
리턴 bool

GetParentOffsets() 공개 메소드

public GetParentOffsets ( float &parentOriginOffsetX, float &parentOriginOffsetY ) : void
parentOriginOffsetX float
parentOriginOffsetY float
리턴 void

GetParentVisibility() 공개 메소드

public GetParentVisibility ( ) : bool
리턴 bool

GetUsedTextures() 공개 메소드

public GetUsedTextures ( List listToFill ) : void
listToFill List
리턴 void

GraphicalUiElement() 공개 메소드

public GraphicalUiElement ( ) : System
리턴 System

GraphicalUiElement() 공개 메소드

public GraphicalUiElement ( IRenderable containedObject, GraphicalUiElement whatContainsThis ) : System
containedObject IRenderable
whatContainsThis GraphicalUiElement
리턴 System

HasCursorOver() 공개 메소드

public HasCursorOver ( Cursor cursor ) : bool
cursor Cursor
리턴 bool

InterpolateBetween() 공개 메소드

public InterpolateBetween ( Gum first, Gum second, float interpolationValue ) : void
first Gum
second Gum
interpolationValue float
리턴 void

InterpolateTo() 공개 메소드

public InterpolateTo ( Gum first, Gum second, double secondsToTake, FlatRedBall interpolationType, FlatRedBall easing ) : FlatRedBall.Glue.StateInterpolation.Tweener
first Gum
second Gum
secondsToTake double
interpolationType FlatRedBall
easing FlatRedBall
리턴 FlatRedBall.Glue.StateInterpolation.Tweener

IsExposedVariable() 공개 메소드

public IsExposedVariable ( string variableName ) : bool
variableName string
리턴 bool

IsPointOnWindow() 공개 메소드

public IsPointOnWindow ( float x, float y ) : bool
x float
y float
리턴 bool

MoveToFrbLayer() 공개 메소드

public MoveToFrbLayer ( FlatRedBall layer, FlatRedBall containingScreen ) : void
layer FlatRedBall
containingScreen FlatRedBall
리턴 void

MoveToFrbLayer() 공개 메소드

public MoveToFrbLayer ( FlatRedBall frbLayer, global gumLayer ) : void
frbLayer FlatRedBall
gumLayer global
리턴 void

MoveToLayer() 공개 메소드

public MoveToLayer ( Layer layer ) : void
layer RenderingLibrary.Graphics.Layer
리턴 void

OnDragging() 공개 메소드

public OnDragging ( ) : void
리턴 void

OnLosingFocus() 공개 메소드

public OnLosingFocus ( ) : void
리턴 void

OnResize() 공개 메소드

public OnResize ( ) : void
리턴 void

OnResizeEnd() 공개 메소드

public OnResizeEnd ( ) : void
리턴 void

OverlapsWindow() 공개 메소드

public OverlapsWindow ( IWindow otherWindow ) : bool
otherWindow IWindow
리턴 bool

RemoveFromManagers() 공개 메소드

public RemoveFromManagers ( ) : void
리턴 void

ResumeLayout() 공개 메소드

public ResumeLayout ( bool recursive = false ) : void
recursive bool
리턴 void

SetContainedObject() 공개 메소드

public SetContainedObject ( IRenderable containedObject ) : void
containedObject IRenderable
리턴 void

SetGueValues() 공개 메소드

public SetGueValues ( IVariableFinder rvf ) : void
rvf IVariableFinder
리턴 void

SetProperty() 공개 메소드

public SetProperty ( string propertyName, object value ) : void
propertyName string
value object
리턴 void

SetScaleTL() 공개 메소드

public SetScaleTL ( float newScaleX, float newScaleY ) : void
newScaleX float
newScaleY float
리턴 void

SetScaleTL() 공개 메소드

public SetScaleTL ( float newScaleX, float newScaleY, bool keepTopLeftStatic ) : void
newScaleX float
newScaleY float
keepTopLeftStatic bool
리턴 void

StopAnimations() 공개 메소드

public StopAnimations ( ) : void
리턴 void

SuspendLayout() 공개 메소드

public SuspendLayout ( bool recursive = false ) : void
recursive bool
리턴 void

TestCollision() 공개 메소드

public TestCollision ( Cursor cursor ) : void
cursor Cursor
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

UpdateDependencies() 공개 메소드

public UpdateDependencies ( ) : void
리턴 void

UpdateLayout() 공개 메소드

public UpdateLayout ( ) : void
리턴 void

UpdateLayout() 공개 메소드

public UpdateLayout ( bool updateParent, bool updateChildren ) : void
updateParent bool
updateChildren bool
리턴 void

UpdateLayout() 공개 메소드

public UpdateLayout ( bool updateParent, int childrenUpdateDepth ) : void
updateParent bool
childrenUpdateDepth int
리턴 void

프로퍼티 상세

ChildrenUpdatingParentLayoutCalls 공개적으로 정적으로 프로퍼티

public static int ChildrenUpdatingParentLayoutCalls
리턴 int

IsAllLayoutSuspended 공개적으로 정적으로 프로퍼티

public static bool IsAllLayoutSuspended
리턴 bool

ShowLineRectangles 공개적으로 정적으로 프로퍼티

public static bool ShowLineRectangles
리턴 bool

UpdateLayoutCallCount 공개적으로 정적으로 프로퍼티

public static int UpdateLayoutCallCount
리턴 int