📄 chateditimageobject.cs
字号:
namespace Imps.Client.Pc.BizControls
{
using Imps.Client.Core.CustomEmotion;
using Imps.Utils;
using System;
public class ChatEditImageObject : ChatEditOleObject
{
private Imps.Client.Core.CustomEmotion.CustomEmotion _customEmotion;
private int _elapsedTime;
private AmigoImage _image;
public ChatEditImageObject(int index, AmigoImage image) : this(null, index, string.Empty, image)
{
}
public ChatEditImageObject(OleKey key, int index, string text, AmigoImage image) : base(key, index, text)
{
if (image.CycleCount <= 0)
{
this._image = image;
}
else
{
this._image = image.Clone();
}
}
public Imps.Client.Core.CustomEmotion.CustomEmotion CustomEmotion
{
get
{
return this._customEmotion;
}
set
{
this._customEmotion = value;
}
}
public int ElapsedTime
{
get
{
return this._elapsedTime;
}
set
{
this._elapsedTime = value;
}
}
internal AmigoImage ObjectImage
{
get
{
return this._image;
}
set
{
this._image = value;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -