DeusEx.PersonaInventoryItemButton
- Extends
- PersonaItemButton
Core.Object
|
+-- Extension.ExtensionObject
|
+-- Extension.Window
|
+-- Extension.TextWindow
|
+-- Extension.ButtonWindow
|
+-- DeusEx.PersonaItemButton
|
+-- DeusEx.PersonaInventoryItemButton
Inherited Variables from DeusEx.PersonaItemButton |
bBackgroundTranslucent, bBorderTranslucent, bDrawBorder, bIconTranslucent, borderHeight, borderWidth, bSelected, buttonHeight, buttonWidth, colBackground, colBorder, colFillSelected, colHeaderText, colIcon, colSelectionBorder, colText, icon, iconPosHeight, iconPosWidth, player, texBorders[9] |
Inherited Variables from Extension.ButtonWindow |
activateDelay, activateTimer, bAutoRepeat, bButtonPressed, bEnableRightMouseClick, bMousePressed, clickSound, curTextColor, curTexture, curTileColor, info[6], initialDelay, lastInputKey, pressSound, repeatRate, repeatTime |
Enumerations Summary |
FillModes FM_WeaponModTrue,
FM_WeaponModFalse,
FM_Selected,
FM_DropGood,
FM_DropBad,
FM_None |
Functions Summary |
 | | AllowDragging (bool bNewDragMode))
|
 | texture | CursorRequested (window win, float pointX, float pointY, out float hotX, out float hotY, out color newColor, out Texture shadowTexture))
|
 | | DrawWindow (GC gc))
|
 | | FinishButtonDrag ()))
|
 | | HighlightWeapon (bool bNewToggle))
|
 | bool | MouseButtonPressed (float pointX, float pointY, EInputKey button, int numClicks))
|
 | bool | MouseButtonReleased (float pointX, float pointY, EInputKey button, int numClicks))
|
 | | MouseMoved (float newX, float newY))
|
 | | ResetFill ()))
|
 | | SelectButton (Bool bNewSelected))
|
 | | SetDropFill (bool bGoodDrop))
|
 | | SetEquipped (Bool bNewEquipped))
|
 | | SetFillColor ()))
|
 | | SetIconSize (int newWidth, int newHeight))
|
 | | SetInventoryWindow (PersonaScreenInventory newWinInv))
|
 | | StartButtonDrag ()))
|
Inherited Functions from Extension.ButtonWindow |
AcceleratorKeyPressed, ActivateButton, EnableAutoRepeat, EnableRightMouseClick, PressButton, SetActivateDelay, SetButtonColors, SetButtonSounds, SetButtonTextures, SetTextColors, VirtualKeyPressed |
var bool bAllowDragging;
var bool bDimIcon;
var bool bDragging;
var bool bDragStart;
var bool bEquipped;
var bool bValidSlot;
var Int clickX;
var Int clickY;
var Color colWeaponModFalse;
var Color colWeaponModTrue;
var localized String CountLabel;
var Int dragPosX;
var Int dragPosY;
var localized String RoundLabel;
var localized String RoundsLabel;
enum FillModes
{
FM_WeaponModTrue,
FM_WeaponModFalse,
FM_Selected,
FM_DropGood,
FM_DropBad,
FM_None
};
function AllowDragging ( bool bNewDragMode) )
event texture CursorRequested (
window win,
float pointX,
float pointY,
out float hotX,
out float hotY,
out color newColor,
out Texture shadowTexture) )
event DrawWindow (
GC gc) )
function FinishButtonDrag ( ) )
function HighlightWeapon ( bool bNewToggle) )
event bool MouseButtonPressed (
float pointX,
float pointY,
EInputKey button,
int numClicks) )
event bool MouseButtonReleased (
float pointX,
float pointY,
EInputKey button,
int numClicks) )
event MouseMoved ( float newX, float newY) )
function ResetFill ( ) )
function SelectButton ( Bool bNewSelected) )
function SetDropFill ( bool bGoodDrop) )
function SetEquipped ( Bool bNewEquipped) )
function SetFillColor ( ) )
function SetIconSize ( int newWidth, int newHeight) )
function StartButtonDrag ( ) )
defaultproperties
{
bAllowDragging=True
fillMode=FM_None
colDragGood=(G=255)
colDragBad=(R=255)
colWeaponModTrue=(R=32,G=128,B=32)
colWeaponModFalse=(R=128,G=32,B=32)
colDropGood=(R=32,G=128,B=32)
colDropBad=(R=128,G=32,B=32)
fillTexture=Texture'Extension.Solid'
CountLabel="Count: %d"
RoundLabel="%d Rd"
RoundsLabel="%d Rds"
}
|
Creation time: Mon 8/11/2021 16:31:13.925 - Created with
UnCodeX