Controls

From ESOUI Wiki

(Difference between revisions)
Jump to: navigation, search
(ButtonControl)
(100019)
Line 1: Line 1:
-
''Page up-to-date to API Version [[APIVersion#100018|100018]]''
+
''Page up-to-date to API Version [[APIVersion#100019|100019]]''
----
----
Line 55: Line 55:
* GetAddOnDependencyInfo('''number''' ''addOnIndex'', '''number''' ''addOnDependencyIndex'')
* GetAddOnDependencyInfo('''number''' ''addOnIndex'', '''number''' ''addOnDependencyIndex'')
-
** '''Returns:''' '''string''' ''name'', '''boolean''' ''active''
+
** '''Returns:''' '''string''' ''name'', *bool* ''active''
* GetAddOnFilter()
* GetAddOnFilter()
Line 61: Line 61:
* GetAddOnInfo('''number''' ''addOnIndex'')
* GetAddOnInfo('''number''' ''addOnIndex'')
-
** '''Returns:''' '''string''' ''name'', '''string''' ''title'', '''string''' ''author'', '''string''' ''description'', '''boolean''' ''enabled'', '''number''' [[Globals#AddOnLoadState|AddOnLoadState]] ''state'', '''boolean''' ''isOutOfDate''
+
** '''Returns:''' '''string''' ''name'', '''string''' ''title'', '''string''' ''author'', '''string''' ''description'', *bool* ''enabled'', '''number''' [[Globals#AddOnLoadState|AddOnLoadState]] ''state'', *bool* ''isOutOfDate''
* GetAddOnNumDependencies('''number''' ''addOnIndex'')
* GetAddOnNumDependencies('''number''' ''addOnIndex'')
Line 67: Line 67:
* GetLoadOutOfDateAddOns()
* GetLoadOutOfDateAddOns()
-
** '''Returns:''' '''boolean''' ''loadOutOfDateAddons''
+
** '''Returns:''' *bool* ''loadOutOfDateAddons''
* GetNumAddOns()
* GetNumAddOns()
Line 76: Line 76:
* ResetRelevantFilters()
* ResetRelevantFilters()
-
* SetAddOnEnabled('''number''' ''addOnIndex'', '''boolean''' ''enabled'')
+
* SetAddOnEnabled('''number''' ''addOnIndex'', *bool* ''enabled'')
* SetAddOnFilter('''string''' ''settingFilter'')
* SetAddOnFilter('''string''' ''settingFilter'')
-
* SetLoadOutOfDateAddOns('''boolean''' ''loadOutOfDateAddons'')
+
* SetLoadOutOfDateAddOns(*bool* ''loadOutOfDateAddons'')
Line 94: Line 94:
Objects that inherit behavior from ''AnimationObject''
Objects that inherit behavior from ''AnimationObject''
-
* [[Controls#AnimationObject3DRotate|AnimationObject3DRotate]],
+
* [[Controls#AnimationObject3DRotate|AnimationObject3DRotate]],  
-
* [[Controls#AnimationObject3DTranslate|AnimationObject3DTranslate]],
+
* [[Controls#AnimationObject3DTranslate|AnimationObject3DTranslate]],  
-
* [[Controls#AnimationObjectAlpha|AnimationObjectAlpha]],
+
* [[Controls#AnimationObjectAlpha|AnimationObjectAlpha]],  
-
* [[Controls#AnimationObjectColor|AnimationObjectColor]],
+
* [[Controls#AnimationObjectColor|AnimationObjectColor]],  
-
* [[Controls#AnimationObjectCustom|AnimationObjectCustom]],
+
* [[Controls#AnimationObjectCustom|AnimationObjectCustom]],  
-
* [[Controls#AnimationObjectScale|AnimationObjectScale]],
+
* [[Controls#AnimationObjectScale|AnimationObjectScale]],  
-
* [[Controls#AnimationObjectScroll|AnimationObjectScroll]],
+
* [[Controls#AnimationObjectScroll|AnimationObjectScroll]],  
-
* [[Controls#AnimationObjectSize|AnimationObjectSize]],
+
* [[Controls#AnimationObjectSize|AnimationObjectSize]],  
-
* [[Controls#AnimationObjectTexture|AnimationObjectTexture]],
+
* [[Controls#AnimationObjectTexture|AnimationObjectTexture]],  
-
* [[Controls#AnimationObjectTextureRotate|AnimationObjectTextureRotate]],
+
* [[Controls#AnimationObjectTextureRotate|AnimationObjectTextureRotate]],  
-
* [[Controls#AnimationObjectTextureSlide|AnimationObjectTextureSlide]],
+
* [[Controls#AnimationObjectTextureSlide|AnimationObjectTextureSlide]],  
* [[Controls#AnimationObjectTranslate|AnimationObjectTranslate]]
* [[Controls#AnimationObjectTranslate|AnimationObjectTranslate]]
Line 123: Line 123:
* IsPlaying()
* IsPlaying()
-
** '''Returns:''' '''boolean''' ''isPlaying''
+
** '''Returns:''' *bool* ''isPlaying''
* SetAnimatedControl('''object''' ''animatedControl'')
* SetAnimatedControl('''object''' ''animatedControl'')
Line 308: Line 308:
* IsMirroringAlongX()
* IsMirroringAlongX()
-
** '''Returns:''' '''boolean''' ''mirroring''
+
** '''Returns:''' *bool* ''mirroring''
* IsMirroringAlongY()
* IsMirroringAlongY()
-
** '''Returns:''' '''boolean''' ''mirroring''
+
** '''Returns:''' *bool* ''mirroring''
* SetCellsHigh('''number''' ''aNumCellsHigh'')
* SetCellsHigh('''number''' ''aNumCellsHigh'')
Line 321: Line 321:
* SetImageData('''number''' ''aNumCellsWide'', '''number''' ''aNumCellsHigh'')
* SetImageData('''number''' ''aNumCellsWide'', '''number''' ''aNumCellsHigh'')
-
* SetMirrorAlongX('''boolean''' ''mirroring'')
+
* SetMirrorAlongX(*bool* ''mirroring'')
-
* SetMirrorAlongY('''boolean''' ''mirroring'')
+
* SetMirrorAlongY(*bool* ''mirroring'')
Line 442: Line 442:
* GetSkipAnimationsBehindPlayheadOnInitialPlay()
* GetSkipAnimationsBehindPlayheadOnInitialPlay()
-
** '''Returns:''' '''boolean''' ''skipAnimations''
+
** '''Returns:''' *bool* ''skipAnimations''
* InsertAnimation('''number''' ''animationType'', '''object''' ''animatedControl'', '''number''' ''offset'')
* InsertAnimation('''number''' ''animationType'', '''object''' ''animatedControl'', '''number''' ''offset'')
Line 460: Line 460:
* IsPlaying()
* IsPlaying()
-
** '''Returns:''' '''boolean''' ''isPlaying''
+
** '''Returns:''' *bool* ''isPlaying''
* IsPlayingBackward()
* IsPlayingBackward()
-
** '''Returns:''' '''boolean''' ''reversed''
+
** '''Returns:''' *bool* ''reversed''
* PlayBackward()
* PlayBackward()
Line 493: Line 493:
* SetProgress('''number''' ''progress'')
* SetProgress('''number''' ''progress'')
-
* SetSkipAnimationsBehindPlayheadOnInitialPlay('''boolean''' ''skipAnimations'')
+
* SetSkipAnimationsBehindPlayheadOnInitialPlay(*bool* ''skipAnimations'')
* Stop()
* Stop()
Line 503: Line 503:
* IsPixelRoundingEnabled()
* IsPixelRoundingEnabled()
-
** '''Returns:''' '''boolean''' ''pixelRoundingEnabled''
+
** '''Returns:''' *bool* ''pixelRoundingEnabled''
* SetCenterColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
* SetCenterColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
Line 515: Line 515:
* SetInsets('''number''' ''left'', '''number''' ''top'', '''number''' ''right'', '''number''' ''bottom'')
* SetInsets('''number''' ''left'', '''number''' ''top'', '''number''' ''right'', '''number''' ''bottom'')
-
* SetIntegralWrapping('''boolean''' ''integralWrappingEnabled'')
+
* SetIntegralWrapping(*bool* ''integralWrappingEnabled'')
-
* SetPixelRoundingEnabled('''boolean''' ''enabled'')
+
* SetPixelRoundingEnabled(*bool* ''enabled'')
* SetTextureReleaseOption('''number''' [[Globals#ReleaseReferenceOptions|ReleaseReferenceOptions]] ''releaseOption'')
* SetTextureReleaseOption('''number''' [[Globals#ReleaseReferenceOptions|ReleaseReferenceOptions]] ''releaseOption'')
Line 523: Line 523:
===ButtonControl===
===ButtonControl===
-
* EnableMouseButton('''number''' ''buttonNum'', '''boolean''' ''enabled'')
+
* EnableMouseButton('''number''' ''buttonNum'', *bool* ''enabled'')
* GetLabelControl()
* GetLabelControl()
Line 532: Line 532:
* IsPixelRoundingEnabled()
* IsPixelRoundingEnabled()
-
** '''Returns:''' '''boolean''' ''pixelRoundingEnabled''
+
** '''Returns:''' *bool* ''pixelRoundingEnabled''
* SetClickSound('''string''' ''clickSound'')
* SetClickSound('''string''' ''clickSound'')
Line 546: Line 546:
* SetDisabledTexture('''string''' ''textureFilename'')
* SetDisabledTexture('''string''' ''textureFilename'')
-
* SetEnabled('''boolean''' ''enabled'')
+
* SetEnabled(*bool* ''enabled'')
* SetEndCapWidth('''number''' ''endCapWidth'')
* SetEndCapWidth('''number''' ''endCapWidth'')
Line 566: Line 566:
* SetNormalTexture('''string''' ''textureFilename'')
* SetNormalTexture('''string''' ''textureFilename'')
-
* SetPixelRoundingEnabled('''boolean''' ''pixelRoundingEnabled'')
+
* SetPixelRoundingEnabled(*bool* ''pixelRoundingEnabled'')
* SetPressedFontColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
* SetPressedFontColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
Line 576: Line 576:
* SetPressedTexture('''string''' ''textureFilename'')
* SetPressedTexture('''string''' ''textureFilename'')
-
* SetShowingHighlight('''boolean''' ''showingHighlight'')
+
* SetShowingHighlight(*bool* ''showingHighlight'')
-
* SetState('''[[ButtonState]]''' ''newState'', '''boolean''' ''locked'')
+
* SetState('''number''' ''newState'', *bool* ''locked'')
* SetText('''string''' ''text'')
* SetText('''string''' ''text'')
Line 587: Line 587:
* SetVerticalAlignment('''number''' ''verticalAlign'')
* SetVerticalAlignment('''number''' ''verticalAlign'')
 +
===ColorSelectControl===
===ColorSelectControl===
Line 627: Line 628:
* GetCenterOveredPinInfo('''number''' ''centerOveredPinIndex'')
* GetCenterOveredPinInfo('''number''' ''centerOveredPinIndex'')
-
** '''Returns:''' '''string''' ''description'', '''number''' [[Globals#MapDisplayPinType|MapDisplayPinType]] ''type'', '''number''' ''distance'', '''number''' [[Globals#DrawLayer|DrawLayer]] ''drawLayer'', '''number''' ''drawLevel'', '''boolean''' ''suppressed''
+
** '''Returns:''' '''string''' ''description'', '''number''' [[Globals#MapDisplayPinType|MapDisplayPinType]] ''type'', '''number''' ''distance'', '''number''' [[Globals#DrawLayer|DrawLayer]] ''drawLayer'', '''number''' ''drawLevel'', *bool* ''suppressed''
* GetCenterOveredPinLayerAndLevel('''number''' ''centerOveredPinIndex'')
* GetCenterOveredPinLayerAndLevel('''number''' ''centerOveredPinIndex'')
Line 648: Line 649:
* IsCenterOveredPinSuppressed('''number''' ''centerOveredPinIndex'')
* IsCenterOveredPinSuppressed('''number''' ''centerOveredPinIndex'')
-
** '''Returns:''' '''boolean''' ''suppressed''
+
** '''Returns:''' *bool* ''suppressed''
* SetAlphaCoefficients('''number''' [[Globals#MapDisplayPinType|MapDisplayPinType]] ''pinType'', '''number''' ''leadingCoefficient'', '''number''' ''coefficient'', '''number''' ''constant'')
* SetAlphaCoefficients('''number''' [[Globals#MapDisplayPinType|MapDisplayPinType]] ''pinType'', '''number''' ''leadingCoefficient'', '''number''' ''coefficient'', '''number''' ''constant'')
Line 664: Line 665:
Objects that inherit behavior from ''Control''
Objects that inherit behavior from ''Control''
-
* [[Controls#BackdropControl|BackdropControl]],
+
* [[Controls#BackdropControl|BackdropControl]],  
-
* [[Controls#ButtonControl|ButtonControl]],
+
* [[Controls#ButtonControl|ButtonControl]],  
-
* [[Controls#ColorSelectControl|ColorSelectControl]],
+
* [[Controls#ColorSelectControl|ColorSelectControl]],  
-
* [[Controls#CompassDisplayControl|CompassDisplayControl]],
+
* [[Controls#CompassDisplayControl|CompassDisplayControl]],  
-
* [[Controls#CooldownControl|CooldownControl]],
+
* [[Controls#CooldownControl|CooldownControl]],  
-
* [[Controls#DebugTextControl|DebugTextControl]],
+
* [[Controls#DebugTextControl|DebugTextControl]],  
-
* [[Controls#EditControl|EditControl]],
+
* [[Controls#EditControl|EditControl]],  
-
* [[Controls#LabelControl|LabelControl]],
+
* [[Controls#LabelControl|LabelControl]],  
-
* [[Controls#LineControl|LineControl]],
+
* [[Controls#LineControl|LineControl]],  
-
* [[Controls#MapDisplayControl|MapDisplayControl]],
+
* [[Controls#MapDisplayControl|MapDisplayControl]],  
-
* [[Controls#RootWindow|RootWindow]],
+
* [[Controls#RootWindow|RootWindow]],  
-
* [[Controls#ScrollControl|ScrollControl]],
+
* [[Controls#ScrollControl|ScrollControl]],  
-
* [[Controls#SliderControl|SliderControl]],
+
* [[Controls#SliderControl|SliderControl]],  
-
* [[Controls#StatusBarControl|StatusBarControl]],
+
* [[Controls#StatusBarControl|StatusBarControl]],  
-
* [[Controls#TextBufferControl|TextBufferControl]],
+
* [[Controls#TextBufferControl|TextBufferControl]],  
-
* [[Controls#TextureCompositeControl|TextureCompositeControl]],
+
* [[Controls#TextureCompositeControl|TextureCompositeControl]],  
-
* [[Controls#TextureControl|TextureControl]],
+
* [[Controls#TextureControl|TextureControl]],  
-
* [[Controls#TooltipControl|TooltipControl]],
+
* [[Controls#TooltipControl|TooltipControl]],  
* [[Controls#TopLevelWindow|TopLevelWindow]]
* [[Controls#TopLevelWindow|TopLevelWindow]]
* AddFilterForEvent('''number''' ''event'')
* AddFilterForEvent('''number''' ''event'')
-
** '''Returns:''' '''boolean''' ''success''
+
** '''Returns:''' *bool* ''success''
* {{Protected_attributes}} ClearAnchors()
* {{Protected_attributes}} ClearAnchors()
Line 709: Line 710:
* Does3DRenderSpaceUseDepthBuffer()
* Does3DRenderSpaceUseDepthBuffer()
-
** '''Returns:''' '''boolean''' ''usesDepthBuffer''
+
** '''Returns:''' *bool* ''usesDepthBuffer''
* Get3DRenderSpaceForward()
* Get3DRenderSpaceForward()
Line 733: Line 734:
* GetAnchor('''number''' ''anchorIndex'')
* GetAnchor('''number''' ''anchorIndex'')
-
** '''Returns:''' '''boolean''' ''isValidAnchor'', '''number''' ''point'', '''object''' ''relativeTo'', '''number''' ''relativePoint'', '''number''' ''offsetX'', '''number''' ''offsetY'', '''number''' [[Globals#AnchorConstrains|AnchorConstrains]] ''anchorConstrains''
+
** '''Returns:''' *bool* ''isValidAnchor'', '''number''' ''point'', '''object''' ''relativeTo'', '''number''' ''relativePoint'', '''number''' ''offsetX'', '''number''' ''offsetY'', '''number''' [[Globals#AnchorConstrains|AnchorConstrains]] ''anchorConstrains''
* GetBottom()
* GetBottom()
Line 745: Line 746:
* GetClampedToScreen()
* GetClampedToScreen()
-
** '''Returns:''' '''boolean''' ''clamped''
+
** '''Returns:''' *bool* ''clamped''
* GetClampedToScreenInsets()
* GetClampedToScreenInsets()
Line 778: Line 779:
* GetExcludeFromResizeToFitExtents()
* GetExcludeFromResizeToFitExtents()
-
** '''Returns:''' '''boolean''' ''excludes''
+
** '''Returns:''' *bool* ''excludes''
* GetHandler('''string''' ''handlerName'')
* GetHandler('''string''' ''handlerName'')
Line 793: Line 794:
* GetInheritsAlpha()
* GetInheritsAlpha()
-
** '''Returns:''' '''boolean''' ''inheritAlpha''
+
** '''Returns:''' *bool* ''inheritAlpha''
* GetInheritsScale()
* GetInheritsScale()
-
** '''Returns:''' '''boolean''' ''inheritScale''
+
** '''Returns:''' *bool* ''inheritScale''
* GetLeft()
* GetLeft()
Line 817: Line 818:
* GetResizeToFitDescendents()
* GetResizeToFitDescendents()
-
** '''Returns:''' '''boolean''' ''resizes''
+
** '''Returns:''' *bool* ''resizes''
* GetResizeToFitPadding()
* GetResizeToFitPadding()
Line 841: Line 842:
* Has3DRenderSpace()
* Has3DRenderSpace()
-
** '''Returns:''' '''boolean''' ''has3DRenderSpace''
+
** '''Returns:''' *bool* ''has3DRenderSpace''
* IsChildOf('''object''' ''desiredParent'')
* IsChildOf('''object''' ''desiredParent'')
-
** '''Returns:''' '''boolean''' ''isChild''
+
** '''Returns:''' *bool* ''isChild''
* IsControlHidden()
* IsControlHidden()
-
** '''Returns:''' '''boolean''' ''hidden''
+
** '''Returns:''' *bool* ''hidden''
* IsHandlerSet('''string''' ''handlerName'')
* IsHandlerSet('''string''' ''handlerName'')
-
** '''Returns:''' '''boolean''' ''isSet''
+
** '''Returns:''' *bool* ''isSet''
* IsHidden()
* IsHidden()
-
** '''Returns:''' '''boolean''' ''hidden''
+
** '''Returns:''' *bool* ''hidden''
* IsKeyboardEnabled()
* IsKeyboardEnabled()
-
** '''Returns:''' '''boolean''' ''enabled''
+
** '''Returns:''' *bool* ''enabled''
* IsMouseEnabled()
* IsMouseEnabled()
-
** '''Returns:''' '''boolean''' ''enabled''
+
** '''Returns:''' *bool* ''enabled''
* IsPointInside('''number''' ''x'', '''number''' ''y'', '''number''' ''leftOffset'', '''number''' ''topOffset'', '''number''' ''rightOffset'', '''number''' ''bottomOffset'')
* IsPointInside('''number''' ''x'', '''number''' ''y'', '''number''' ''leftOffset'', '''number''' ''topOffset'', '''number''' ''rightOffset'', '''number''' ''bottomOffset'')
-
** '''Returns:''' '''boolean''' ''isInside''
+
** '''Returns:''' *bool* ''isInside''
* RegisterForEvent('''number''' ''event'', '''function''' ''callback'')
* RegisterForEvent('''number''' ''event'', '''function''' ''callback'')
-
** '''Returns:''' '''boolean''' ''success''
+
** '''Returns:''' *bool* ''success''
* Set3DRenderSpaceForward('''number''' ''x'', '''number''' ''y'', '''number''' ''z'')
* Set3DRenderSpaceForward('''number''' ''x'', '''number''' ''y'', '''number''' ''z'')
Line 879: Line 880:
* Set3DRenderSpaceUp('''number''' ''x'', '''number''' ''y'', '''number''' ''z'')
* Set3DRenderSpaceUp('''number''' ''x'', '''number''' ''y'', '''number''' ''z'')
-
* Set3DRenderSpaceUsesDepthBuffer('''boolean''' ''usesDepthBuffer'')
+
* Set3DRenderSpaceUsesDepthBuffer(*bool* ''usesDepthBuffer'')
* {{Protected_attributes}} SetAlpha('''number''' ''alpha'')
* {{Protected_attributes}} SetAlpha('''number''' ''alpha'')
Line 887: Line 888:
* {{Protected_attributes}} SetAnchorFill('''object''' ''anchorTargetControl'')
* {{Protected_attributes}} SetAnchorFill('''object''' ''anchorTargetControl'')
-
* SetClampedToScreen('''boolean''' ''clamped'')
+
* SetClampedToScreen(*bool* ''clamped'')
* SetClampedToScreenInsets('''number''' ''left'', '''number''' ''top'', '''number''' ''right'', '''number''' ''bottom'')
* SetClampedToScreenInsets('''number''' ''left'', '''number''' ''top'', '''number''' ''right'', '''number''' ''bottom'')
Line 901: Line 902:
* {{Protected_attributes}} SetDrawTier('''number''' ''tier'')
* {{Protected_attributes}} SetDrawTier('''number''' ''tier'')
-
* {{Protected_attributes}} SetExcludeFromResizeToFitExtents('''boolean''' ''exclude'')
+
* {{Protected_attributes}} SetExcludeFromResizeToFitExtents(*bool* ''exclude'')
* SetHandler('''string''' ''handlerName'', '''function''' ''functionRef'')
* SetHandler('''string''' ''handlerName'', '''function''' ''functionRef'')
Line 907: Line 908:
* {{Protected_attributes}} SetHeight('''number''' ''height'')
* {{Protected_attributes}} SetHeight('''number''' ''height'')
-
* {{Protected_attributes}} SetHidden('''boolean''' ''aHidden'')
+
* {{Protected_attributes}} SetHidden(*bool* ''aHidden'')
* SetHitInsets('''number''' ''left'', '''number''' ''top'', '''number''' ''right'', '''number''' ''bottom'')
* SetHitInsets('''number''' ''left'', '''number''' ''top'', '''number''' ''right'', '''number''' ''bottom'')
Line 913: Line 914:
* SetId('''number''' ''id'')
* SetId('''number''' ''id'')
-
* SetInheritAlpha('''boolean''' ''inheritAlpha'')
+
* SetInheritAlpha(*bool* ''inheritAlpha'')
-
* SetInheritScale('''boolean''' ''inheritScale'')
+
* SetInheritScale(*bool* ''inheritScale'')
-
* {{Protected_attributes}} SetKeyboardEnabled('''boolean''' ''enabled'')
+
* {{Protected_attributes}} SetKeyboardEnabled(*bool* ''enabled'')
-
* {{Protected_attributes}} SetMouseEnabled('''boolean''' ''enabled'')
+
* {{Protected_attributes}} SetMouseEnabled(*bool* ''enabled'')
-
* SetMovable('''boolean''' ''isMovable'')
+
* SetMovable(*bool* ''isMovable'')
* {{Protected_attributes}} SetParent('''object''' ''newParent'')
* {{Protected_attributes}} SetParent('''object''' ''newParent'')
Line 927: Line 928:
* SetResizeHandleSize('''number''' ''handleSize'')
* SetResizeHandleSize('''number''' ''handleSize'')
-
* {{Protected_attributes}} SetResizeToFitDescendents('''boolean''' ''resize'')
+
* {{Protected_attributes}} SetResizeToFitDescendents(*bool* ''resize'')
* SetResizeToFitPadding('''number''' ''width'', '''number''' ''height'')
* SetResizeToFitPadding('''number''' ''width'', '''number''' ''height'')
Line 942: Line 943:
* {{Protected_attributes}} StartMoving()
* {{Protected_attributes}} StartMoving()
-
** '''Returns:''' '''boolean''' ''isMoving''
+
** '''Returns:''' *bool* ''isMoving''
* {{Protected_attributes}} StopMovingOrResizing()
* {{Protected_attributes}} StopMovingOrResizing()
Line 949: Line 950:
* UnregisterForEvent('''number''' ''event'')
* UnregisterForEvent('''number''' ''event'')
-
** '''Returns:''' '''boolean''' ''success''
+
** '''Returns:''' *bool* ''success''
Line 976: Line 977:
* SetPercentCompleteFixed('''number''' ''percentComplete'')
* SetPercentCompleteFixed('''number''' ''percentComplete'')
-
* SetRadialCooldownClockwise('''boolean''' ''clockwise'')
+
* SetRadialCooldownClockwise(*bool* ''clockwise'')
* SetRadialCooldownGradient('''number''' ''startAlpha'', '''number''' ''angularDistance'')
* SetRadialCooldownGradient('''number''' ''startAlpha'', '''number''' ''angularDistance'')
Line 988: Line 989:
* SetVerticalCooldownLeadingEdgeHeight('''number''' ''leadingEdgeHeight'')
* SetVerticalCooldownLeadingEdgeHeight('''number''' ''leadingEdgeHeight'')
-
* StartCooldown('''number''' ''remain'', '''number''' ''duration'', '''number''' ''cooldownType'', '''number''' ''cooldownTimeType'', '''boolean''' ''drawLeadingEdge'')
+
* StartCooldown('''number''' ''remain'', '''number''' ''duration'', '''number''' ''cooldownType'', '''number''' ''cooldownTimeType'', *bool* ''drawLeadingEdge'')
-
* StartFixedCooldown('''number''' ''percentComplete'', '''number''' ''cooldownType'', '''number''' ''cooldownTimeType'', '''boolean''' ''drawLeadingEdge'')
+
* StartFixedCooldown('''number''' ''percentComplete'', '''number''' ''cooldownType'', '''number''' ''cooldownTimeType'', *bool* ''drawLeadingEdge'')
Line 1,009: Line 1,010:
* GetCopyEnabled()
* GetCopyEnabled()
-
** '''Returns:''' '''boolean''' ''enabled''
+
** '''Returns:''' *bool* ''enabled''
* GetCursorPosition()
* GetCursorPosition()
Line 1,015: Line 1,016:
* GetEditEnabled()
* GetEditEnabled()
-
** '''Returns:''' '''boolean''' ''enabled''
+
** '''Returns:''' *bool* ''enabled''
* GetFontHeight()
* GetFontHeight()
Line 1,021: Line 1,022:
* GetNewLineEnabled()
* GetNewLineEnabled()
-
** '''Returns:''' '''boolean''' ''enabled''
+
** '''Returns:''' *bool* ''enabled''
* GetPasteEnabled()
* GetPasteEnabled()
-
** '''Returns:''' '''boolean''' ''enabled''
+
** '''Returns:''' *bool* ''enabled''
* GetScrollExtents()
* GetScrollExtents()
Line 1,036: Line 1,037:
* HasFocus()
* HasFocus()
-
** '''Returns:''' '''boolean''' ''aRet''
+
** '''Returns:''' *bool* ''aRet''
* HasSelection()
* HasSelection()
-
** '''Returns:''' '''boolean''' ''hasSelection''
+
** '''Returns:''' *bool* ''hasSelection''
* InsertText('''string''' ''aText'')
* InsertText('''string''' ''aText'')
* IsComposingIMEText()
* IsComposingIMEText()
-
** '''Returns:''' '''boolean''' ''isComposing''
+
** '''Returns:''' *bool* ''isComposing''
* IsMultiLine()
* IsMultiLine()
-
** '''Returns:''' '''boolean''' ''isMultiLine''
+
** '''Returns:''' *bool* ''isMultiLine''
* LoseFocus()
* LoseFocus()
Line 1,057: Line 1,058:
* SetColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
* SetColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
-
* SetCopyEnabled('''boolean''' ''enabled'')
+
* SetCopyEnabled(*bool* ''enabled'')
* SetCursorPosition('''number''' ''cursorPosition'')
* SetCursorPosition('''number''' ''cursorPosition'')
-
* SetEditEnabled('''boolean''' ''enabled'')
+
* SetEditEnabled(*bool* ''enabled'')
* SetFont('''string''' ''font'')
* SetFont('''string''' ''font'')
Line 1,067: Line 1,068:
* SetMaxInputChars('''number''' ''maxChars'')
* SetMaxInputChars('''number''' ''maxChars'')
-
* SetMultiLine('''boolean''' ''isMultiLine'')
+
* SetMultiLine(*bool* ''isMultiLine'')
-
* SetNewLineEnabled('''boolean''' ''enabled'')
+
* SetNewLineEnabled(*bool* ''enabled'')
-
* SetPasteEnabled('''boolean''' ''enabled'')
+
* SetPasteEnabled(*bool* ''enabled'')
* SetSelection('''number''' ''selectionStartIndex'', '''number''' ''selectionEndIndex'')
* SetSelection('''number''' ''selectionStartIndex'', '''number''' ''selectionEndIndex'')
Line 1,088: Line 1,089:
* WasLastChangeVirtualKeyboard()
* WasLastChangeVirtualKeyboard()
-
** '''Returns:''' '''boolean''' ''aRet''
+
** '''Returns:''' *bool* ''aRet''
Line 1,104: Line 1,105:
* DidLineWrap()
* DidLineWrap()
-
** '''Returns:''' '''boolean''' ''didLineWrap''
+
** '''Returns:''' *bool* ''didLineWrap''
* GetColor()
* GetColor()
Line 1,158: Line 1,159:
* SetNewLineX('''number''' ''newLineX'')
* SetNewLineX('''number''' ''newLineX'')
-
* SetPixelRoundingEnabled('''boolean''' ''pixelRoundingEnabled'')
+
* SetPixelRoundingEnabled(*bool* ''pixelRoundingEnabled'')
* SetStyleColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
* SetStyleColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
Line 1,169: Line 1,170:
* WasTruncated()
* WasTruncated()
-
** '''Returns:''' '''boolean''' ''wasTruncated''
+
** '''Returns:''' *bool* ''wasTruncated''
Line 1,192: Line 1,193:
* IsPixelRoundingEnabled()
* IsPixelRoundingEnabled()
-
** '''Returns:''' '''boolean''' ''pixelRoundingEnabled''
+
** '''Returns:''' *bool* ''pixelRoundingEnabled''
* IsTextureLoaded()
* IsTextureLoaded()
-
** '''Returns:''' '''boolean''' ''loaded''
+
** '''Returns:''' *bool* ''loaded''
* SetBlendMode('''number''' [[Globals#TextureBlendMode|TextureBlendMode]] ''blendMode'')
* SetBlendMode('''number''' [[Globals#TextureBlendMode|TextureBlendMode]] ''blendMode'')
Line 1,205: Line 1,206:
* SetGradientColors('''number''' [[Globals#ControlOrientation|ControlOrientation]] ''orientation'', '''number''' ''startR'', '''number''' ''startG'', '''number''' ''startB'', '''number''' ''startA'', '''number''' ''endR'', '''number''' ''endG'', '''number''' ''endB'', '''number''' ''endA'')
* SetGradientColors('''number''' [[Globals#ControlOrientation|ControlOrientation]] ''orientation'', '''number''' ''startR'', '''number''' ''startG'', '''number''' ''startB'', '''number''' ''startA'', '''number''' ''endR'', '''number''' ''endG'', '''number''' ''endB'', '''number''' ''endA'')
-
* SetPixelRoundingEnabled('''boolean''' ''pixelRoundingEnabled'')
+
* SetPixelRoundingEnabled(*bool* ''pixelRoundingEnabled'')
* SetTexture('''string''' ''filename'')
* SetTexture('''string''' ''filename'')
Line 1,247: Line 1,248:
===SliderControl===
===SliderControl===
* DoesAllowDraggingFromThumb()
* DoesAllowDraggingFromThumb()
-
** '''Returns:''' '''boolean''' ''allow''
+
** '''Returns:''' *bool* ''allow''
* GetEnabled()
* GetEnabled()
-
** '''Returns:''' '''boolean''' ''isEnabled''
+
** '''Returns:''' *bool* ''isEnabled''
* GetMinMax()
* GetMinMax()
Line 1,268: Line 1,269:
* IsThumbFlushWithExtents()
* IsThumbFlushWithExtents()
-
** '''Returns:''' '''boolean''' ''flush''
+
** '''Returns:''' *bool* ''flush''
-
* SetAllowDraggingFromThumb('''boolean''' ''allow'')
+
* SetAllowDraggingFromThumb(*bool* ''allow'')
* SetBackgroundBottomTexture('''string''' ''fileName'', '''number''' ''texTop'', '''number''' ''texLeft'', '''number''' ''texBottom'', '''number''' ''texRight'')
* SetBackgroundBottomTexture('''string''' ''fileName'', '''number''' ''texTop'', '''number''' ''texLeft'', '''number''' ''texBottom'', '''number''' ''texRight'')
Line 1,280: Line 1,281:
* SetColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
* SetColor('''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' ''a'')
-
* SetEnabled('''boolean''' ''enable'')
+
* SetEnabled(*bool* ''enable'')
* SetMinMax('''number''' ''min'', '''number''' ''max'')
* SetMinMax('''number''' ''min'', '''number''' ''max'')
Line 1,286: Line 1,287:
* SetOrientation('''number''' ''orientation'')
* SetOrientation('''number''' ''orientation'')
-
* SetThumbFlushWithExtents('''boolean''' ''flush'')
+
* SetThumbFlushWithExtents(*bool* ''flush'')
* SetThumbTexture('''string''' ''filename'', '''string''' ''disabledFilename'', '''string''' ''highlightedFilename'', '''number''' ''thumbWidth'', '''number''' ''thumbHeight'', '''number''' ''texTop'', '''number''' ''texLeft'', '''number''' ''texBottom'', '''number''' ''texRight'')
* SetThumbTexture('''string''' ''filename'', '''string''' ''disabledFilename'', '''string''' ''highlightedFilename'', '''number''' ''thumbWidth'', '''number''' ''thumbHeight'', '''number''' ''texTop'', '''number''' ''texLeft'', '''number''' ''texBottom'', '''number''' ''texRight'')
Line 1,300: Line 1,301:
* ClearFadeOutLossAdjustedTopValue()
* ClearFadeOutLossAdjustedTopValue()
-
* EnableFadeOut('''boolean''' ''enabled'')
+
* EnableFadeOut(*bool* ''enabled'')
-
* EnableLeadingEdge('''boolean''' ''enabled'')
+
* EnableLeadingEdge(*bool* ''enabled'')
-
* EnableScrollingOverlay('''boolean''' ''enabled'')
+
* EnableScrollingOverlay(*bool* ''enabled'')
* GetMinMax()
* GetMinMax()
Line 1,353: Line 1,354:
* GetDrawLastEntryIfOutOfRoom()
* GetDrawLastEntryIfOutOfRoom()
-
** '''Returns:''' '''boolean''' ''drawLastIfOutOfRoom''
+
** '''Returns:''' *bool* ''drawLastIfOutOfRoom''
* GetLineFade()
* GetLineFade()
Line 1,359: Line 1,360:
* GetLinkEnabled()
* GetLinkEnabled()
-
** '''Returns:''' '''boolean''' ''linkEnabed''
+
** '''Returns:''' *bool* ''linkEnabed''
* GetMaxHistoryLines()
* GetMaxHistoryLines()
Line 1,374: Line 1,375:
* IsSplittingLongMessages()
* IsSplittingLongMessages()
-
** '''Returns:''' '''boolean''' ''isSplitting''
+
** '''Returns:''' *bool* ''isSplitting''
* MoveScrollPosition('''number''' ''numLines'')
* MoveScrollPosition('''number''' ''numLines'')
-
* SetClearBufferAfterFadeout('''boolean''' ''clearAfterFade'')
+
* SetClearBufferAfterFadeout(*bool* ''clearAfterFade'')
* SetColorById('''number''' ''colorId'', '''number''' ''r'', '''number''' ''g'', '''number''' ''b'')
* SetColorById('''number''' ''colorId'', '''number''' ''r'', '''number''' ''g'', '''number''' ''b'')
-
* SetDrawLastEntryIfOutOfRoom('''boolean''' ''drawLastIfOutOfRoom'')
+
* SetDrawLastEntryIfOutOfRoom(*bool* ''drawLastIfOutOfRoom'')
* SetFont('''string''' ''fontString'')
* SetFont('''string''' ''fontString'')
Line 1,390: Line 1,391:
* SetLineFade('''number''' ''timeBeforeLineFadeBegins'', '''number''' ''timeForLineToFade'')
* SetLineFade('''number''' ''timeBeforeLineFadeBegins'', '''number''' ''timeForLineToFade'')
-
* SetLinesInheritAlpha('''boolean''' ''linesInheritAlpha'')
+
* SetLinesInheritAlpha(*bool* ''linesInheritAlpha'')
-
* SetLinkEnabled('''boolean''' ''linkEnabed'')
+
* SetLinkEnabled(*bool* ''linkEnabed'')
* SetMaxHistoryLines('''number''' ''numLines'')
* SetMaxHistoryLines('''number''' ''numLines'')
Line 1,398: Line 1,399:
* SetScrollPosition('''number''' ''line'')
* SetScrollPosition('''number''' ''line'')
-
* SetSplitLongMessages('''boolean''' ''splitLongMessages'')
+
* SetSplitLongMessages(*bool* ''splitLongMessages'')
* ShowFadedLines()
* ShowFadedLines()
Line 1,436: Line 1,437:
* IsPixelRoundingEnabled()
* IsPixelRoundingEnabled()
-
** '''Returns:''' '''boolean''' ''pixelRoundingEnabled''
+
** '''Returns:''' *bool* ''pixelRoundingEnabled''
* IsSurfaceHidden('''number''' ''surfaceIndex'')
* IsSurfaceHidden('''number''' ''surfaceIndex'')
-
** '''Returns:''' '''boolean''' ''hidden''
+
** '''Returns:''' *bool* ''hidden''
* IsTextureLoaded()
* IsTextureLoaded()
-
** '''Returns:''' '''boolean''' ''loaded''
+
** '''Returns:''' *bool* ''loaded''
* RemoveSurface('''number''' ''surfaceIndex'')
* RemoveSurface('''number''' ''surfaceIndex'')
Line 1,454: Line 1,455:
* SetInsets('''number''' ''surfaceIndex'', '''number''' ''left'', '''number''' ''right'', '''number''' ''top'', '''number''' ''bottom'')
* SetInsets('''number''' ''surfaceIndex'', '''number''' ''left'', '''number''' ''right'', '''number''' ''top'', '''number''' ''bottom'')
-
* SetPixelRoundingEnabled('''boolean''' ''pixelRoundingEnabled'')
+
* SetPixelRoundingEnabled(*bool* ''pixelRoundingEnabled'')
* SetSurfaceAlpha('''number''' ''surfaceIndex'', '''number''' ''a'')
* SetSurfaceAlpha('''number''' ''surfaceIndex'', '''number''' ''a'')
-
* SetSurfaceHidden('''number''' ''surfaceIndex'', '''boolean''' ''hidden'')
+
* SetSurfaceHidden('''number''' ''surfaceIndex'', *bool* ''hidden'')
* SetTexture('''string''' ''filename'')
* SetTexture('''string''' ''filename'')
Line 1,484: Line 1,485:
* GetResizeToFitFile()
* GetResizeToFitFile()
-
** '''Returns:''' '''boolean''' ''resizesToFitFile''
+
** '''Returns:''' *bool* ''resizesToFitFile''
* GetTextureCoords()
* GetTextureCoords()
Line 1,499: Line 1,500:
* Is3DQuadFacingCamera()
* Is3DQuadFacingCamera()
-
** '''Returns:''' '''boolean''' ''isFacing''
+
** '''Returns:''' *bool* ''isFacing''
* IsPixelRoundingEnabled()
* IsPixelRoundingEnabled()
-
** '''Returns:''' '''boolean''' ''pixelRoundingEnabled''
+
** '''Returns:''' *bool* ''pixelRoundingEnabled''
* IsTextureLoaded()
* IsTextureLoaded()
-
** '''Returns:''' '''boolean''' ''loaded''
+
** '''Returns:''' *bool* ''loaded''
* Set3DLocalDimensions('''number''' ''width'', '''number''' ''height'')
* Set3DLocalDimensions('''number''' ''width'', '''number''' ''height'')
Line 1,511: Line 1,512:
* SetAddressMode('''number''' [[Globals#TextureAddressMode|TextureAddressMode]] ''addressMode'')
* SetAddressMode('''number''' [[Globals#TextureAddressMode|TextureAddressMode]] ''addressMode'')
-
* SetAutoAdjustWrappedCoords('''boolean''' ''enabled'')
+
* SetAutoAdjustWrappedCoords(*bool* ''enabled'')
* SetBlendMode('''number''' [[Globals#TextureBlendMode|TextureBlendMode]] ''blendMode'')
* SetBlendMode('''number''' [[Globals#TextureBlendMode|TextureBlendMode]] ''blendMode'')
Line 1,521: Line 1,522:
* SetGradientColors('''number''' [[Globals#ControlOrientation|ControlOrientation]] ''orientation'', '''number''' ''startR'', '''number''' ''startG'', '''number''' ''startB'', '''number''' ''startA'', '''number''' ''endR'', '''number''' ''endG'', '''number''' ''endB'', '''number''' ''endA'')
* SetGradientColors('''number''' [[Globals#ControlOrientation|ControlOrientation]] ''orientation'', '''number''' ''startR'', '''number''' ''startG'', '''number''' ''startB'', '''number''' ''startA'', '''number''' ''endR'', '''number''' ''endG'', '''number''' ''endB'', '''number''' ''endA'')
-
* SetPixelRoundingEnabled('''boolean''' ''pixelRoundingEnabled'')
+
* SetPixelRoundingEnabled(*bool* ''pixelRoundingEnabled'')
-
* SetResizeToFitFile('''boolean''' ''resizesToFitFile'')
+
* SetResizeToFitFile(*bool* ''resizesToFitFile'')
* SetTexture('''string''' ''filename'')
* SetTexture('''string''' ''filename'')
Line 1,541: Line 1,542:
===TooltipControl===
===TooltipControl===
-
* AddControl('''object''' ''control'', '''number''' ''cell'', '''boolean''' ''useLastRow'')
+
* AddControl('''object''' ''control'', '''number''' ''cell'', *bool* ''useLastRow'')
* AddHeaderControl('''object''' ''control'', '''number''' ''headerRow'', '''number''' [[Globals#TooltipHeaderSide|TooltipHeaderSide]] ''headerSide'')
* AddHeaderControl('''object''' ''control'', '''number''' ''headerRow'', '''number''' [[Globals#TooltipHeaderSide|TooltipHeaderSide]] ''headerSide'')
Line 1,547: Line 1,548:
* AddHeaderLine('''string''' ''text'', '''string''' ''font'', '''number''' ''headerRow'', '''number''' [[Globals#TooltipHeaderSide|TooltipHeaderSide]] ''headerSide'', '''number''' ''r'', '''number''' ''g'', '''number''' ''b'')
* AddHeaderLine('''string''' ''text'', '''string''' ''font'', '''number''' ''headerRow'', '''number''' [[Globals#TooltipHeaderSide|TooltipHeaderSide]] ''headerSide'', '''number''' ''r'', '''number''' ''g'', '''number''' ''b'')
-
* AddLine('''string''' ''text'', '''string''' ''font'', '''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' [[Globals#AnchorPosition|AnchorPosition]] ''lineAnchor'', '''number''' [[Globals#ModifyTextType|ModifyTextType]] ''modifyTextType'', '''number''' [[Globals#TextAlignment|TextAlignment]] ''textAlignment'', '''boolean''' ''setToFullSize'')
+
* AddLine('''string''' ''text'', '''string''' ''font'', '''number''' ''r'', '''number''' ''g'', '''number''' ''b'', '''number''' [[Globals#AnchorPosition|AnchorPosition]] ''lineAnchor'', '''number''' [[Globals#ModifyTextType|ModifyTextType]] ''modifyTextType'', '''number''' [[Globals#TextAlignment|TextAlignment]] ''textAlignment'', *bool* ''setToFullSize'')
* AddVerticalPadding('''number''' ''paddingY'')
* AddVerticalPadding('''number''' ''paddingY'')
-
* AppendAvAObjective('''number''' ''queryType'', '''number''' ''keepId'', '''number''' ''objectiveId'', '''boolean''' ''isSpawnPosition'')
+
* AppendAvAObjective('''number''' ''queryType'', '''number''' ''keepId'', '''number''' ''objectiveId'', '''number''' [[Globals#ObjectivePinTier|ObjectivePinTier]] ''objectivePinTier'')
* AppendMapPing('''number''' ''pingType'', '''string''' ''unitTag'')
* AppendMapPing('''number''' ''pingType'', '''string''' ''unitTag'')
Line 1,568: Line 1,569:
* HideComparativeTooltips()
* HideComparativeTooltips()
-
* SetAbility('''number''' ''aAbilityIndex'', '''boolean''' ''aShowBase'')
+
* SetAbility('''number''' ''aAbilityIndex'', *bool* ''aShowBase'')
* SetAbilityId('''number''' ''abilityId'')
* SetAbilityId('''number''' ''abilityId'')
Line 1,594: Line 1,595:
* SetChampionSkillAbility('''number''' ''disiplineIndex'', '''number''' ''skillIndex'', '''number''' ''numPendingPoints'')
* SetChampionSkillAbility('''number''' ''disiplineIndex'', '''number''' ''skillIndex'', '''number''' ''numPendingPoints'')
-
* SetCollectible('''number''' ''collectibleId'', '''boolean''' ''addNickname'', '''boolean''' ''showHint'', '''boolean''' ''showBlockReason'')
+
* SetCollectible('''number''' ''collectibleId'', *bool* ''addNickname'', *bool* ''showHint'', *bool* ''showBlockReason'')
-
* SetEmperorBonusAbility('''number''' ''campaignId'', '''number''' ''alliance'')
+
* SetEmperorBonusAbility('''number''' ''campaignId'', '''number''' [[Globals#Alliance|Alliance]] ''alliance'')
* SetFont('''string''' ''fontStr'')
* SetFont('''string''' ''fontStr'')
-
 
-
* SetForceTooltipNotStolen('''boolean''' ''forceNotStolen'')
 
* SetGuildSpecificItem('''number''' ''guildSpecificItemIndex'')
* SetGuildSpecificItem('''number''' ''guildSpecificItemIndex'')
Line 1,633: Line 1,632:
* SetPendingSmithingItem('''number''' ''patternIndex'', '''number''' ''materialIndex'', '''number''' ''materialQuantity'', '''number''' ''styleIndex'', '''number''' ''traitIndex'')
* SetPendingSmithingItem('''number''' ''patternIndex'', '''number''' ''materialIndex'', '''number''' ''materialQuantity'', '''number''' ''styleIndex'', '''number''' ''traitIndex'')
 +
 +
* SetPlacedFurniture('''id64''' ''placedFurnitureId'')
* SetProgressionAbility('''number''' ''aProgressionIndex'', '''number''' ''aMorph'', '''number''' ''aRank'')
* SetProgressionAbility('''number''' ''aProgressionIndex'', '''number''' ''aMorph'', '''number''' ''aRank'')
Line 1,646: Line 1,647:
* SetQuestTool('''number''' ''questIndex'', '''number''' ''toolIndex'')
* SetQuestTool('''number''' ''questIndex'', '''number''' ''toolIndex'')
-
* SetScrollBonusAbility('''number''' ''alliance'', '''number''' ''artifactType'', '''number''' ''bonusIndex'')
+
* SetScrollBonusAbility('''number''' [[Globals#Alliance|Alliance]] ''alliance'', '''number''' [[Globals#ObjectiveType|ObjectiveType]] ''artifactType'', '''number''' ''bonusIndex'')
* SetSkillAbility('''number''' ''skillType'', '''number''' ''skillIndex'', '''number''' ''abilityIndex'')
* SetSkillAbility('''number''' ''skillType'', '''number''' ''skillIndex'', '''number''' ''abilityIndex'')
Line 1,679: Line 1,680:
===TopLevelWindow===
===TopLevelWindow===
* AllowBringToTop()
* AllowBringToTop()
-
** '''Returns:''' '''boolean''' ''allow''
+
** '''Returns:''' *bool* ''allow''
* {{Protected_attributes}} BringWindowToTop()
* {{Protected_attributes}} BringWindowToTop()
-
* {{Protected_attributes}} SetAllowBringToTop('''boolean''' ''allow'')
+
* {{Protected_attributes}} SetAllowBringToTop(*bool* ''allow'')
-
* {{Private function}} SetDrawWhenGuiHidden('''boolean''' ''drawWhenHidden'')
+
* {{Private function}} SetDrawWhenGuiHidden(*bool* ''drawWhenHidden'')
-
* SetTopmost('''boolean''' ''isTopmost'')
+
* SetTopmost(*bool* ''isTopmost'')
Line 1,715: Line 1,716:
* IsHandlingHardwareEvent()
* IsHandlingHardwareEvent()
-
** '''Returns:''' '''boolean''' ''isHandlingHardwareEvent''
+
** '''Returns:''' *bool* ''isHandlingHardwareEvent''
* IsMouseOverWorld()
* IsMouseOverWorld()
-
** '''Returns:''' '''boolean''' ''isMouseOverWorld''
+
** '''Returns:''' *bool* ''isMouseOverWorld''
* IsSecureRenderModeEnabled()
* IsSecureRenderModeEnabled()
-
** '''Returns:''' '''boolean''' ''secureRenderModeEnabled''
+
** '''Returns:''' *bool* ''secureRenderModeEnabled''
* SetFocusByName('''string''' ''name'')
* SetFocusByName('''string''' ''name'')

Revision as of 20:52, 23 May 2017

Page up-to-date to API Version 100019




Contents

Introduction

This is the list of the different functions (methods) of the UI Objects of Elder Scrolls Online. Objects can be defined throught XML or in Lua


Objects creation throught XML :

<!-- Basic -->
<Label name="objectName" />
 
<!-- With few elements -->
<Label name="Name" font="ZoFontGame" verticalAlignment="CENTER">
	<Dimensions x="350" y="48" />
	<Anchor point="TOPLEFT" relativeTo="$(parent)" />
</Label>


Objects creation throught Lua:

-- Will create a new control without any parent.
CreateControl("ControlName", CT_LABEL ) -- See http://wiki.esoui.com/Globals#ControlType


Then, you can call any of the methods listed under :

For our LabelControl :

objectName:SetText("Something") -- Object defined in the XML snippet.
Name:SetColor(1, 1, 1) -- Object defined in the XML snippet.
local text = ControlName:GetText() -- Object defined in the Lua snippet.


Objects Types and their methods

AddOnManager


AnimationManager


AnimationObject

Objects that inherit behavior from AnimationObject


AnimationObject3DRotate


AnimationObject3DTranslate


AnimationObjectAlpha


AnimationObjectColor


AnimationObjectCustom


AnimationObjectScale


AnimationObjectScroll


AnimationObjectSize


AnimationObjectTexture


AnimationObjectTextureRotate


AnimationObjectTextureSlide


AnimationObjectTranslate


AnimationTimeline


BackdropControl


ButtonControl


ColorSelectControl


CompassDisplayControl


Control

Objects that inherit behavior from Control


CooldownControl


DebugTextControl


EditControl


FontObject


LabelControl


LineControl


MapDisplayControl


RootWindow

ScrollControl


SliderControl


StatusBarControl


TextBufferControl


TextureCompositeControl


TextureControl


TooltipControl


TopLevelWindow


WindowManager

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox