C# Class EditorObjects.Gui.TextureCoordinatesSelectionWindow

Inheritance: FlatRedBall.Gui.Window
ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
TextureCoordinateChange GuiMessage

Private Properties

Property Type Description
AdjustToVerticalScrollBar void
FixVisibleBounds void
MouseWheelZoom void
OnRollOver void
OnWindowClick void
OnWindowDoubleClick void
OnWindowDrag void
OnWindowPush void
OnWindowResize void
PixelPerfectClick void
RightClickMenu void
SelectItemInRightClickMenu void
UToX float
UpdateScrollBarView void
UpdateSelectionPositionAndScale void
UpdateSideOver void
UpdateToVisibleBounds void
UpdateUVsToSelectedArea void
UpdateVisibleBoundsToZoom void
VToY float
XToU float
YToV float

Public Methods

Method Description
AddTextureDragEvent ( GuiMessage message ) : void
AddToListClickEventAdd ( GuiMessage AddToListClick ) : void
ReplaceTexture ( Microsoft.Xna.Framework.Graphics.Texture2D oldTexture, Microsoft.Xna.Framework.Graphics.Texture2D newTexture ) : void
SetTextureCoordinates ( float top, float bottom, float left, float right ) : void

Sets the texture coordinates of the displayed texture.

The base method sets the texture coordinates of the actual window while this override sets the texture coordinates of the texture that is being displayed. The assumption is that the user is not going to ever want to change the way that this window is drawn but rather the coordinates of the texture that is being displayed.

TextureCoordinatesSelectionWindow ( ) : System
ToString ( ) : string

Private Methods

Method Description
AdjustToVerticalScrollBar ( Window callingWindow ) : void
FixVisibleBounds ( ) : void
MouseWheelZoom ( Window callingWindow ) : void
OnRollOver ( Window callingWindow ) : void
OnWindowClick ( Window callingWindow ) : void
OnWindowDoubleClick ( Window callingWindow ) : void
OnWindowDrag ( Window callingWindow ) : void
OnWindowPush ( Window callingWindow ) : void
OnWindowResize ( Window callingWindow ) : void
PixelPerfectClick ( Window callingWindow ) : void
RightClickMenu ( Window callingWindow ) : void
SelectItemInRightClickMenu ( Window callingWindow ) : void
UToX ( float tu ) : float
UpdateScrollBarView ( ) : void
UpdateSelectionPositionAndScale ( ) : void
UpdateSideOver ( ) : void
UpdateToVisibleBounds ( ) : void
UpdateUVsToSelectedArea ( ) : void
UpdateVisibleBoundsToZoom ( float centerX, float centerY ) : void
VToY ( float tv ) : float
XToU ( float x ) : float
YToV ( float y ) : float

Method Details

AddTextureDragEvent() public method

public AddTextureDragEvent ( GuiMessage message ) : void
message GuiMessage
return void

AddToListClickEventAdd() public method

public AddToListClickEventAdd ( GuiMessage AddToListClick ) : void
AddToListClick GuiMessage
return void

ReplaceTexture() public method

public ReplaceTexture ( Microsoft.Xna.Framework.Graphics.Texture2D oldTexture, Microsoft.Xna.Framework.Graphics.Texture2D newTexture ) : void
oldTexture Microsoft.Xna.Framework.Graphics.Texture2D
newTexture Microsoft.Xna.Framework.Graphics.Texture2D
return void

SetTextureCoordinates() public method

Sets the texture coordinates of the displayed texture.
The base method sets the texture coordinates of the actual window while this override sets the texture coordinates of the texture that is being displayed. The assumption is that the user is not going to ever want to change the way that this window is drawn but rather the coordinates of the texture that is being displayed.
public SetTextureCoordinates ( float top, float bottom, float left, float right ) : void
top float The top texture coordinate ( V ).
bottom float The bottom texture coordinate ( V ).
left float The left texture coordinate ( U ).
right float The right texture coordinate ( U ).
return void

TextureCoordinatesSelectionWindow() public method

public TextureCoordinatesSelectionWindow ( ) : System
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

TextureCoordinateChange public_oe property

public GuiMessage TextureCoordinateChange
return GuiMessage