|
void | SetupMenu (SCR_SelectionMenu menu) |
| Set menu and register callback reactions for menu Clear callbacks if there was any other menu used.
|
|
override void | DisplayStartDraw (IEntity owner) |
| Setup menu
|
|
override void | DisplayOnSuspended () |
| Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
|
|
SCR_SelectionMenu | GetMenu () |
|
void | SetEnabled (bool isEnabled) |
|
override void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
|
|
SCR_InfoDisplayHandler | GetHandler (TypeName handlerType) |
|
SCR_InfoDisplayInvoker | GetOnStart () |
|
SCR_InfoDisplayInvoker | GetOnStop () |
|
IEntity | GetOwnerEntity () |
|
Widget | GetContentWidget () |
|
string | GetContentWidgetName () |
|
void | SetRootWidget (notnull Widget root) |
|
void | SetContentWidget (notnull Widget content) |
|
void | Show (bool show, float speed=UIConstants.FADE_RATE_INSTANT, EAnimationCurve curve=EAnimationCurve.LINEAR) |
| Show/hide InfoDisplay properly, not breaking other systems like AdaptiveOpacity or ConditionalVisibility.
|
|
bool | IsShown () |
|
Widget | GetRootWidget () |
|
bool | GetDimensions (out float width, out float height, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
bool | GetAnchorPosition (out float x, out float y, EWidgetAnchor anchor=EWidgetAnchor.TOPLEFT, bool addSafezones=true) |
| Get width and height of the InfoDisplay element, optionally with safezones adjustments.
|
|
void | RegisterToHudManager () |
|
proto external int | GetInfoDisplays (out notnull array< BaseInfoDisplay > outInfoDisplays) |
|
proto external GenericComponent | FindComponentInParentContainer (TypeName typeName) |
|
|
void | FindMenu () |
| Method ready for override to find menu at custom place.
|
|
void | CreateEntryWidgets () |
| Will create entries in HUD layout.
|
|
void | CreateNewEntry (int i) |
|
void | RemoveEntry (Widget entry, int id) |
|
void | SetupEntryWidget (notnull SCR_SelectionMenuEntry entry, notnull Widget widget, int id) |
| Setup entry widget properties specific for each menu Method can e.g.
|
|
void | ClearEntryWidgets () |
| Remove all entries from HUD layout.
|
|
bool | EntriesChanged (array< ref SCR_SelectionMenuEntry > entries) |
| Check if used data are still same.
|
|
void | OnMenuOpen () |
|
void | OnMenuClose () |
|
void | OnMenuEntriesUpdate (SCR_SelectionMenu menu, array< ref SCR_SelectionMenuEntry > entries) |
|
void | OnMenuEntrySelected (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry, int id) |
| React on selected entry change.
|
|
void | OnMenuEntryPerform (SCR_SelectionMenu menu, SCR_SelectionMenuEntry entry) |
| React on selected entry change.
|
|
void | DebugPrint (string method, string msg) |
|
bool | DisplayStartDrawInit (IEntity owner) |
|
void | DisplayStartDraw (IEntity owner) |
|
void | DisplayStopDraw (IEntity owner) |
|
void | DisplayInit (IEntity owner) |
|
void | DisplayUpdate (IEntity owner, float timeSlice) |
|
void | DisplayControlledEntityChanged (IEntity from, IEntity to) |
|
void | DisplayConsciousnessChanged (bool conscious, bool init=false) |
|
void | DisplayOnSuspended () |
| Called when GUI is temporarily suspended due to visibility flags; e.g. GM entered and GUI marked as not to show in GM.
|
|
void | DisplayOnResumed () |
|
void | InitializeInterfaceSettings () |
|
void | OnSettingsChanged () |
|
void | OnShownFinished (Widget w, float targetOpacity, WidgetAnimationOpacity anim=null) |
|
override void | OnStartDraw (IEntity owner) |
|
void | AdaptiveOpacity_Update (float opacity, float sceneBrightness, bool init=false) |
|
override void | OnStopDraw (IEntity owner) |
|
override void | UpdateValues (IEntity owner, float timeSlice) |
|
override void | OnInit (IEntity owner) |
|
void | OnInit (IEntity owner) |
|
void | UpdateValues (IEntity owner, float timeSlice) |
|
void | OnStartDraw (IEntity owner) |
|
void | OnStopDraw (IEntity owner) |
|
Radial menu class for handling HUD part of menu.