1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
ZO_GamepadPlayerProgressBarHideNameLocationFragment = ZO_SceneFragment : Subclass ( )
function ZO_GamepadPlayerProgressBarHideNameLocationFragment : New ( ... )
local fragment = ZO_SceneFragment . New ( self )
return fragment
end
function ZO_GamepadPlayerProgressBarHideNameLocationFragment : Show ( )
end
function ZO_GamepadPlayerProgressBarHideNameLocationFragment : Hide ( )
GAMEPAD_PLAYER_PROGRESS_BAR_NAME_LOCATION : Refresh ( )
end
end
ZO_GamepadPlayerProgressBarNameLocation = ZO_Object : Subclass ( )
function ZO_GamepadPlayerProgressBarNameLocation : New ( ... )
local object = ZO_Object . New ( self )
return object
end
end
function ZO_GamepadPlayerProgressBarNameLocation : Refresh ( )
if ( zoneName == "" ) then
zoneName = GetString ( SI_GAMEPAD_PLAYER_PROGERSS_BAR_UNKNOWN_ZONE )
else
zoneName = zo_strformat ( SI_WINDOW_TITLE_WORLD_MAP , zoneName )
end
end
GAMEPAD_PLAYER_PROGRESS_BAR_NAME_LOCATION = ZO_GamepadPlayerProgressBarNameLocation : New ( control )
end
local anchor = ZO_Anchor : New ( BOTTOMRIGHT , progressBar . championIcon , BOTTOMLEFT , 8 , 0 )
local fragment = ZO_AnchorSceneFragment : New ( control , anchor )
return fragment
end
|