|
@@ -4,21 +4,21 @@ using FairyGUI;
|
|
|
|
|
|
namespace UI.RoleInfo
|
|
|
{
|
|
|
- public partial class UI_ListPhotoItem1
|
|
|
+ public partial class UI_ListPhotoItemDetail
|
|
|
{
|
|
|
public GComponent target;
|
|
|
- public UI_ComIcon m_comIcon;
|
|
|
+ public Controller m_c1;
|
|
|
+ public UI_ComIconMask m_comIcon;
|
|
|
public GTextField m_txtTime;
|
|
|
- public GImage m_imgOtherSelect;
|
|
|
- public GImage m_imgSelect;
|
|
|
- public const string URL = "ui://374k3dwvr9ri1v";
|
|
|
+ public GImage m_imgSelectMask;
|
|
|
+ public const string URL = "ui://374k3dwvhiis9g02";
|
|
|
public const string PACKAGE_NAME = "RoleInfo";
|
|
|
- public const string RES_NAME = "ListPhotoItem1";
|
|
|
- private static UI_ListPhotoItem1 _proxy;
|
|
|
+ public const string RES_NAME = "ListPhotoItemDetail";
|
|
|
+ private static UI_ListPhotoItemDetail _proxy;
|
|
|
|
|
|
- public static UI_ListPhotoItem1 Create(GObject gObject = null)
|
|
|
+ public static UI_ListPhotoItemDetail Create(GObject gObject = null)
|
|
|
{
|
|
|
- var ui = new UI_ListPhotoItem1();
|
|
|
+ var ui = new UI_ListPhotoItemDetail();
|
|
|
if(gObject == null)
|
|
|
ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
|
else
|
|
@@ -27,11 +27,11 @@ namespace UI.RoleInfo
|
|
|
return ui;
|
|
|
}
|
|
|
|
|
|
- public static UI_ListPhotoItem1 Proxy(GObject gObject = null)
|
|
|
+ public static UI_ListPhotoItemDetail Proxy(GObject gObject = null)
|
|
|
{
|
|
|
if(_proxy == null)
|
|
|
{
|
|
|
- _proxy = new UI_ListPhotoItem1();
|
|
|
+ _proxy = new UI_ListPhotoItemDetail();
|
|
|
}
|
|
|
var ui = _proxy;
|
|
|
if(gObject == null)
|
|
@@ -58,18 +58,18 @@ namespace UI.RoleInfo
|
|
|
|
|
|
private void Init(GComponent comp)
|
|
|
{
|
|
|
- m_comIcon = (UI_ComIcon)UI_ComIcon.Create(comp.GetChild("comIcon"));
|
|
|
+ m_c1 = comp.GetController("c1");
|
|
|
+ m_comIcon = (UI_ComIconMask)UI_ComIconMask.Create(comp.GetChild("comIcon"));
|
|
|
m_txtTime = (GTextField)comp.GetChild("txtTime");
|
|
|
- m_imgOtherSelect = (GImage)comp.GetChild("imgOtherSelect");
|
|
|
- m_imgSelect = (GImage)comp.GetChild("imgSelect");
|
|
|
+ m_imgSelectMask = (GImage)comp.GetChild("imgSelectMask");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
|
+ m_c1 = null;
|
|
|
m_comIcon.Dispose();
|
|
|
m_comIcon = null;
|
|
|
m_txtTime = null;
|
|
|
- m_imgOtherSelect = null;
|
|
|
- m_imgSelect = null;
|
|
|
+ m_imgSelectMask = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|