46 float y =
layout.Location.Y;
73 if (
layout.OverBackingHighlight.Texture !=
null &&
cursor !=
null)
120 if (
layout.DrawControlsIconOnFocus)
126 float x =
layout.ControlIconOffset.X;
127 float y =
layout.ControlIconOffset.Y;
133 public static GUITransactionButton.InputState DrawWithBanner(
TransactionButton_Layout layout,
GUIControlsBanner.
ActionSource source,
ControllerActionButton action,
GUITransactionButton.
DrawItemHandler itemHandler,
Microsoft.
Xna.
Framework.
Vector2 itemSize,
string label,
bool disabled,
float scale,
bool forcePressed =
false,
bool hasControllerFocus =
false,
bool forceOver =
false,
bool disablePressedState =
false,
bool drawWhenControllerConnected =
false)
243 public static GUITransactionButton.InputState DrawWithBanner(
TransactionButton_Layout layout,
GUIControlsBanner.
ActionSource source,
ControllerActionButton action,
Item item,
string label,
bool disabled,
float scale,
bool forcedPressed =
false,
bool hasControllerFocus =
true,
bool forceOver =
false,
bool disablePressedState =
false,
bool drawWhenControllerConnected =
false,
bool addTouchBanner =
false)
282 float x =
layout.ItemOffset.X;
286 float y =
layout.ItemOffset.Y;
307 public static GUITransactionButton.InputState DrawWithBanner(
TransactionButton_Layout layout,
GUIControlsBanner.
ActionSource source,
ControllerActionButton action,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTexture,
string label,
bool disabled,
float scale,
Microsoft.
Xna.
Framework.
Graphics.
Color?
overloadedItemColour,
bool forcedPressed =
false,
bool hasControllerFocus =
false,
bool forceOver =
false,
bool disablePressedState =
false,
bool drawWhenControllerConnected =
false)
315 if (
action ==
null || !
true)
336 public static GUITransactionButton.InputState DrawWithBanner(
TransactionButton_Layout layout,
GUIControlsBanner.
ActionSource source,
ControllerActionButton action,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTexture,
Rectangle srcRect,
string label,
bool disabled,
float scale,
Microsoft.
Xna.
Framework.
Graphics.
Color?
overloadedItemColour,
bool forcedPressed =
false,
bool hasControllerFocus =
false,
bool forceOver =
false,
bool disablePressedState =
false,
bool drawWhenControllerConnected =
false)
343 public static GUITransactionButton.InputState DrawWithBanner(
TransactionButton_Layout layout,
GUIControlsBanner.
ActionSource source,
ControllerActionButton action,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTexture,
Rectangle srcRect,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTextureHighlight,
Rectangle srcRectHighlight,
string label,
bool disabled,
float scale,
Microsoft.
Xna.
Framework.
Graphics.
Color?
overloadedItemColour,
bool forcedPressed =
false,
bool hasControllerFocus =
false,
bool forceOver =
false,
bool disablePressedState =
false,
bool drawWhenControllerConnected =
false)
376 public static GUITransactionButton.InputState Draw(
TransactionButton_Layout layout,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTexture,
Rectangle srcRect,
string label,
bool disabled,
float scale,
Microsoft.
Xna.
Framework.
Graphics.
Color?
overloadedItemColour,
bool forcedPressed =
false,
bool hasControllerFocus =
false,
bool forceOver =
false,
bool disablePressedState =
false)
383 public static GUITransactionButton.InputState Draw(
TransactionButton_Layout layout,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTexture,
Rectangle srcRect,
Microsoft.
Xna.
Framework.
Graphics.
Texture2D itemTextureHighlight,
Rectangle srcRectHighlight,
string label,
bool disabled,
float scale,
Microsoft.
Xna.
Framework.
Graphics.
Color?
overloadedItemColour,
bool forcedPressed =
false,
bool hasControllerFocus =
false,
bool forceOver =
false,
bool disablePressedState =
false)
class f__AnonymousType0<< Count > j__TPar
static void SetButtonRegion(Rectangle region)
static bool AnyControllerConnected
EventHandler< EventArgs > Disposing
GraphicsDevice graphicsDevice
TextureAtlasDB _textureAtlas
static bool mouseLeftRelease