DIFF

class MapMenuSource

MapMenu UIScriptedMenu UIMenuPanel Managed

All members, including inherited

Constructors 1

Constants 3

protected const string COORD_FORMAT = "%1.%2%3"
Referenced by Update()
protected const int SCALE_RULER_LINE_WIDTH = 8
Referenced by RenderScaleRuler()
protected const int SCALE_RULER_NUM_SEGMENTS = 10
Referenced by RenderScaleRuler()

Members 27

protected bool m_WasChanged
protected bool m_HasCompass
Referenced by Init(), and Update()
protected bool m_HasGPS
Referenced by Init(), and Update()
protected bool m_IsOpenning
Referenced by Init(), and Update()
protected float m_ToolScaleCellSizeCanvasWidth
Referenced by Init(), RenderScaleRuler(), and Update()
protected float m_ToolsContainerPos0[2]
Referenced by Init(), and ShiftMapToolsContainer()
protected ref IngameHud m_Hud
Referenced by CloseMapMenu(), and Init()
protected ref MapHandler m_MapMenuHandler
Referenced by Init()
protected ref MapWidget m_MapWidgetInstance
Referenced by AddMarker(), Init(), LoadMapMarkers()
Show 1 more, Update()
protected ref SizeToChild m_LegendResizer
protected Widget m_MapToolsContainer
Referenced by Init(), and ShiftMapToolsContainer()
protected ImageWidget m_Images
Referenced by Update()
protected Widget m_GPSMarker
protected ImageWidget m_GPSMarkerArrow
protected Widget m_UpperLegendContainer
protected Widget m_ToolsCompassBase
Referenced by Init()
protected ImageWidget m_ToolsCompassArrow
protected TextWidget m_ToolsCompassAzimuth
protected TextWidget m_ToolsScaleContourText
Referenced by Init(), and Update()
protected TextWidget m_ToolsGPSElevationText
Referenced by Init(), and Update()
protected TextWidget m_ToolsGPSXText
Referenced by Init(), and Update()
protected TextWidget m_ToolsGPSYText
Referenced by Init(), and Update()
protected TextWidget m_ToolsScaleCellSizeText
Referenced by Init(), and Update()
protected CanvasWidget m_ToolsScaleCellSizeCanvas
Referenced by Init(), RenderScaleRuler(), and Update()
protected ItemMap m_Map
Referenced by AddMarker(), CloseMapMenu(), InitMapItem()
Show 1 more, LoadMapMarkers()
protected Widget m_ToolbarPanel
protected ref MapNavigationBehaviour m_MapNavigationBehaviour
Referenced by Init(), and Update()

Methods 21

override Widget Init()
References Class.Cast(), Class.Cast(), Class.Cast()
Show 62 more, Class.Cast(), Class.Cast(), Class.Cast(), CGame.ConfigGetVector(), WorkspaceWidget.CreateWidgets(), Widget.FindAnyWidget(), string.Format(), Mission.GetHud(), PlayerBase.GetLastMapInfo(), CfgGameplayHandler.GetMapDisplayNavigationInfo(), CfgGameplayHandler.GetMapDisplayPlayerPosition(), CfgGameplayHandler.GetMapIgnoreNavItemsOwnership(), PlayerBase.GetMapNavigationBehaviour(), CGame.GetMission(), MapNavigationBehaviour.GetNavigationType(), Mission.GetOnInputDeviceChanged(), Mission.GetOnInputPresetChanged(), CGame.GetPlayer(), MapNavigationBehaviour.GetPositionReal(), Widget.GetScreenPos(), Widget.GetScript(), Widget.GetSize(), CGame.GetWorkspace(), CGame.GetWorldName(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), new MapHandler(), SetCompassUIVisibility(), SetGPSDirectionVisibility(), SetGPSMarkerVisibility(), MapWidget.SetMapPos(), MapWidget.SetScale(), SetUpperLegendVisibility(), IngameHud.ShowHudUI(), IngameHud.ShowQuickbarUI(), Widget.Update(), Vector(), UIScriptedMenu.layoutRoot, m_GPSMarker, m_GPSMarkerArrow, m_HasCompass, m_HasGPS, m_Hud, m_IsOpenning, m_LegendResizer, m_MapMenuHandler, m_MapNavigationBehaviour, m_MapToolsContainer, m_MapWidgetInstance, m_ToolbarPanel, m_ToolScaleCellSizeCanvasWidth, m_ToolsCompassArrow, m_ToolsCompassAzimuth, m_ToolsCompassBase, m_ToolsContainerPos0, m_ToolsGPSElevationText, m_ToolsGPSXText, m_ToolsGPSYText, m_ToolsScaleCellSizeCanvas, m_ToolsScaleCellSizeText, m_ToolsScaleContourText, and m_UpperLegendContainer
override void InitMapItem(EntityAI item)

override the CfgGameplayHandler.GetMapIgnoreNavItemsOwnership()

override bool OnClick(Widget w, int x, int y, int button)
override bool OnKeyPress(Widget w, int x, int y, int key)
protected void OnInputPresetChanged()
protected void OnInputDeviceChanged(EInputDeviceType pInputDeviceType)
void AddMarker(vector pos, int color, int icon = 0)
void RemoveMarker()
References m_WasChanged
protected void SetCompassUIVisibility(bool pState)
Referenced by Init()
protected void SetGPSMarkerVisibility(bool pState)
References Widget.Show(), and m_GPSMarker
Referenced by Init()
protected void SetGPSDirectionVisibility(bool pState)
Referenced by Init()
protected void SetUpperLegendVisibility(bool pState)
Referenced by Init()
protected void ProcessDistanceAndUnits(float num, out float dist, out string units)

last segment

Referenced by Update()
protected void UpdateControlsElementVisibility()
Referenced by OnInputDeviceChanged(), and OnShow()
protected void ShiftMapToolsContainer()