C# Class EditorObjects.Gui.TextureCoordinatesSelectionWindow

Inheritance: FlatRedBall.Gui.Window
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
TextureCoordinateChange GuiMessage

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddTextureDragEvent ( GuiMessage message ) : void
message GuiMessage
Résultat void

AddToListClickEventAdd() public méthode

public AddToListClickEventAdd ( GuiMessage AddToListClick ) : void
AddToListClick GuiMessage
Résultat void

ReplaceTexture() public méthode

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
Résultat void

SetTextureCoordinates() public méthode

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 ).
Résultat void

TextureCoordinatesSelectionWindow() public méthode

public TextureCoordinatesSelectionWindow ( ) : System
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

TextureCoordinateChange public_oe property

public GuiMessage TextureCoordinateChange
Résultat GuiMessage