Tesseract Engine Documentation

GameMenuImageScroller Members

GameMenuImageScroller overview

Public Instance Constructors

GameMenuImageScroller Overloaded. Initializes a new instance of the GameMenuImageScroller class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetActiveIndex Returns the index of the active item
GetColor (inherited from GameMenuElement) Gets the color of the SpriteFont
GetElementType (inherited from GameMenuElement) Accessor for element type.
GetFont (inherited from GameMenuElement) Gets the element's current font.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetItemAt Retrieve the Item at index location
GetMaxItemsVisible Returns the maximum number of visible items in a Menu
GetNumItems Returns the number of items in the Menu
GetScaleX (inherited from GameMenuElement) Gets the element's current x scale.
GetScaleY (inherited from GameMenuElement) Gets the element's current y scale.
GetTitle (inherited from GameMenuElement) Gets the element's title.
GetType (inherited from Object)Gets the Type of the current instance.
Hide (inherited from GameMenuElement) Hides this element from view.
isVisible (inherited from GameMenuElement) Checks to see if element is currently visible.
NextItem Sets the next item as the current one
PreviousItem Sets the previous item as the current one
SetColor (inherited from GameMenuElement) 
SetCurrentIndex Sets the item at index to the current one
SetFont (inherited from GameMenuElement) Sets the element's current font.
SetScale (inherited from GameMenuElement) Sets the element's scale.
SetTitle (inherited from GameMenuElement) Sets the element's title.
Show (inherited from GameMenuElement) Makes this element visible.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

color (inherited from GameMenuElement) Set to red by default, to provide easily noticable default color.
font (inherited from GameMenuElement) Font used in this element.
scaleX (inherited from GameMenuElement) Current x scale of element.
scaleY (inherited from GameMenuElement) Current y scale of element.
title (inherited from GameMenuElement) Game menu title.
type (inherited from GameMenuElement) Element type from Enums_Engine.MenuElementType.
visible (inherited from GameMenuElement) Current visibility state of element.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

GameMenuImageScroller Class | DarkWynter.Engine.Menus Namespace