I love the smell of UnrealEd crashing in the morning. – tarquin

UE3:UIStyleResolver (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Interface >> UIStyleResolver
Package: 
Engine
Known implementing classes:
UIComp_DrawImage, UIComp_DrawString, UIComp_DrawCaption, UIComp_DrawStringEditbox, UIComp_DrawStringSlider, UIComp_DrawTeamColoredImage, UIComp_UTDrawStateImage, UIComp_UTGlowString
This interface in other games:
UDK

Provides an interface for dealing with non-widgets that have UIStyleReferences which need to be resolved when the widget's style is resolved.

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved

Native functions

GetStyleResolverTag

native function name GetStyleResolverTag ()

Returns the tag assigned to this UIStyleResolver by whichever object manages its lifetime.

NotifyResolveStyle

native function bool NotifyResolveStyle (UISkin ActiveSkin, bool bClearExistingValue, optional UIState CurrentMenuState, const optional name StylePropertyName)

Notifies this style resolver to resolve its style references.

Parameters:

  • ActiveSkin - the skin the use for resolving the style reference.
  • bClearExistingValue - if TRUE, style references will be invalidated first.
  • CurrentMenuState - the menu state to use for resolving the style data; if not specified, uses the current menu state of the owning widget.
  • StyleProperty - if specified, only the style reference corresponding to the specified property will be resolved; otherwise, all style references will be resolved.

SetStyleResolverTag

native function bool SetStyleResolverTag (name NewResolverTag)

Changes the tag assigned to the UIStyleResolver to the specified value.